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

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

Issue 2347143002: [interpreter] Add fast path for dynamic global lookups (Closed)
Patch Set: Fix bytecode operand documentation Created 4 years, 3 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
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 c32b7e1906f1332166eabc007eadf6c82b923b10..75b2d948fb3e6c9b31a98f4c1d00f17f2064a14a 100644
--- a/test/cctest/interpreter/test-bytecode-generator.cc
+++ b/test/cctest/interpreter/test-bytecode-generator.cc
@@ -1814,6 +1814,13 @@ TEST(LookupSlot) {
" eval('var x = 10');\n"
" return x;\n"
"}\n"
+ "f();\n",
+
+ "x = 20;\n"
+ "f = function(){\n"
+ " eval('var x = 10');\n"
+ " return x;\n"
+ "}\n"
"f();\n"
};
// clang-format on
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/LookupSlotWideInEval.golden ('k') | test/cctest/interpreter/test-interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698