OLD | NEW |
(Empty) | |
| 1 # |
| 2 # Autogenerated by generate-bytecode-expectations |
| 3 # |
| 4 |
| 5 --- |
| 6 pool type: number |
| 7 execute: yes |
| 8 wrap: yes |
| 9 |
| 10 --- |
| 11 snippet: " |
| 12 return 12345678; |
| 13 " |
| 14 frame size: 0 |
| 15 parameter count: 1 |
| 16 bytecodes: [ |
| 17 B(StackCheck), |
| 18 B(LdaConstant), U8(0), |
| 19 B(Return), |
| 20 ] |
| 21 constant pool: [ |
| 22 12345678, |
| 23 ] |
| 24 handlers: [ |
| 25 ] |
| 26 |
| 27 --- |
| 28 snippet: " |
| 29 var a = 1234; return 5678; |
| 30 " |
| 31 frame size: 1 # in multiples of sizeof(void*) |
| 32 parameter count: 1 |
| 33 bytecodes: [ |
| 34 B(StackCheck), |
| 35 B(LdaConstant), U8(0), |
| 36 B(Star), R(0), |
| 37 B(LdaConstant), U8(1), |
| 38 B(Return), |
| 39 ] |
| 40 constant pool: [ |
| 41 1234, |
| 42 5678, |
| 43 ] |
| 44 handlers: [ |
| 45 ] |
| 46 |
| 47 --- |
| 48 snippet: " |
| 49 var a = 1234; return 1234; |
| 50 " |
| 51 frame size: 1 # in multiples of sizeof(void*) |
| 52 parameter count: 1 |
| 53 bytecodes: [ |
| 54 B(StackCheck), |
| 55 B(LdaConstant), U8(0), |
| 56 B(Star), R(0), |
| 57 B(LdaConstant), U8(0), |
| 58 B(Return), |
| 59 ] |
| 60 constant pool: [ |
| 61 1234, |
| 62 ] |
| 63 handlers: [ |
| 64 ] |
| 65 |
OLD | NEW |