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

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

Issue 2038323002: [interpreter] Filter expression positions at source. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@oth-0060-source-position-testing
Patch Set: Rebase Created 4 years, 6 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: no 8 wrap: no
9 test function name: f 9 test function name: f
10 10
(...skipping 17 matching lines...) Expand all
28 handlers: [ 28 handlers: [
29 ] 29 ]
30 30
31 --- 31 ---
32 snippet: " 32 snippet: "
33 function f() { return arguments[0]; } 33 function f() { return arguments[0]; }
34 f(); 34 f();
35 " 35 "
36 frame size: 1 36 frame size: 1
37 parameter count: 1 37 parameter count: 1
38 bytecode array length: 10 38 bytecode array length: 9
39 bytecodes: [ 39 bytecodes: [
40 B(CreateMappedArguments), 40 B(CreateMappedArguments),
41 B(Star), R(0), 41 B(Star), R(0),
42 /* 10 E> */ B(StackCheck), 42 /* 10 E> */ B(StackCheck),
43 /* 15 S> */ B(Nop), 43 /* 15 S> */ B(LdaZero),
44 /* 31 E> */ B(LdaZero), 44 /* 31 E> */ B(LdaKeyedProperty), R(0), U8(1),
45 B(LdaKeyedProperty), R(0), U8(1),
46 /* 36 S> */ B(Return), 45 /* 36 S> */ B(Return),
47 ] 46 ]
48 constant pool: [ 47 constant pool: [
49 ] 48 ]
50 handlers: [ 49 handlers: [
51 ] 50 ]
52 51
53 --- 52 ---
54 snippet: " 53 snippet: "
55 function f() { 'use strict'; return arguments; } 54 function f() { 'use strict'; return arguments; }
(...skipping 14 matching lines...) Expand all
70 handlers: [ 69 handlers: [
71 ] 70 ]
72 71
73 --- 72 ---
74 snippet: " 73 snippet: "
75 function f(a) { return arguments[0]; } 74 function f(a) { return arguments[0]; }
76 f(); 75 f();
77 " 76 "
78 frame size: 2 77 frame size: 2
79 parameter count: 2 78 parameter count: 2
80 bytecode array length: 22 79 bytecode array length: 21
81 bytecodes: [ 80 bytecodes: [
82 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 81 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
83 B(PushContext), R(1), 82 B(PushContext), R(1),
84 B(Ldar), R(arg0), 83 B(Ldar), R(arg0),
85 B(StaContextSlot), R(context), U8(4), 84 B(StaContextSlot), R(context), U8(4),
86 B(CreateMappedArguments), 85 B(CreateMappedArguments),
87 B(Star), R(0), 86 B(Star), R(0),
88 /* 10 E> */ B(StackCheck), 87 /* 10 E> */ B(StackCheck),
89 /* 16 S> */ B(Nop), 88 /* 16 S> */ B(LdaZero),
90 /* 32 E> */ B(LdaZero), 89 /* 32 E> */ B(LdaKeyedProperty), R(0), U8(1),
91 B(LdaKeyedProperty), R(0), U8(1),
92 /* 37 S> */ B(Return), 90 /* 37 S> */ B(Return),
93 ] 91 ]
94 constant pool: [ 92 constant pool: [
95 ] 93 ]
96 handlers: [ 94 handlers: [
97 ] 95 ]
98 96
99 --- 97 ---
100 snippet: " 98 snippet: "
101 function f(a, b, c) { return arguments; } 99 function f(a, b, c) { return arguments; }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 B(Star), R(0), 135 B(Star), R(0),
138 /* 10 E> */ B(StackCheck), 136 /* 10 E> */ B(StackCheck),
139 /* 36 S> */ B(Nop), 137 /* 36 S> */ B(Nop),
140 /* 54 S> */ B(Return), 138 /* 54 S> */ B(Return),
141 ] 139 ]
142 constant pool: [ 140 constant pool: [
143 ] 141 ]
144 handlers: [ 142 handlers: [
145 ] 143 ]
146 144
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698