OLD | NEW |
(Empty) | |
| 1 # |
| 2 # Autogenerated by generate-bytecode-expectations |
| 3 # |
| 4 |
| 5 --- |
| 6 pool type: mixed |
| 7 execute: yes |
| 8 wrap: yes |
| 9 |
| 10 --- |
| 11 snippet: " |
| 12 return function(){ } |
| 13 " |
| 14 frame size: 0 |
| 15 parameter count: 1 |
| 16 bytecode array length: 5 |
| 17 bytecodes: [ |
| 18 B(StackCheck), |
| 19 B(CreateClosure), U8(0), U8(0), |
| 20 B(Return), |
| 21 ] |
| 22 constant pool: [ |
| 23 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
| 24 ] |
| 25 handlers: [ |
| 26 ] |
| 27 |
| 28 --- |
| 29 snippet: " |
| 30 return (function(){ })() |
| 31 " |
| 32 frame size: 2 |
| 33 parameter count: 1 |
| 34 bytecode array length: 15 |
| 35 bytecodes: [ |
| 36 B(StackCheck), |
| 37 B(LdaUndefined), |
| 38 B(Star), R(1), |
| 39 B(CreateClosure), U8(0), U8(0), |
| 40 B(Star), R(0), |
| 41 B(Call), R(0), R(1), U8(1), U8(1), |
| 42 B(Return), |
| 43 ] |
| 44 constant pool: [ |
| 45 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
| 46 ] |
| 47 handlers: [ |
| 48 ] |
| 49 |
| 50 --- |
| 51 snippet: " |
| 52 return (function(x){ return x; })(1) |
| 53 " |
| 54 frame size: 3 |
| 55 parameter count: 1 |
| 56 bytecode array length: 19 |
| 57 bytecodes: [ |
| 58 B(StackCheck), |
| 59 B(LdaUndefined), |
| 60 B(Star), R(1), |
| 61 B(CreateClosure), U8(0), U8(0), |
| 62 B(Star), R(0), |
| 63 B(LdaSmi8), U8(1), |
| 64 B(Star), R(2), |
| 65 B(Call), R(0), R(1), U8(2), U8(1), |
| 66 B(Return), |
| 67 ] |
| 68 constant pool: [ |
| 69 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
| 70 ] |
| 71 handlers: [ |
| 72 ] |
| 73 |
OLD | NEW |