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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/ConstVariable.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: yes 8 wrap: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 const x = 10; 12 const x = 10;
13 " 13 "
14 frame size: 1 14 frame size: 1
15 parameter count: 1 15 parameter count: 1
16 bytecode array length: 10 16 bytecode array length: 10
17 bytecodes: [ 17 bytecodes: [
18 B(LdaTheHole), 18 B(LdaTheHole),
19 B(Star), R(0), 19 B(Star), R(0),
20 /* 30 E> */ B(StackCheck), 20 /* 30 E> */ B(StackCheck),
21 /* 44 S> */ B(LdaSmi), U8(10), 21 /* 44 S> */ B(LdaSmi), U8(10),
22 /* 44 E> */ B(Star), R(0), 22 B(Star), R(0),
23 B(LdaUndefined), 23 B(LdaUndefined),
24 /* 48 S> */ B(Return), 24 /* 48 S> */ B(Return),
25 ] 25 ]
26 constant pool: [ 26 constant pool: [
27 ] 27 ]
28 handlers: [ 28 handlers: [
29 ] 29 ]
30 30
31 --- 31 ---
32 snippet: " 32 snippet: "
(...skipping 25 matching lines...) Expand all
58 const x = ( x = 20); 58 const x = ( x = 20);
59 " 59 "
60 frame size: 3 60 frame size: 3
61 parameter count: 1 61 parameter count: 1
62 bytecode array length: 33 62 bytecode array length: 33
63 bytecodes: [ 63 bytecodes: [
64 B(LdaTheHole), 64 B(LdaTheHole),
65 B(Star), R(0), 65 B(Star), R(0),
66 /* 30 E> */ B(StackCheck), 66 /* 30 E> */ B(StackCheck),
67 /* 48 S> */ B(LdaSmi), U8(20), 67 /* 48 S> */ B(LdaSmi), U8(20),
68 /* 48 E> */ B(Star), R(1), 68 B(Star), R(1),
69 B(Ldar), R(0), 69 B(Ldar), R(0),
70 B(JumpIfNotHole), U8(11), 70 B(JumpIfNotHole), U8(11),
71 B(LdaConstant), U8(0), 71 B(LdaConstant), U8(0),
72 B(Star), R(2), 72 B(Star), R(2),
73 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), 73 /* 48 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1),
74 B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0 ), 74 B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0 ),
75 B(Mov), R(1), R(0), 75 B(Mov), R(1), R(0),
76 B(Ldar), R(0), 76 B(Ldar), R(0),
77 B(LdaUndefined), 77 B(LdaUndefined),
78 /* 55 S> */ B(Return), 78 /* 55 S> */ B(Return),
79 ] 79 ]
80 constant pool: [ 80 constant pool: [
81 "x", 81 "x",
82 ] 82 ]
83 handlers: [ 83 handlers: [
84 ] 84 ]
85 85
86 --- 86 ---
87 snippet: " 87 snippet: "
88 const x = 10; x = 20; 88 const x = 10; x = 20;
89 " 89 "
90 frame size: 3 90 frame size: 3
91 parameter count: 1 91 parameter count: 1
92 bytecode array length: 35 92 bytecode array length: 35
93 bytecodes: [ 93 bytecodes: [
94 B(LdaTheHole), 94 B(LdaTheHole),
95 B(Star), R(0), 95 B(Star), R(0),
96 /* 30 E> */ B(StackCheck), 96 /* 30 E> */ B(StackCheck),
97 /* 44 S> */ B(LdaSmi), U8(10), 97 /* 44 S> */ B(LdaSmi), U8(10),
98 B(Star), R(0), 98 B(Star), R(0),
99 /* 48 S> */ B(LdaSmi), U8(20), 99 /* 48 S> */ B(LdaSmi), U8(20),
100 /* 50 E> */ B(Star), R(1), 100 B(Star), R(1),
101 B(Ldar), R(0), 101 B(Ldar), R(0),
102 B(JumpIfNotHole), U8(11), 102 B(JumpIfNotHole), U8(11),
103 B(LdaConstant), U8(0), 103 B(LdaConstant), U8(0),
104 B(Star), R(2), 104 B(Star), R(2),
105 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), 105 /* 50 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1),
106 B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0 ), 106 B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0 ),
107 B(Mov), R(1), R(0), 107 B(Mov), R(1), R(0),
108 B(LdaUndefined), 108 B(LdaUndefined),
109 /* 56 S> */ B(Return), 109 /* 56 S> */ B(Return),
110 ] 110 ]
111 constant pool: [ 111 constant pool: [
112 "x", 112 "x",
113 ] 113 ]
114 handlers: [ 114 handlers: [
115 ] 115 ]
116 116
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698