| 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 | 6 pool type: string |
| 7 execute: yes | 7 execute: yes |
| 8 wrap: yes | 8 wrap: yes |
| 9 | 9 |
| 10 --- | 10 --- |
| 11 snippet: " | 11 snippet: " |
| 12 return eval('1;'); | 12 return eval('1;'); |
| 13 " | 13 " |
| 14 frame size: 9 | 14 frame size: 9 |
| 15 parameter count: 1 | 15 parameter count: 1 |
| 16 bytecode array length: 65 | 16 bytecode array length: 67 |
| 17 bytecodes: [ | 17 bytecodes: [ |
| 18 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), | 18 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
| 19 B(PushContext), R(0), | 19 B(PushContext), R(0), |
| 20 B(Ldar), R(this), | 20 B(Ldar), R(this), |
| 21 B(StaContextSlot), R(context), U8(4), | 21 B(StaContextSlot), R(context), U8(4), |
| 22 B(CreateMappedArguments), | 22 B(CreateMappedArguments), |
| 23 B(StaContextSlot), R(context), U8(5), | 23 B(StaContextSlot), R(context), U8(5), |
| 24 B(Ldar), R(new_target), | 24 B(Ldar), R(new_target), |
| 25 B(StaContextSlot), R(context), U8(6), | 25 B(StaContextSlot), R(context), U8(6), |
| 26 B(StackCheck), | 26 B(StackCheck), |
| 27 B(LdaConstant), U8(0), | 27 B(LdaConstant), U8(0), |
| 28 B(Star), R(3), | 28 B(Star), R(3), |
| 29 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3), U8(1), R(1)
, | 29 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3), U8(1), R(1)
, |
| 30 B(LdaConstant), U8(1), | 30 B(LdaConstant), U8(1), |
| 31 B(Star), R(3), | 31 B(Star), R(3), |
| 32 B(Mov), R(1), R(4), | 32 B(Mov), R(1), R(4), |
| 33 B(Mov), R(3), R(5), | 33 B(Mov), R(3), R(5), |
| 34 B(Mov), R(closure), R(6), | 34 B(Mov), R(closure), R(6), |
| 35 B(LdaZero), | 35 B(LdaZero), |
| 36 B(Star), R(7), | 36 B(Star), R(7), |
| 37 B(LdaSmi8), U8(30), | 37 B(LdaSmi8), U8(30), |
| 38 B(Star), R(8), | 38 B(Star), R(8), |
| 39 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(5), | 39 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(5), |
| 40 B(Star), R(1), | 40 B(Star), R(1), |
| 41 B(Call), R(1), R(2), U8(2), U8(0), | 41 B(Call), R(1), R(2), U8(2), U8(0), |
| 42 B(PopContext), R(0), |
| 42 B(Return), | 43 B(Return), |
| 43 ] | 44 ] |
| 44 constant pool: [ | 45 constant pool: [ |
| 45 "eval", | 46 "eval", |
| 46 "1;", | 47 "1;", |
| 47 ] | 48 ] |
| 48 handlers: [ | 49 handlers: [ |
| 49 ] | 50 ] |
| 50 | 51 |
| OLD | NEW |