OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: no | 6 wrap: no |
7 test function name: f | 7 test function name: f |
8 | 8 |
9 --- | 9 --- |
10 snippet: " | 10 snippet: " |
(...skipping 25 matching lines...) Expand all Loading... |
36 function f1() { | 36 function f1() { |
37 eval(\"function t() { x = 10; }; f = t; f();\"); | 37 eval(\"function t() { x = 10; }; f = t; f();\"); |
38 } | 38 } |
39 f1(); | 39 f1(); |
40 " | 40 " |
41 frame size: 0 | 41 frame size: 0 |
42 parameter count: 1 | 42 parameter count: 1 |
43 bytecode array length: 7 | 43 bytecode array length: 7 |
44 bytecodes: [ | 44 bytecodes: [ |
45 /* 10 E> */ B(StackCheck), | 45 /* 10 E> */ B(StackCheck), |
46 /* 15 S> */ B(LdaSmi), U8(10), | 46 /* 15 S> */ B(LdaSmi), I8(10), |
47 /* 17 E> */ B(StaLookupSlotSloppy), U8(0), | 47 /* 17 E> */ B(StaLookupSlotSloppy), U8(0), |
48 B(LdaUndefined), | 48 B(LdaUndefined), |
49 /* 23 S> */ B(Return), | 49 /* 23 S> */ B(Return), |
50 ] | 50 ] |
51 constant pool: [ | 51 constant pool: [ |
52 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], | 52 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
53 ] | 53 ] |
54 handlers: [ | 54 handlers: [ |
55 ] | 55 ] |
56 | 56 |
57 --- | 57 --- |
58 snippet: " | 58 snippet: " |
59 var f; | 59 var f; |
60 var x = 1; | 60 var x = 1; |
61 function f1() { | 61 function f1() { |
62 eval(\"function t() { 'use strict'; x = 10; }; f = t; f();\"); | 62 eval(\"function t() { 'use strict'; x = 10; }; f = t; f();\"); |
63 } | 63 } |
64 f1(); | 64 f1(); |
65 " | 65 " |
66 frame size: 0 | 66 frame size: 0 |
67 parameter count: 1 | 67 parameter count: 1 |
68 bytecode array length: 7 | 68 bytecode array length: 7 |
69 bytecodes: [ | 69 bytecodes: [ |
70 /* 10 E> */ B(StackCheck), | 70 /* 10 E> */ B(StackCheck), |
71 /* 29 S> */ B(LdaSmi), U8(10), | 71 /* 29 S> */ B(LdaSmi), I8(10), |
72 /* 31 E> */ B(StaLookupSlotStrict), U8(0), | 72 /* 31 E> */ B(StaLookupSlotStrict), U8(0), |
73 B(LdaUndefined), | 73 B(LdaUndefined), |
74 /* 37 S> */ B(Return), | 74 /* 37 S> */ B(Return), |
75 ] | 75 ] |
76 constant pool: [ | 76 constant pool: [ |
77 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], | 77 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
78 ] | 78 ] |
79 handlers: [ | 79 handlers: [ |
80 ] | 80 ] |
81 | 81 |
(...skipping 14 matching lines...) Expand all Loading... |
96 /* 15 S> */ B(LdaLookupGlobalSlotInsideTypeof), U8(0), U8(2), U8(1), | 96 /* 15 S> */ B(LdaLookupGlobalSlotInsideTypeof), U8(0), U8(2), U8(1), |
97 B(TypeOf), | 97 B(TypeOf), |
98 /* 32 S> */ B(Return), | 98 /* 32 S> */ B(Return), |
99 ] | 99 ] |
100 constant pool: [ | 100 constant pool: [ |
101 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], | 101 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
102 ] | 102 ] |
103 handlers: [ | 103 handlers: [ |
104 ] | 104 ] |
105 | 105 |
OLD | NEW |