| 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: no | 8 wrap: no |
| 9 test function name: f | 9 test function name: f |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 handlers: [ | 69 handlers: [ |
| 70 ] | 70 ] |
| 71 | 71 |
| 72 --- | 72 --- |
| 73 snippet: " | 73 snippet: " |
| 74 function f(a) { return arguments[0]; } | 74 function f(a) { return arguments[0]; } |
| 75 f(); | 75 f(); |
| 76 " | 76 " |
| 77 frame size: 2 | 77 frame size: 2 |
| 78 parameter count: 2 | 78 parameter count: 2 |
| 79 bytecode array length: 21 | 79 bytecode array length: 18 |
| 80 bytecodes: [ | 80 bytecodes: [ |
| 81 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 81 B(CreateFunctionContext), U8(5), |
| 82 B(PushContext), R(1), | 82 B(PushContext), R(1), |
| 83 B(Ldar), R(arg0), | 83 B(Ldar), R(arg0), |
| 84 B(StaContextSlot), R(context), U8(4), | 84 B(StaContextSlot), R(context), U8(4), |
| 85 B(CreateMappedArguments), | 85 B(CreateMappedArguments), |
| 86 B(Star), R(0), | 86 B(Star), R(0), |
| 87 /* 10 E> */ B(StackCheck), | 87 /* 10 E> */ B(StackCheck), |
| 88 /* 16 S> */ B(LdaZero), | 88 /* 16 S> */ B(LdaZero), |
| 89 /* 32 E> */ B(LdaKeyedProperty), R(0), U8(1), | 89 /* 32 E> */ B(LdaKeyedProperty), R(0), U8(1), |
| 90 /* 37 S> */ B(Return), | 90 /* 37 S> */ B(Return), |
| 91 ] | 91 ] |
| 92 constant pool: [ | 92 constant pool: [ |
| 93 ] | 93 ] |
| 94 handlers: [ | 94 handlers: [ |
| 95 ] | 95 ] |
| 96 | 96 |
| 97 --- | 97 --- |
| 98 snippet: " | 98 snippet: " |
| 99 function f(a, b, c) { return arguments; } | 99 function f(a, b, c) { return arguments; } |
| 100 f(); | 100 f(); |
| 101 " | 101 " |
| 102 frame size: 2 | 102 frame size: 2 |
| 103 parameter count: 4 | 103 parameter count: 4 |
| 104 bytecode array length: 28 | 104 bytecode array length: 25 |
| 105 bytecodes: [ | 105 bytecodes: [ |
| 106 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 106 B(CreateFunctionContext), U8(7), |
| 107 B(PushContext), R(1), | 107 B(PushContext), R(1), |
| 108 B(Ldar), R(arg0), | 108 B(Ldar), R(arg0), |
| 109 B(StaContextSlot), R(context), U8(6), | 109 B(StaContextSlot), R(context), U8(6), |
| 110 B(Ldar), R(arg1), | 110 B(Ldar), R(arg1), |
| 111 B(StaContextSlot), R(context), U8(5), | 111 B(StaContextSlot), R(context), U8(5), |
| 112 B(Ldar), R(arg2), | 112 B(Ldar), R(arg2), |
| 113 B(StaContextSlot), R(context), U8(4), | 113 B(StaContextSlot), R(context), U8(4), |
| 114 B(CreateMappedArguments), | 114 B(CreateMappedArguments), |
| 115 B(Star), R(0), | 115 B(Star), R(0), |
| 116 /* 10 E> */ B(StackCheck), | 116 /* 10 E> */ B(StackCheck), |
| (...skipping 18 matching lines...) Expand all Loading... |
| 135 B(Star), R(0), | 135 B(Star), R(0), |
| 136 /* 10 E> */ B(StackCheck), | 136 /* 10 E> */ B(StackCheck), |
| 137 /* 36 S> */ B(Nop), | 137 /* 36 S> */ B(Nop), |
| 138 /* 54 S> */ B(Return), | 138 /* 54 S> */ B(Return), |
| 139 ] | 139 ] |
| 140 constant pool: [ | 140 constant pool: [ |
| 141 ] | 141 ] |
| 142 handlers: [ | 142 handlers: [ |
| 143 ] | 143 ] |
| 144 | 144 |
| OLD | NEW |