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

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

Issue 2302013002: Store the scope info in catch contexts (Closed)
Patch Set: updates 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 c71e3ef034e1ee62dd6e5f0e474088e5af68f5c7..4faa2cce48d7032eae802e4939b5c6d0d37ca4e4 100644
--- a/test/cctest/interpreter/test-bytecode-generator.cc
+++ b/test/cctest/interpreter/test-bytecode-generator.cc
@@ -1250,7 +1250,7 @@ TEST(TopLevelObjectLiterals) {
TEST(TryCatch) {
InitializedIgnitionHandleScope scope;
BytecodeExpectationsPrinter printer(CcTest::isolate(),
- ConstantPoolType::kString);
+ ConstantPoolType::kMixed);
const char* snippets[] = {
"try { return 1; } catch(e) { return 2; }\n",
@@ -1267,7 +1267,7 @@ TEST(TryCatch) {
TEST(TryFinally) {
InitializedIgnitionHandleScope scope;
BytecodeExpectationsPrinter printer(CcTest::isolate(),
- ConstantPoolType::kString);
+ ConstantPoolType::kMixed);
const char* snippets[] = {
"var a = 1;\n"
"try { a = 2; } finally { a = 3; }\n",

Powered by Google App Engine
This is Rietveld 408576698