Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: test/mjsunit/regress/regress-1229.js

Issue 9546051: Fix compile with debuggersupport=off. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« Makefile ('K') | « src/runtime.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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]);
« Makefile ('K') | « src/runtime.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698