| 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: mixed | 6 pool type: mixed |
| 7 execute: yes | 7 execute: yes |
| 8 wrap: yes | 8 wrap: yes |
| 9 | 9 |
| 10 --- | 10 --- |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 ] | 98 ] |
| 99 | 99 |
| 100 --- | 100 --- |
| 101 snippet: " | 101 snippet: " |
| 102 'use strict'; | 102 'use strict'; |
| 103 let a = 1; | 103 let a = 1; |
| 104 { let b = 2; return function() { a + b; }; } | 104 { let b = 2; return function() { a + b; }; } |
| 105 " | 105 " |
| 106 frame size: 4 | 106 frame size: 4 |
| 107 parameter count: 1 | 107 parameter count: 1 |
| 108 bytecode array length: 46 | 108 bytecode array length: 48 |
| 109 bytecodes: [ | 109 bytecodes: [ |
| 110 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 110 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
| 111 B(PushContext), R(0), | 111 B(PushContext), R(0), |
| 112 B(LdaTheHole), | 112 B(LdaTheHole), |
| 113 B(StaContextSlot), R(context), U8(4), | 113 B(StaContextSlot), R(context), U8(4), |
| 114 /* 30 E> */ B(StackCheck), | 114 /* 30 E> */ B(StackCheck), |
| 115 /* 56 S> */ B(LdaSmi), U8(1), | 115 /* 56 S> */ B(LdaSmi), U8(1), |
| 116 /* 56 E> */ B(StaContextSlot), R(context), U8(4), | 116 /* 56 E> */ B(StaContextSlot), R(context), U8(4), |
| 117 B(LdaConstant), U8(0), | 117 B(LdaConstant), U8(0), |
| 118 B(Star), R(2), | 118 B(Star), R(2), |
| 119 B(Mov), R(closure), R(3), | 119 B(Mov), R(closure), R(3), |
| 120 B(CallRuntime), U16(Runtime::kPushBlockContext), R(2), U8(2), | 120 B(CallRuntime), U16(Runtime::kPushBlockContext), R(2), U8(2), |
| 121 B(PushContext), R(1), | 121 B(PushContext), R(1), |
| 122 B(LdaTheHole), | 122 B(LdaTheHole), |
| 123 B(StaContextSlot), R(context), U8(4), | 123 B(StaContextSlot), R(context), U8(4), |
| 124 /* 69 S> */ B(LdaSmi), U8(2), | 124 /* 69 S> */ B(LdaSmi), U8(2), |
| 125 /* 69 E> */ B(StaContextSlot), R(context), U8(4), | 125 /* 69 E> */ B(StaContextSlot), R(context), U8(4), |
| 126 /* 72 S> */ B(CreateClosure), U8(1), U8(0), | 126 /* 72 S> */ B(CreateClosure), U8(1), U8(0), |
| 127 B(PopContext), R(0), | 127 B(PopContext), R(0), |
| 128 /* 104 S> */ B(Return), | 128 /* 104 S> */ B(Return), |
| 129 B(PopContext), R(1), |
| 129 ] | 130 ] |
| 130 constant pool: [ | 131 constant pool: [ |
| 131 InstanceType::FIXED_ARRAY_TYPE, | 132 InstanceType::FIXED_ARRAY_TYPE, |
| 132 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 133 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
| 133 ] | 134 ] |
| 134 handlers: [ | 135 handlers: [ |
| 135 ] | 136 ] |
| 136 | 137 |
| 137 --- | 138 --- |
| 138 snippet: " | 139 snippet: " |
| (...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 908 /* 3440 E> */ B(Wide), B(StaContextSlot), R16(context), U16(256), | 909 /* 3440 E> */ B(Wide), B(StaContextSlot), R16(context), U16(256), |
| 909 /* 3445 S> */ B(Wide), B(LdaContextSlot), R16(context), U16(256), | 910 /* 3445 S> */ B(Wide), B(LdaContextSlot), R16(context), U16(256), |
| 910 /* 3454 S> */ B(Return), | 911 /* 3454 S> */ B(Return), |
| 911 ] | 912 ] |
| 912 constant pool: [ | 913 constant pool: [ |
| 913 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 914 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 914 ] | 915 ] |
| 915 handlers: [ | 916 handlers: [ |
| 916 ] | 917 ] |
| 917 | 918 |
| OLD | NEW |