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

Unified Diff: test/cctest/test-decls.cc

Issue 429583002: Revert "Make --always-opt also optimize toplevel code." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/test-debug.cc ('k') | test/cctest/test-heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-decls.cc
diff --git a/test/cctest/test-decls.cc b/test/cctest/test-decls.cc
index c900fac25606fc8e8e80ee383af41cb8dbec98f3..7a826c2476c599a8a8b2b504b7430c76d955d141 100644
--- a/test/cctest/test-decls.cc
+++ b/test/cctest/test-decls.cc
@@ -652,17 +652,6 @@ TEST(CrossScriptReferencesHarmony) {
v8::Isolate* isolate = CcTest::isolate();
HandleScope scope(isolate);
- // TODO(rossberg): Reparsing of top-level code does not work in the presence
- // of harmony scoping and multiple scripts. This can already be reproduced
- // without --always-opt by relying on OSR alone.
- //
- // ./d8 --harmony-scoping
- // -e "'use strict'; let a = 1;"
- // -e "'use strict'; let b = 2; for (var i = 0; i < 100000; ++i) b++;"
- //
- // For now we just disable --always-opt for this test.
- i::FLAG_always_opt = false;
-
const char* decs[] = {
"var x = 1; x", "x", "this.x",
"function x() { return 1 }; x()", "x()", "this.x()",
« no previous file with comments | « test/cctest/test-debug.cc ('k') | test/cctest/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698