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

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

Issue 2336643002: [Interpreter] Move context chain search loop to handler (Closed)
Patch Set: Fix documentation nits 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 execute: yes 6 execute: yes
7 wrap: no 7 wrap: no
8 test function name: f 8 test function name: f
9 9
10 --- 10 ---
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 handlers: [ 68 handlers: [
69 ] 69 ]
70 70
71 --- 71 ---
72 snippet: " 72 snippet: "
73 function f(a) { return arguments[0]; } 73 function f(a) { return arguments[0]; }
74 f(); 74 f();
75 " 75 "
76 frame size: 2 76 frame size: 2
77 parameter count: 2 77 parameter count: 2
78 bytecode array length: 18 78 bytecode array length: 19
79 bytecodes: [ 79 bytecodes: [
80 B(CreateFunctionContext), U8(1), 80 B(CreateFunctionContext), U8(1),
81 B(PushContext), R(1), 81 B(PushContext), R(1),
82 B(Ldar), R(arg0), 82 B(Ldar), R(arg0),
83 B(StaContextSlot), R(context), U8(4), 83 B(StaContextSlot), R(context), U8(4), U8(0),
84 B(CreateMappedArguments), 84 B(CreateMappedArguments),
85 B(Star), R(0), 85 B(Star), R(0),
86 /* 10 E> */ B(StackCheck), 86 /* 10 E> */ B(StackCheck),
87 /* 16 S> */ B(LdaZero), 87 /* 16 S> */ B(LdaZero),
88 /* 32 E> */ B(LdaKeyedProperty), R(0), U8(1), 88 /* 32 E> */ B(LdaKeyedProperty), R(0), U8(1),
89 /* 37 S> */ B(Return), 89 /* 37 S> */ B(Return),
90 ] 90 ]
91 constant pool: [ 91 constant pool: [
92 ] 92 ]
93 handlers: [ 93 handlers: [
94 ] 94 ]
95 95
96 --- 96 ---
97 snippet: " 97 snippet: "
98 function f(a, b, c) { return arguments; } 98 function f(a, b, c) { return arguments; }
99 f(); 99 f();
100 " 100 "
101 frame size: 2 101 frame size: 2
102 parameter count: 4 102 parameter count: 4
103 bytecode array length: 25 103 bytecode array length: 28
104 bytecodes: [ 104 bytecodes: [
105 B(CreateFunctionContext), U8(3), 105 B(CreateFunctionContext), U8(3),
106 B(PushContext), R(1), 106 B(PushContext), R(1),
107 B(Ldar), R(arg0), 107 B(Ldar), R(arg0),
108 B(StaContextSlot), R(context), U8(6), 108 B(StaContextSlot), R(context), U8(6), U8(0),
109 B(Ldar), R(arg1), 109 B(Ldar), R(arg1),
110 B(StaContextSlot), R(context), U8(5), 110 B(StaContextSlot), R(context), U8(5), U8(0),
111 B(Ldar), R(arg2), 111 B(Ldar), R(arg2),
112 B(StaContextSlot), R(context), U8(4), 112 B(StaContextSlot), R(context), U8(4), U8(0),
113 B(CreateMappedArguments), 113 B(CreateMappedArguments),
114 B(Star), R(0), 114 B(Star), R(0),
115 /* 10 E> */ B(StackCheck), 115 /* 10 E> */ B(StackCheck),
116 /* 22 S> */ B(Nop), 116 /* 22 S> */ B(Nop),
117 /* 40 S> */ B(Return), 117 /* 40 S> */ B(Return),
118 ] 118 ]
119 constant pool: [ 119 constant pool: [
120 ] 120 ]
121 handlers: [ 121 handlers: [
122 ] 122 ]
(...skipping 11 matching lines...) Expand all
134 B(Star), R(0), 134 B(Star), R(0),
135 /* 10 E> */ B(StackCheck), 135 /* 10 E> */ B(StackCheck),
136 /* 36 S> */ B(Nop), 136 /* 36 S> */ B(Nop),
137 /* 54 S> */ B(Return), 137 /* 54 S> */ B(Return),
138 ] 138 ]
139 constant pool: [ 139 constant pool: [
140 ] 140 ]
141 handlers: [ 141 handlers: [
142 ] 142 ]
143 143
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698