| 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 27 matching lines...) Expand all Loading... |
| 38 function f1() { | 38 function f1() { |
| 39 eval(\"function t() { x = 10; }; f = t; f();\"); | 39 eval(\"function t() { x = 10; }; f = t; f();\"); |
| 40 } | 40 } |
| 41 f1(); | 41 f1(); |
| 42 " | 42 " |
| 43 frame size: 0 | 43 frame size: 0 |
| 44 parameter count: 1 | 44 parameter count: 1 |
| 45 bytecode array length: 7 | 45 bytecode array length: 7 |
| 46 bytecodes: [ | 46 bytecodes: [ |
| 47 B(StackCheck), | 47 B(StackCheck), |
| 48 B(LdaSmi8), U8(10), | 48 B(LdaSmi), U8(10), |
| 49 B(StaLookupSlotSloppy), U8(0), | 49 B(StaLookupSlotSloppy), U8(0), |
| 50 B(LdaUndefined), | 50 B(LdaUndefined), |
| 51 B(Return), | 51 B(Return), |
| 52 ] | 52 ] |
| 53 constant pool: [ | 53 constant pool: [ |
| 54 "x", | 54 "x", |
| 55 ] | 55 ] |
| 56 handlers: [ | 56 handlers: [ |
| 57 ] | 57 ] |
| 58 | 58 |
| 59 --- | 59 --- |
| 60 snippet: " | 60 snippet: " |
| 61 var f; | 61 var f; |
| 62 var x = 1; | 62 var x = 1; |
| 63 function f1() { | 63 function f1() { |
| 64 eval(\"function t() { 'use strict'; x = 10; }; f = t; f();\"); | 64 eval(\"function t() { 'use strict'; x = 10; }; f = t; f();\"); |
| 65 } | 65 } |
| 66 f1(); | 66 f1(); |
| 67 " | 67 " |
| 68 frame size: 0 | 68 frame size: 0 |
| 69 parameter count: 1 | 69 parameter count: 1 |
| 70 bytecode array length: 7 | 70 bytecode array length: 7 |
| 71 bytecodes: [ | 71 bytecodes: [ |
| 72 B(StackCheck), | 72 B(StackCheck), |
| 73 B(LdaSmi8), U8(10), | 73 B(LdaSmi), U8(10), |
| 74 B(StaLookupSlotStrict), U8(0), | 74 B(StaLookupSlotStrict), U8(0), |
| 75 B(LdaUndefined), | 75 B(LdaUndefined), |
| 76 B(Return), | 76 B(Return), |
| 77 ] | 77 ] |
| 78 constant pool: [ | 78 constant pool: [ |
| 79 "x", | 79 "x", |
| 80 ] | 80 ] |
| 81 handlers: [ | 81 handlers: [ |
| 82 ] | 82 ] |
| 83 | 83 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 98 B(LdaLookupSlotInsideTypeof), U8(0), | 98 B(LdaLookupSlotInsideTypeof), U8(0), |
| 99 B(TypeOf), | 99 B(TypeOf), |
| 100 B(Return), | 100 B(Return), |
| 101 ] | 101 ] |
| 102 constant pool: [ | 102 constant pool: [ |
| 103 "x", | 103 "x", |
| 104 ] | 104 ] |
| 105 handlers: [ | 105 handlers: [ |
| 106 ] | 106 ] |
| 107 | 107 |
| OLD | NEW |