Index: test/mjsunit/regress/regress-1229.js |
diff --git a/test/mjsunit/regress/regress-1229.js b/test/mjsunit/regress/regress-1229.js |
index a52e92a58e616367a32c58cbdf66d8cdd046666f..3a85053a2b9ccaa859f8ca583c5f4b6b44db73ea 100644 |
--- a/test/mjsunit/regress/regress-1229.js |
+++ b/test/mjsunit/regress/regress-1229.js |
@@ -143,22 +143,4 @@ function bar1(x, y, z) { |
assertSame(construct, CONSTRUCT_MARKER); |
} |
-function baz2(x) { |
- return (!%IsConstructCall()) ? NON_CONSTRUCT_MARKER : CONSTRUCT_MARKER; |
-} |
- |
-function bar2(x, y, z) { |
- var non_construct = baz2(0); /* baz should be inlined */ |
- assertSame(non_construct, NON_CONSTRUCT_MARKER); |
- var non_construct = baz2(); /* baz should be inlined */ |
- assertSame(non_construct, NON_CONSTRUCT_MARKER); |
- var non_construct = baz2(0, 0); /* baz should be inlined */ |
- assertSame(non_construct, NON_CONSTRUCT_MARKER); |
- var construct = new baz2(0); |
- assertSame(construct, CONSTRUCT_MARKER); |
- var construct = new baz2(0, 0); |
- assertSame(construct, CONSTRUCT_MARKER); |
-} |
- |
invoke(bar1, [1, 2, 3]); |
-invoke(bar2, [1, 2, 3]); |