| 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 | |
| 7 execute: yes | 6 execute: yes |
| 8 wrap: yes | 7 wrap: yes |
| 9 | 8 |
| 10 --- | 9 --- |
| 11 snippet: " | 10 snippet: " |
| 12 eval('var x = 10;'); return x; | 11 eval('var x = 10;'); return x; |
| 13 " | 12 " |
| 14 frame size: 10 | 13 frame size: 10 |
| 15 parameter count: 1 | 14 parameter count: 1 |
| 16 bytecode array length: 68 | 15 bytecode array length: 68 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 38 B(Mov), R(1), R(4), | 37 B(Mov), R(1), R(4), |
| 39 B(Mov), R(3), R(5), | 38 B(Mov), R(3), R(5), |
| 40 B(Mov), R(closure), R(6), | 39 B(Mov), R(closure), R(6), |
| 41 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), | 40 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), |
| 42 B(Star), R(1), | 41 B(Star), R(1), |
| 43 /* 34 E> */ B(Call), R(1), R(2), U8(2), U8(0), | 42 /* 34 E> */ B(Call), R(1), R(2), U8(2), U8(0), |
| 44 /* 55 S> */ B(LdaLookupSlot), U8(2), | 43 /* 55 S> */ B(LdaLookupSlot), U8(2), |
| 45 /* 65 S> */ B(Return), | 44 /* 65 S> */ B(Return), |
| 46 ] | 45 ] |
| 47 constant pool: [ | 46 constant pool: [ |
| 48 "eval", | 47 ONE_BYTE_INTERNALIZED_STRING_TYPE ["eval"], |
| 49 "var x = 10;", | 48 ONE_BYTE_INTERNALIZED_STRING_TYPE ["var x = 10;"], |
| 50 "x", | 49 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
| 51 ] | 50 ] |
| 52 handlers: [ | 51 handlers: [ |
| 53 ] | 52 ] |
| 54 | 53 |
| 55 --- | 54 --- |
| 56 snippet: " | 55 snippet: " |
| 57 eval('var x = 10;'); return typeof x; | 56 eval('var x = 10;'); return typeof x; |
| 58 " | 57 " |
| 59 frame size: 10 | 58 frame size: 10 |
| 60 parameter count: 1 | 59 parameter count: 1 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 84 B(Mov), R(3), R(5), | 83 B(Mov), R(3), R(5), |
| 85 B(Mov), R(closure), R(6), | 84 B(Mov), R(closure), R(6), |
| 86 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), | 85 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), |
| 87 B(Star), R(1), | 86 B(Star), R(1), |
| 88 /* 34 E> */ B(Call), R(1), R(2), U8(2), U8(0), | 87 /* 34 E> */ B(Call), R(1), R(2), U8(2), U8(0), |
| 89 /* 55 S> */ B(LdaLookupSlotInsideTypeof), U8(2), | 88 /* 55 S> */ B(LdaLookupSlotInsideTypeof), U8(2), |
| 90 B(TypeOf), | 89 B(TypeOf), |
| 91 /* 72 S> */ B(Return), | 90 /* 72 S> */ B(Return), |
| 92 ] | 91 ] |
| 93 constant pool: [ | 92 constant pool: [ |
| 94 "eval", | 93 ONE_BYTE_INTERNALIZED_STRING_TYPE ["eval"], |
| 95 "var x = 10;", | 94 ONE_BYTE_INTERNALIZED_STRING_TYPE ["var x = 10;"], |
| 96 "x", | 95 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
| 97 ] | 96 ] |
| 98 handlers: [ | 97 handlers: [ |
| 99 ] | 98 ] |
| 100 | 99 |
| 101 --- | 100 --- |
| 102 snippet: " | 101 snippet: " |
| 103 x = 20; return eval(''); | 102 x = 20; return eval(''); |
| 104 " | 103 " |
| 105 frame size: 10 | 104 frame size: 10 |
| 106 parameter count: 1 | 105 parameter count: 1 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 130 B(Star), R(9), | 129 B(Star), R(9), |
| 131 B(Mov), R(1), R(4), | 130 B(Mov), R(1), R(4), |
| 132 B(Mov), R(3), R(5), | 131 B(Mov), R(3), R(5), |
| 133 B(Mov), R(closure), R(6), | 132 B(Mov), R(closure), R(6), |
| 134 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), | 133 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4),
U8(6), |
| 135 B(Star), R(1), | 134 B(Star), R(1), |
| 136 /* 49 E> */ B(Call), R(1), R(2), U8(2), U8(0), | 135 /* 49 E> */ B(Call), R(1), R(2), U8(2), U8(0), |
| 137 /* 59 S> */ B(Return), | 136 /* 59 S> */ B(Return), |
| 138 ] | 137 ] |
| 139 constant pool: [ | 138 constant pool: [ |
| 140 "x", | 139 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
| 141 "eval", | 140 ONE_BYTE_INTERNALIZED_STRING_TYPE ["eval"], |
| 142 "", | 141 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
| 143 ] | 142 ] |
| 144 handlers: [ | 143 handlers: [ |
| 145 ] | 144 ] |
| 146 | 145 |
| OLD | NEW |