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

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

Issue 2290753003: Allow lexically declared "arguments" in function scope in sloppy mode. (Closed)
Patch Set: clang format 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
OLDNEW
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 pool type: string 6 pool type: string
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 return eval('1;'); 12 return eval('1;');
13 " 13 "
14 frame size: 10 14 frame size: 10
15 parameter count: 1 15 parameter count: 1
16 bytecode array length: 66 16 bytecode array length: 66
17 bytecodes: [ 17 bytecodes: [
18 B(CreateFunctionContext), U8(3), 18 B(CreateFunctionContext), U8(3),
19 B(PushContext), R(0), 19 B(PushContext), R(0),
20 B(Ldar), R(this), 20 B(Ldar), R(this),
21 B(StaContextSlot), R(context), U8(4), 21 B(StaContextSlot), R(context), U8(4),
22 B(CreateMappedArguments), 22 B(CreateMappedArguments),
23 B(StaContextSlot), R(context), U8(6),
24 B(Ldar), R(new_target),
23 B(StaContextSlot), R(context), U8(5), 25 B(StaContextSlot), R(context), U8(5),
24 B(Ldar), R(new_target),
25 B(StaContextSlot), R(context), U8(6),
26 /* 30 E> */ B(StackCheck), 26 /* 30 E> */ B(StackCheck),
27 /* 34 S> */ B(LdaConstant), U8(0), 27 /* 34 S> */ B(LdaConstant), U8(0),
28 B(Star), R(3), 28 B(Star), R(3),
29 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3 ), U8(1), R(1), 29 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3 ), U8(1), R(1),
30 B(LdaConstant), U8(1), 30 B(LdaConstant), U8(1),
31 B(Star), R(3), 31 B(Star), R(3),
32 B(LdaZero), 32 B(LdaZero),
33 B(Star), R(7), 33 B(Star), R(7),
34 B(LdaSmi), U8(30), 34 B(LdaSmi), U8(30),
35 B(Star), R(8), 35 B(Star), R(8),
36 B(LdaSmi), U8(41), 36 B(LdaSmi), U8(41),
37 B(Star), R(9), 37 B(Star), R(9),
38 B(Mov), R(1), R(4), 38 B(Mov), R(1), R(4),
39 B(Mov), R(3), R(5), 39 B(Mov), R(3), R(5),
40 B(Mov), R(closure), R(6), 40 B(Mov), R(closure), R(6),
41 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6), 41 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6),
42 B(Star), R(1), 42 B(Star), R(1),
43 /* 41 E> */ B(Call), R(1), R(2), U8(2), U8(0), 43 /* 41 E> */ B(Call), R(1), R(2), U8(2), U8(0),
44 /* 53 S> */ B(Return), 44 /* 53 S> */ B(Return),
45 ] 45 ]
46 constant pool: [ 46 constant pool: [
47 "eval", 47 "eval",
48 "1;", 48 "1;",
49 ] 49 ]
50 handlers: [ 50 handlers: [
51 ] 51 ]
52 52
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698