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

Unified Diff: test/mjsunit/debug-compile-optimized.js

Issue 388233002: Version 3.27.34.6 (merged r22029) (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.27
Patch Set: update test expectations Created 6 years, 5 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
« no previous file with comments | « test/cctest/cctest.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-compile-optimized.js
diff --git a/test/mjsunit/regress/regress-no-dummy-use-for-arguments-object.js b/test/mjsunit/debug-compile-optimized.js
similarity index 54%
copy from test/mjsunit/regress/regress-no-dummy-use-for-arguments-object.js
copy to test/mjsunit/debug-compile-optimized.js
index 658d776ea3b80cd00d256a5514603bdb3df1f179..468605abaab079d4b19250b90fed7048bec205aa 100644
--- a/test/mjsunit/regress/regress-no-dummy-use-for-arguments-object.js
+++ b/test/mjsunit/debug-compile-optimized.js
@@ -2,20 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --allow-natives-syntax
+// Flags: --expose-debug-as debug --allow-natives-syntax --crankshaft
-function g() {
- arguments.length;
-}
+Debug = debug.Debug;
-var global = "";
-
-function f() {
- global.dummy = this;
- g({});
-}
+Debug.setListener(function() {});
+function f() {}
f();
f();
%OptimizeFunctionOnNextCall(f);
f();
+assertOptimized(f);
+
+Debug.setListener(null);
« no previous file with comments | « test/cctest/cctest.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698