OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 pool type: string | |
7 execute: yes | 6 execute: yes |
8 wrap: yes | 7 wrap: yes |
9 | 8 |
10 --- | 9 --- |
11 snippet: " | 10 snippet: " |
12 let x = 10; | 11 let x = 10; |
13 " | 12 " |
14 frame size: 1 | 13 frame size: 1 |
15 parameter count: 1 | 14 parameter count: 1 |
16 bytecode array length: 10 | 15 bytecode array length: 10 |
(...skipping 24 matching lines...) Expand all Loading... |
41 /* 30 E> */ B(StackCheck), | 40 /* 30 E> */ B(StackCheck), |
42 /* 42 S> */ B(LdaSmi), U8(10), | 41 /* 42 S> */ B(LdaSmi), U8(10), |
43 B(Star), R(0), | 42 B(Star), R(0), |
44 /* 46 S> */ B(JumpIfNotHole), U8(11), | 43 /* 46 S> */ B(JumpIfNotHole), U8(11), |
45 B(LdaConstant), U8(0), | 44 B(LdaConstant), U8(0), |
46 B(Star), R(1), | 45 B(Star), R(1), |
47 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1), | 46 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1), |
48 /* 56 S> */ B(Return), | 47 /* 56 S> */ B(Return), |
49 ] | 48 ] |
50 constant pool: [ | 49 constant pool: [ |
51 "x", | 50 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
52 ] | 51 ] |
53 handlers: [ | 52 handlers: [ |
54 ] | 53 ] |
55 | 54 |
56 --- | 55 --- |
57 snippet: " | 56 snippet: " |
58 let x = (x = 20); | 57 let x = (x = 20); |
59 " | 58 " |
60 frame size: 3 | 59 frame size: 3 |
61 parameter count: 1 | 60 parameter count: 1 |
62 bytecode array length: 26 | 61 bytecode array length: 26 |
63 bytecodes: [ | 62 bytecodes: [ |
64 B(LdaTheHole), | 63 B(LdaTheHole), |
65 B(Star), R(0), | 64 B(Star), R(0), |
66 /* 30 E> */ B(StackCheck), | 65 /* 30 E> */ B(StackCheck), |
67 /* 45 S> */ B(LdaSmi), U8(20), | 66 /* 45 S> */ B(LdaSmi), U8(20), |
68 B(Star), R(1), | 67 B(Star), R(1), |
69 B(Ldar), R(0), | 68 B(Ldar), R(0), |
70 B(JumpIfNotHole), U8(11), | 69 B(JumpIfNotHole), U8(11), |
71 B(LdaConstant), U8(0), | 70 B(LdaConstant), U8(0), |
72 B(Star), R(2), | 71 B(Star), R(2), |
73 /* 45 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), | 72 /* 45 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |
74 B(Mov), R(1), R(0), | 73 B(Mov), R(1), R(0), |
75 B(LdaUndefined), | 74 B(LdaUndefined), |
76 /* 52 S> */ B(Return), | 75 /* 52 S> */ B(Return), |
77 ] | 76 ] |
78 constant pool: [ | 77 constant pool: [ |
79 "x", | 78 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
80 ] | 79 ] |
81 handlers: [ | 80 handlers: [ |
82 ] | 81 ] |
83 | 82 |
84 --- | 83 --- |
85 snippet: " | 84 snippet: " |
86 let x = 10; x = 20; | 85 let x = 10; x = 20; |
87 " | 86 " |
88 frame size: 3 | 87 frame size: 3 |
89 parameter count: 1 | 88 parameter count: 1 |
90 bytecode array length: 30 | 89 bytecode array length: 30 |
91 bytecodes: [ | 90 bytecodes: [ |
92 B(LdaTheHole), | 91 B(LdaTheHole), |
93 B(Star), R(0), | 92 B(Star), R(0), |
94 /* 30 E> */ B(StackCheck), | 93 /* 30 E> */ B(StackCheck), |
95 /* 42 S> */ B(LdaSmi), U8(10), | 94 /* 42 S> */ B(LdaSmi), U8(10), |
96 B(Star), R(0), | 95 B(Star), R(0), |
97 /* 46 S> */ B(LdaSmi), U8(20), | 96 /* 46 S> */ B(LdaSmi), U8(20), |
98 B(Star), R(1), | 97 B(Star), R(1), |
99 B(Ldar), R(0), | 98 B(Ldar), R(0), |
100 B(JumpIfNotHole), U8(11), | 99 B(JumpIfNotHole), U8(11), |
101 B(LdaConstant), U8(0), | 100 B(LdaConstant), U8(0), |
102 B(Star), R(2), | 101 B(Star), R(2), |
103 /* 48 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), | 102 /* 48 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |
104 B(Mov), R(1), R(0), | 103 B(Mov), R(1), R(0), |
105 B(LdaUndefined), | 104 B(LdaUndefined), |
106 /* 54 S> */ B(Return), | 105 /* 54 S> */ B(Return), |
107 ] | 106 ] |
108 constant pool: [ | 107 constant pool: [ |
109 "x", | 108 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
110 ] | 109 ] |
111 handlers: [ | 110 handlers: [ |
112 ] | 111 ] |
113 | 112 |
OLD | NEW |