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

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

Issue 2411873004: [ignition] Eliminate hole checks where statically possible for loads and stores (Closed)
Patch Set: Rebased Created 4 years, 2 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 wrap: yes 6 wrap: yes
7 7
8 --- 8 ---
9 snippet: " 9 snippet: "
10 let x = 10; 10 let x = 10;
(...skipping 12 matching lines...) Expand all
23 ] 23 ]
24 constant pool: [ 24 constant pool: [
25 ] 25 ]
26 handlers: [ 26 handlers: [
27 ] 27 ]
28 28
29 --- 29 ---
30 snippet: " 30 snippet: "
31 let x = 10; return x; 31 let x = 10; return x;
32 " 32 "
33 frame size: 2 33 frame size: 1
34 parameter count: 1 34 parameter count: 1
35 bytecode array length: 20 35 bytecode array length: 10
36 bytecodes: [ 36 bytecodes: [
37 B(LdaTheHole), 37 B(LdaTheHole),
38 B(Star), R(0), 38 B(Star), R(0),
39 /* 30 E> */ B(StackCheck), 39 /* 30 E> */ B(StackCheck),
40 /* 42 S> */ B(LdaSmi), U8(10), 40 /* 42 S> */ B(LdaSmi), U8(10),
41 B(Star), R(0), 41 B(Star), R(0),
42 /* 46 S> */ B(JumpIfNotHole), U8(11), 42 /* 46 S> */ B(Nop),
43 B(LdaConstant), U8(0),
44 B(Star), R(1),
45 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1),
46 /* 56 S> */ B(Return), 43 /* 56 S> */ B(Return),
47 ] 44 ]
48 constant pool: [ 45 constant pool: [
49 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
50 ] 46 ]
51 handlers: [ 47 handlers: [
52 ] 48 ]
53 49
54 --- 50 ---
55 snippet: " 51 snippet: "
56 let x = (x = 20); 52 let x = (x = 20);
57 " 53 "
58 frame size: 3 54 frame size: 3
59 parameter count: 1 55 parameter count: 1
(...skipping 17 matching lines...) Expand all
77 constant pool: [ 73 constant pool: [
78 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 74 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
79 ] 75 ]
80 handlers: [ 76 handlers: [
81 ] 77 ]
82 78
83 --- 79 ---
84 snippet: " 80 snippet: "
85 let x = 10; x = 20; 81 let x = 10; x = 20;
86 " 82 "
87 frame size: 3 83 frame size: 1
88 parameter count: 1 84 parameter count: 1
89 bytecode array length: 30 85 bytecode array length: 14
90 bytecodes: [ 86 bytecodes: [
91 B(LdaTheHole), 87 B(LdaTheHole),
92 B(Star), R(0), 88 B(Star), R(0),
93 /* 30 E> */ B(StackCheck), 89 /* 30 E> */ B(StackCheck),
94 /* 42 S> */ B(LdaSmi), U8(10), 90 /* 42 S> */ B(LdaSmi), U8(10),
95 B(Star), R(0), 91 B(Star), R(0),
96 /* 46 S> */ B(LdaSmi), U8(20), 92 /* 46 S> */ B(LdaSmi), U8(20),
97 B(Star), R(1), 93 B(Star), R(0),
98 B(Ldar), R(0),
99 B(JumpIfNotHole), U8(11),
100 B(LdaConstant), U8(0),
101 B(Star), R(2),
102 /* 48 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1),
103 B(Mov), R(1), R(0),
104 B(LdaUndefined), 94 B(LdaUndefined),
105 /* 54 S> */ B(Return), 95 /* 54 S> */ B(Return),
106 ] 96 ]
107 constant pool: [ 97 constant pool: [
108 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
109 ] 98 ]
110 handlers: [ 99 handlers: [
111 ] 100 ]
112 101
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698