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: no | 7 wrap: no |
9 test function name: f | 8 test function name: f |
10 | 9 |
11 --- | 10 --- |
12 snippet: " | 11 snippet: " |
13 var f; | 12 var f; |
14 var x = 1; | 13 var x = 1; |
15 z = 10; | 14 z = 10; |
16 function f1() { | 15 function f1() { |
17 var y; | 16 var y; |
18 eval(\"function t() { delete x; }; f = t; f();\"); | 17 eval(\"function t() { delete x; }; f = t; f();\"); |
19 } | 18 } |
20 f1(); | 19 f1(); |
21 " | 20 " |
22 frame size: 1 | 21 frame size: 1 |
23 parameter count: 1 | 22 parameter count: 1 |
24 bytecode array length: 12 | 23 bytecode array length: 12 |
25 bytecodes: [ | 24 bytecodes: [ |
26 /* 10 E> */ B(StackCheck), | 25 /* 10 E> */ B(StackCheck), |
27 /* 15 S> */ B(LdaConstant), U8(0), | 26 /* 15 S> */ B(LdaConstant), U8(0), |
28 B(Star), R(0), | 27 B(Star), R(0), |
29 B(CallRuntime), U16(Runtime::kDeleteLookupSlot), R(0), U8(1), | 28 B(CallRuntime), U16(Runtime::kDeleteLookupSlot), R(0), U8(1), |
30 B(LdaUndefined), | 29 B(LdaUndefined), |
31 /* 25 S> */ B(Return), | 30 /* 25 S> */ B(Return), |
32 ] | 31 ] |
33 constant pool: [ | 32 constant pool: [ |
34 "x", | 33 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
35 ] | 34 ] |
36 handlers: [ | 35 handlers: [ |
37 ] | 36 ] |
38 | 37 |
39 --- | 38 --- |
40 snippet: " | 39 snippet: " |
41 var f; | 40 var f; |
42 var x = 1; | 41 var x = 1; |
43 z = 10; | 42 z = 10; |
44 function f1() { | 43 function f1() { |
(...skipping 30 matching lines...) Expand all Loading... |
75 parameter count: 1 | 74 parameter count: 1 |
76 bytecode array length: 11 | 75 bytecode array length: 11 |
77 bytecodes: [ | 76 bytecodes: [ |
78 /* 10 E> */ B(StackCheck), | 77 /* 10 E> */ B(StackCheck), |
79 /* 15 S> */ B(LdaConstant), U8(0), | 78 /* 15 S> */ B(LdaConstant), U8(0), |
80 B(Star), R(0), | 79 B(Star), R(0), |
81 B(CallRuntime), U16(Runtime::kDeleteLookupSlot), R(0), U8(1), | 80 B(CallRuntime), U16(Runtime::kDeleteLookupSlot), R(0), U8(1), |
82 /* 32 S> */ B(Return), | 81 /* 32 S> */ B(Return), |
83 ] | 82 ] |
84 constant pool: [ | 83 constant pool: [ |
85 "z", | 84 ONE_BYTE_INTERNALIZED_STRING_TYPE ["z"], |
86 ] | 85 ] |
87 handlers: [ | 86 handlers: [ |
88 ] | 87 ] |
89 | 88 |
OLD | NEW |