| 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 test function name: f | 7 test function name: f |
| 8 | 8 |
| 9 --- | 9 --- |
| 10 snippet: " | 10 snippet: " |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 B(StaCurrentContextSlot), U8(5), | 24 B(StaCurrentContextSlot), U8(5), |
| 25 /* 10 E> */ B(StackCheck), | 25 /* 10 E> */ B(StackCheck), |
| 26 /* 14 S> */ B(LdaUndefined), | 26 /* 14 S> */ B(LdaUndefined), |
| 27 B(Star), R(2), | 27 B(Star), R(2), |
| 28 /* 14 E> */ B(LdaLookupGlobalSlot), U8(0), U8(4), U8(1), | 28 /* 14 E> */ B(LdaLookupGlobalSlot), U8(0), U8(4), U8(1), |
| 29 B(Star), R(1), | 29 B(Star), R(1), |
| 30 B(LdaConstant), U8(1), | 30 B(LdaConstant), U8(1), |
| 31 B(Star), R(3), | 31 B(Star), R(3), |
| 32 B(LdaZero), | 32 B(LdaZero), |
| 33 B(Star), R(7), | 33 B(Star), R(7), |
| 34 B(LdaSmi), U8(10), | 34 B(LdaSmi), I8(10), |
| 35 B(Star), R(8), | 35 B(Star), R(8), |
| 36 B(LdaSmi), U8(14), | 36 B(LdaSmi), I8(14), |
| 37 B(Star), R(9), | 37 B(Star), R(9), |
| 38 B(Mov), R(1), R(4), | 38 B(Mov), R(1), R(4), |
| 39 B(Mov), R(3), R(5), | 39 B(Mov), R(3), R(5), |
| 40 B(Mov), R(closure), R(6), | 40 B(Mov), R(closure), R(6), |
| 41 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), | 41 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), |
| 42 B(Star), R(1), | 42 B(Star), R(1), |
| 43 /* 14 E> */ B(Call), R(1), R(2), U8(2), U8(2), | 43 /* 14 E> */ B(Call), R(1), R(2), U8(2), U8(2), |
| 44 /* 35 S> */ B(LdaLookupGlobalSlot), U8(2), U8(6), U8(1), | 44 /* 35 S> */ B(LdaLookupGlobalSlot), U8(2), U8(6), U8(1), |
| 45 /* 45 S> */ B(Return), | 45 /* 45 S> */ B(Return), |
| 46 ] | 46 ] |
| (...skipping 23 matching lines...) Expand all Loading... |
| 70 B(StaCurrentContextSlot), U8(5), | 70 B(StaCurrentContextSlot), U8(5), |
| 71 /* 10 E> */ B(StackCheck), | 71 /* 10 E> */ B(StackCheck), |
| 72 /* 14 S> */ B(LdaUndefined), | 72 /* 14 S> */ B(LdaUndefined), |
| 73 B(Star), R(2), | 73 B(Star), R(2), |
| 74 /* 14 E> */ B(LdaLookupGlobalSlot), U8(0), U8(4), U8(1), | 74 /* 14 E> */ B(LdaLookupGlobalSlot), U8(0), U8(4), U8(1), |
| 75 B(Star), R(1), | 75 B(Star), R(1), |
| 76 B(LdaConstant), U8(1), | 76 B(LdaConstant), U8(1), |
| 77 B(Star), R(3), | 77 B(Star), R(3), |
| 78 B(LdaZero), | 78 B(LdaZero), |
| 79 B(Star), R(7), | 79 B(Star), R(7), |
| 80 B(LdaSmi), U8(10), | 80 B(LdaSmi), I8(10), |
| 81 B(Star), R(8), | 81 B(Star), R(8), |
| 82 B(LdaSmi), U8(14), | 82 B(LdaSmi), I8(14), |
| 83 B(Star), R(9), | 83 B(Star), R(9), |
| 84 B(Mov), R(1), R(4), | 84 B(Mov), R(1), R(4), |
| 85 B(Mov), R(3), R(5), | 85 B(Mov), R(3), R(5), |
| 86 B(Mov), R(closure), R(6), | 86 B(Mov), R(closure), R(6), |
| 87 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), | 87 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), |
| 88 B(Star), R(1), | 88 B(Star), R(1), |
| 89 /* 14 E> */ B(Call), R(1), R(2), U8(2), U8(2), | 89 /* 14 E> */ B(Call), R(1), R(2), U8(2), U8(2), |
| 90 /* 35 S> */ B(LdaLookupGlobalSlotInsideTypeof), U8(2), U8(6), U8(1), | 90 /* 35 S> */ B(LdaLookupGlobalSlotInsideTypeof), U8(2), U8(6), U8(1), |
| 91 B(TypeOf), | 91 B(TypeOf), |
| 92 /* 52 S> */ B(Return), | 92 /* 52 S> */ B(Return), |
| (...skipping 16 matching lines...) Expand all Loading... |
| 109 bytecodes: [ | 109 bytecodes: [ |
| 110 B(CreateFunctionContext), U8(3), | 110 B(CreateFunctionContext), U8(3), |
| 111 B(PushContext), R(0), | 111 B(PushContext), R(0), |
| 112 B(Ldar), R(this), | 112 B(Ldar), R(this), |
| 113 B(StaCurrentContextSlot), U8(4), | 113 B(StaCurrentContextSlot), U8(4), |
| 114 B(CreateMappedArguments), | 114 B(CreateMappedArguments), |
| 115 B(StaCurrentContextSlot), U8(6), | 115 B(StaCurrentContextSlot), U8(6), |
| 116 B(Ldar), R(new_target), | 116 B(Ldar), R(new_target), |
| 117 B(StaCurrentContextSlot), U8(5), | 117 B(StaCurrentContextSlot), U8(5), |
| 118 /* 10 E> */ B(StackCheck), | 118 /* 10 E> */ B(StackCheck), |
| 119 /* 14 S> */ B(LdaSmi), U8(20), | 119 /* 14 S> */ B(LdaSmi), I8(20), |
| 120 /* 16 E> */ B(StaLookupSlotSloppy), U8(0), | 120 /* 16 E> */ B(StaLookupSlotSloppy), U8(0), |
| 121 /* 22 S> */ B(LdaUndefined), | 121 /* 22 S> */ B(LdaUndefined), |
| 122 B(Star), R(2), | 122 B(Star), R(2), |
| 123 /* 29 E> */ B(LdaLookupGlobalSlot), U8(1), U8(4), U8(1), | 123 /* 29 E> */ B(LdaLookupGlobalSlot), U8(1), U8(4), U8(1), |
| 124 B(Star), R(1), | 124 B(Star), R(1), |
| 125 B(LdaConstant), U8(2), | 125 B(LdaConstant), U8(2), |
| 126 B(Star), R(3), | 126 B(Star), R(3), |
| 127 B(LdaZero), | 127 B(LdaZero), |
| 128 B(Star), R(7), | 128 B(Star), R(7), |
| 129 B(LdaSmi), U8(10), | 129 B(LdaSmi), I8(10), |
| 130 B(Star), R(8), | 130 B(Star), R(8), |
| 131 B(LdaSmi), U8(29), | 131 B(LdaSmi), I8(29), |
| 132 B(Star), R(9), | 132 B(Star), R(9), |
| 133 B(Mov), R(1), R(4), | 133 B(Mov), R(1), R(4), |
| 134 B(Mov), R(3), R(5), | 134 B(Mov), R(3), R(5), |
| 135 B(Mov), R(closure), R(6), | 135 B(Mov), R(closure), R(6), |
| 136 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), | 136 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), |
| 137 B(Star), R(1), | 137 B(Star), R(1), |
| 138 /* 29 E> */ B(Call), R(1), R(2), U8(2), U8(2), | 138 /* 29 E> */ B(Call), R(1), R(2), U8(2), U8(2), |
| 139 /* 39 S> */ B(Return), | 139 /* 39 S> */ B(Return), |
| 140 ] | 140 ] |
| 141 constant pool: [ | 141 constant pool: [ |
| (...skipping 27 matching lines...) Expand all Loading... |
| 169 B(StaCurrentContextSlot), U8(5), | 169 B(StaCurrentContextSlot), U8(5), |
| 170 /* 38 E> */ B(StackCheck), | 170 /* 38 E> */ B(StackCheck), |
| 171 /* 44 S> */ B(LdaUndefined), | 171 /* 44 S> */ B(LdaUndefined), |
| 172 B(Star), R(2), | 172 B(Star), R(2), |
| 173 /* 44 E> */ B(LdaLookupGlobalSlot), U8(0), U8(4), U8(1), | 173 /* 44 E> */ B(LdaLookupGlobalSlot), U8(0), U8(4), U8(1), |
| 174 B(Star), R(1), | 174 B(Star), R(1), |
| 175 B(LdaConstant), U8(1), | 175 B(LdaConstant), U8(1), |
| 176 B(Star), R(3), | 176 B(Star), R(3), |
| 177 B(LdaZero), | 177 B(LdaZero), |
| 178 B(Star), R(7), | 178 B(Star), R(7), |
| 179 B(LdaSmi), U8(38), | 179 B(LdaSmi), I8(38), |
| 180 B(Star), R(8), | 180 B(Star), R(8), |
| 181 B(LdaSmi), U8(44), | 181 B(LdaSmi), I8(44), |
| 182 B(Star), R(9), | 182 B(Star), R(9), |
| 183 B(Mov), R(1), R(4), | 183 B(Mov), R(1), R(4), |
| 184 B(Mov), R(3), R(5), | 184 B(Mov), R(3), R(5), |
| 185 B(Mov), R(closure), R(6), | 185 B(Mov), R(closure), R(6), |
| 186 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), | 186 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), |
| 187 B(Star), R(1), | 187 B(Star), R(1), |
| 188 /* 44 E> */ B(Call), R(1), R(2), U8(2), U8(2), | 188 /* 44 E> */ B(Call), R(1), R(2), U8(2), U8(2), |
| 189 /* 66 S> */ B(LdaLookupContextSlot), U8(2), U8(6), U8(1), | 189 /* 66 S> */ B(LdaLookupContextSlot), U8(2), U8(6), U8(1), |
| 190 /* 76 S> */ B(Return), | 190 /* 76 S> */ B(Return), |
| 191 ] | 191 ] |
| (...skipping 28 matching lines...) Expand all Loading... |
| 220 B(StaCurrentContextSlot), U8(5), | 220 B(StaCurrentContextSlot), U8(5), |
| 221 /* 34 E> */ B(StackCheck), | 221 /* 34 E> */ B(StackCheck), |
| 222 /* 40 S> */ B(LdaUndefined), | 222 /* 40 S> */ B(LdaUndefined), |
| 223 B(Star), R(2), | 223 B(Star), R(2), |
| 224 /* 40 E> */ B(LdaLookupGlobalSlot), U8(0), U8(4), U8(1), | 224 /* 40 E> */ B(LdaLookupGlobalSlot), U8(0), U8(4), U8(1), |
| 225 B(Star), R(1), | 225 B(Star), R(1), |
| 226 B(LdaConstant), U8(1), | 226 B(LdaConstant), U8(1), |
| 227 B(Star), R(3), | 227 B(Star), R(3), |
| 228 B(LdaZero), | 228 B(LdaZero), |
| 229 B(Star), R(7), | 229 B(Star), R(7), |
| 230 B(LdaSmi), U8(34), | 230 B(LdaSmi), I8(34), |
| 231 B(Star), R(8), | 231 B(Star), R(8), |
| 232 B(LdaSmi), U8(40), | 232 B(LdaSmi), I8(40), |
| 233 B(Star), R(9), | 233 B(Star), R(9), |
| 234 B(Mov), R(1), R(4), | 234 B(Mov), R(1), R(4), |
| 235 B(Mov), R(3), R(5), | 235 B(Mov), R(3), R(5), |
| 236 B(Mov), R(closure), R(6), | 236 B(Mov), R(closure), R(6), |
| 237 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), | 237 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), |
| 238 B(Star), R(1), | 238 B(Star), R(1), |
| 239 /* 40 E> */ B(Call), R(1), R(2), U8(2), U8(2), | 239 /* 40 E> */ B(Call), R(1), R(2), U8(2), U8(2), |
| 240 /* 62 S> */ B(LdaLookupGlobalSlot), U8(2), U8(6), U8(1), | 240 /* 62 S> */ B(LdaLookupGlobalSlot), U8(2), U8(6), U8(1), |
| 241 /* 72 S> */ B(Return), | 241 /* 72 S> */ B(Return), |
| 242 ] | 242 ] |
| 243 constant pool: [ | 243 constant pool: [ |
| 244 ONE_BYTE_INTERNALIZED_STRING_TYPE ["eval"], | 244 ONE_BYTE_INTERNALIZED_STRING_TYPE ["eval"], |
| 245 ONE_BYTE_INTERNALIZED_STRING_TYPE ["var x = 10"], | 245 ONE_BYTE_INTERNALIZED_STRING_TYPE ["var x = 10"], |
| 246 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], | 246 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
| 247 ] | 247 ] |
| 248 handlers: [ | 248 handlers: [ |
| 249 ] | 249 ] |
| 250 | 250 |
| OLD | NEW |