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

Unified Diff: test/cctest/interpreter/bytecode_expectations/WithStatement.golden

Issue 2255793002: [interpreter] Add CreateWithContext bytecode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add to AllBytecodesGenerated 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 | « src/interpreter/interpreter.cc ('k') | test/unittests/interpreter/bytecode-array-builder-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/interpreter/bytecode_expectations/WithStatement.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/WithStatement.golden b/test/cctest/interpreter/bytecode_expectations/WithStatement.golden
index 6bd2f13db98c1393f1b7af094bff414da44b6e59..b5a0df5da2ee61da860bb19a3408d92d0e484589 100644
--- a/test/cctest/interpreter/bytecode_expectations/WithStatement.golden
+++ b/test/cctest/interpreter/bytecode_expectations/WithStatement.golden
@@ -11,16 +11,16 @@ wrap: yes
snippet: "
with ({x:42}) { return x; }
"
-frame size: 4
+frame size: 3
parameter count: 1
-bytecode array length: 25
+bytecode array length: 21
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1),
B(Ldar), R(1),
B(ToObject), R(2),
- B(Mov), R(closure), R(3),
- B(CallRuntime), U16(Runtime::kPushWithContext), R(2), U8(2),
+ B(Ldar), R(closure),
+ B(CreateWithContext), R(2),
B(PushContext), R(0),
/* 50 S> */ B(LdaLookupSlot), U8(1),
B(PopContext), R(0),
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | test/unittests/interpreter/bytecode-array-builder-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698