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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/WithStatement.golden

Issue 2314483002: Store the ScopeInfo in WithContexts (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 unified diff | Download patch
« no previous file with comments | « src/runtime/runtime-scopes.cc ('k') | test/unittests/compiler/js-create-lowering-unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 pool type: mixed 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 with ({x:42}) { return x; } 12 with ({x:42}) { return x; }
13 " 13 "
14 frame size: 3 14 frame size: 3
15 parameter count: 1 15 parameter count: 1
16 bytecode array length: 21 16 bytecode array length: 22
17 bytecodes: [ 17 bytecodes: [
18 /* 30 E> */ B(StackCheck), 18 /* 30 E> */ B(StackCheck),
19 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), 19 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1),
20 B(Ldar), R(1), 20 B(Ldar), R(1),
21 B(ToObject), R(2), 21 B(ToObject), R(2),
22 B(Ldar), R(closure), 22 B(Ldar), R(closure),
23 B(CreateWithContext), R(2), 23 B(CreateWithContext), R(2), U8(1),
24 B(PushContext), R(0), 24 B(PushContext), R(0),
25 /* 50 S> */ B(LdaLookupSlot), U8(1), 25 /* 50 S> */ B(LdaLookupSlot), U8(2),
26 B(PopContext), R(0), 26 B(PopContext), R(0),
27 /* 62 S> */ B(Return), 27 /* 62 S> */ B(Return),
28 ] 28 ]
29 constant pool: [ 29 constant pool: [
30 InstanceType::FIXED_ARRAY_TYPE, 30 InstanceType::FIXED_ARRAY_TYPE,
31 InstanceType::FIXED_ARRAY_TYPE,
31 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 32 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
32 ] 33 ]
33 handlers: [ 34 handlers: [
34 ] 35 ]
35 36
OLDNEW
« no previous file with comments | « src/runtime/runtime-scopes.cc ('k') | test/unittests/compiler/js-create-lowering-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698