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

Unified Diff: test/cctest/interpreter/test-bytecode-generator.cc

Issue 2007453002: [Interpreter] Make lazy compilation the default. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Disable tests failing with --turbo-from-bytecode Created 4 years, 7 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/interpreter/bytecode_expectations/Generators.golden ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/interpreter/test-bytecode-generator.cc
diff --git a/test/cctest/interpreter/test-bytecode-generator.cc b/test/cctest/interpreter/test-bytecode-generator.cc
index 3d0fe6f2a69fbc5bb65af60adafdeea0d3727236..401ea1411ba52ccde08cd33ca18ea16db4df4b2d 100644
--- a/test/cctest/interpreter/test-bytecode-generator.cc
+++ b/test/cctest/interpreter/test-bytecode-generator.cc
@@ -2232,11 +2232,14 @@ TEST(Generators) {
printer.set_test_function_name("f");
const char* snippets[] = {
- "function* f() { }\n",
+ "function* f() { }\n"
+ "f();\n",
- "function* f() { yield 42 }\n",
+ "function* f() { yield 42 }\n"
+ "f();\n",
- "function* f() { for (let x of [42]) yield x }\n",
+ "function* f() { for (let x of [42]) yield x }\n"
+ "f();\n",
};
CHECK(CompareTexts(BuildActual(printer, snippets),
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/Generators.golden ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698