| 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 let x = 10; function f1() {return x;} | 10 let x = 10; function f1() {return x;} |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 bytecodes: [ | 41 bytecodes: [ |
| 42 B(CreateFunctionContext), U8(1), | 42 B(CreateFunctionContext), U8(1), |
| 43 B(PushContext), R(1), | 43 B(PushContext), R(1), |
| 44 B(LdaTheHole), | 44 B(LdaTheHole), |
| 45 B(StaCurrentContextSlot), U8(4), | 45 B(StaCurrentContextSlot), U8(4), |
| 46 B(CreateClosure), U8(0), U8(2), U8(2), | 46 B(CreateClosure), U8(0), U8(2), U8(2), |
| 47 B(Star), R(0), | 47 B(Star), R(0), |
| 48 /* 30 E> */ B(StackCheck), | 48 /* 30 E> */ B(StackCheck), |
| 49 /* 42 S> */ B(LdaSmi), I8(10), | 49 /* 42 S> */ B(LdaSmi), I8(10), |
| 50 /* 42 E> */ B(StaCurrentContextSlot), U8(4), | 50 /* 42 E> */ B(StaCurrentContextSlot), U8(4), |
| 51 /* 72 S> */ B(LdaCurrentContextSlot), U8(4), | 51 /* 72 S> */ B(LdaImmutableCurrentContextSlot), U8(4), |
| 52 /* 82 S> */ B(Return), | 52 /* 82 S> */ B(Return), |
| 53 ] | 53 ] |
| 54 constant pool: [ | 54 constant pool: [ |
| 55 SHARED_FUNCTION_INFO_TYPE, | 55 SHARED_FUNCTION_INFO_TYPE, |
| 56 ] | 56 ] |
| 57 handlers: [ | 57 handlers: [ |
| 58 ] | 58 ] |
| 59 | 59 |
| 60 --- | 60 --- |
| 61 snippet: " | 61 snippet: " |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 /* 48 E> */ B(StaCurrentContextSlot), U8(4), | 113 /* 48 E> */ B(StaCurrentContextSlot), U8(4), |
| 114 B(LdaUndefined), | 114 B(LdaUndefined), |
| 115 /* 80 S> */ B(Return), | 115 /* 80 S> */ B(Return), |
| 116 ] | 116 ] |
| 117 constant pool: [ | 117 constant pool: [ |
| 118 SHARED_FUNCTION_INFO_TYPE, | 118 SHARED_FUNCTION_INFO_TYPE, |
| 119 ] | 119 ] |
| 120 handlers: [ | 120 handlers: [ |
| 121 ] | 121 ] |
| 122 | 122 |
| OLD | NEW |