From 92dd04f4f65d0a89c5ecb2ada6814ff36ab8a568 Mon Sep 17 00:00:00 2001 From: Brian Hackett Date: Sun, 17 Nov 2013 15:46:02 -0700 Subject: [PATCH] Bug 930327 - Add test. --- js/src/jit-test/tests/ion/bug930327.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 js/src/jit-test/tests/ion/bug930327.js diff --git a/js/src/jit-test/tests/ion/bug930327.js b/js/src/jit-test/tests/ion/bug930327.js new file mode 100644 index 00000000000..496b6e342ed --- /dev/null +++ b/js/src/jit-test/tests/ion/bug930327.js @@ -0,0 +1,12 @@ +// |jit-test| error: ReferenceError + +function MyObject( value ) { + this.value = value; + value &= value; +} +ForIn_1(new MyObject(true)); +function ForIn_1( object) { + for ( property in object ) { + object[property] == eval(property) + } +}