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

Unified Diff: test/unittests/interpreter/bytecode-array-builder-unittest.cc

Issue 2260473003: [interpreter] Add CreateCatchContext bytecode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: group context bytecodes Created 4 years, 4 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/TryFinally.golden ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/interpreter/bytecode-array-builder-unittest.cc
diff --git a/test/unittests/interpreter/bytecode-array-builder-unittest.cc b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
index 95b54af5c8a574c706f71583933b7afdcb66de57..fffc97f54daac2bfb2c67be83df55ad50a7b21eb 100644
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
@@ -102,11 +102,10 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) {
// Emit closure operations.
builder.CreateClosure(0, NOT_TENURED);
- builder.CreateBlockContext(factory->NewScopeInfo(1));
-
// Emit create context operation.
+ builder.CreateBlockContext(factory->NewScopeInfo(1));
+ builder.CreateCatchContext(reg, name);
builder.CreateFunctionContext(1);
-
builder.CreateWithContext(reg);
// Emit literal creation operations.
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/TryFinally.golden ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698