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

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

Issue 1819123002: Remove support for legacy const, part 1 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased, deleted one more file Created 4 years, 9 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
(Empty)
1 #
2 # Autogenerated by generate-bytecode-expectations.
3 #
4
5 ---
6 pool type: string
7 execute: yes
8 wrap: yes
9 legacy const: yes
10
11 ---
12 snippet: "
13 const x = 10;
14 "
15 frame size: 2
16 parameter count: 1
17 bytecode array length: 19
18 bytecodes: [
19 B(LdaTheHole),
20 B(Star), R(0),
21 B(StackCheck),
22 B(LdaSmi), U8(10),
23 B(Star), R(1),
24 B(Ldar), R(0),
25 B(JumpIfNotHole), U8(5),
26 B(Mov), R(1), R(0),
27 B(Ldar), R(1),
28 B(LdaUndefined),
29 B(Return),
30 ]
31 constant pool: [
32 ]
33 handlers: [
34 ]
35
36 ---
37 snippet: "
38 const x = 10; return x;
39 "
40 frame size: 2
41 parameter count: 1
42 bytecode array length: 23
43 bytecodes: [
44 B(LdaTheHole),
45 B(Star), R(0),
46 B(StackCheck),
47 B(LdaSmi), U8(10),
48 B(Star), R(1),
49 B(Ldar), R(0),
50 B(JumpIfNotHole), U8(5),
51 B(Mov), R(1), R(0),
52 B(Ldar), R(1),
53 B(Ldar), R(0),
54 B(JumpIfNotHole), U8(3),
55 B(LdaUndefined),
56 B(Return),
57 ]
58 constant pool: [
59 ]
60 handlers: [
61 ]
62
63 ---
64 snippet: "
65 const x = ( x = 20);
66 "
67 frame size: 2
68 parameter count: 1
69 bytecode array length: 23
70 bytecodes: [
71 B(LdaTheHole),
72 B(Star), R(0),
73 B(StackCheck),
74 B(LdaSmi), U8(20),
75 B(Star), R(1),
76 B(Ldar), R(0),
77 B(Ldar), R(1),
78 B(Ldar), R(0),
79 B(JumpIfNotHole), U8(5),
80 B(Mov), R(1), R(0),
81 B(Ldar), R(1),
82 B(LdaUndefined),
83 B(Return),
84 ]
85 constant pool: [
86 ]
87 handlers: [
88 ]
89
90 ---
91 snippet: "
92 const x = 10; x = 20;
93 "
94 frame size: 2
95 parameter count: 1
96 bytecode array length: 27
97 bytecodes: [
98 B(LdaTheHole),
99 B(Star), R(0),
100 B(StackCheck),
101 B(LdaSmi), U8(10),
102 B(Star), R(1),
103 B(Ldar), R(0),
104 B(JumpIfNotHole), U8(5),
105 B(Mov), R(1), R(0),
106 B(Ldar), R(1),
107 B(LdaSmi), U8(20),
108 B(Star), R(1),
109 B(Ldar), R(0),
110 B(Ldar), R(1),
111 B(LdaUndefined),
112 B(Return),
113 ]
114 constant pool: [
115 ]
116 handlers: [
117 ]
118
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698