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