OLD | NEW |
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 var a = 1; a += 2; | 10 var a = 1; a += 2; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 ] | 102 ] |
103 handlers: [ | 103 handlers: [ |
104 ] | 104 ] |
105 | 105 |
106 --- | 106 --- |
107 snippet: " | 107 snippet: " |
108 var a = 1; (function f() { return a; }); a |= 24; | 108 var a = 1; (function f() { return a; }); a |= 24; |
109 " | 109 " |
110 frame size: 2 | 110 frame size: 2 |
111 parameter count: 1 | 111 parameter count: 1 |
112 bytecode array length: 24 | 112 bytecode array length: 25 |
113 bytecodes: [ | 113 bytecodes: [ |
114 B(CreateFunctionContext), U8(1), | 114 B(CreateFunctionContext), U8(1), |
115 B(PushContext), R(0), | 115 B(PushContext), R(0), |
116 /* 30 E> */ B(StackCheck), | 116 /* 30 E> */ B(StackCheck), |
117 /* 42 S> */ B(LdaSmi), U8(1), | 117 /* 42 S> */ B(LdaSmi), U8(1), |
118 /* 42 E> */ B(StaCurrentContextSlot), U8(4), | 118 /* 42 E> */ B(StaCurrentContextSlot), U8(4), |
119 /* 45 S> */ B(CreateClosure), U8(0), U8(2), | 119 /* 45 S> */ B(CreateClosure), U8(0), U8(2), U8(2), |
120 /* 75 S> */ B(LdaCurrentContextSlot), U8(4), | 120 /* 75 S> */ B(LdaCurrentContextSlot), U8(4), |
121 B(Star), R(1), | 121 B(Star), R(1), |
122 B(BitwiseOrSmi), U8(24), R(1), U8(2), | 122 B(BitwiseOrSmi), U8(24), R(1), U8(3), |
123 /* 77 E> */ B(StaCurrentContextSlot), U8(4), | 123 /* 77 E> */ B(StaCurrentContextSlot), U8(4), |
124 B(LdaUndefined), | 124 B(LdaUndefined), |
125 /* 84 S> */ B(Return), | 125 /* 84 S> */ B(Return), |
126 ] | 126 ] |
127 constant pool: [ | 127 constant pool: [ |
128 SHARED_FUNCTION_INFO_TYPE, | 128 SHARED_FUNCTION_INFO_TYPE, |
129 ] | 129 ] |
130 handlers: [ | 130 handlers: [ |
131 ] | 131 ] |
132 | 132 |
OLD | NEW |