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: mixed | |
7 execute: yes | 6 execute: yes |
8 wrap: yes | 7 wrap: yes |
9 | 8 |
10 --- | 9 --- |
11 snippet: " | 10 snippet: " |
12 var a = {x:13, y:14}; return delete a.x; | 11 var a = {x:13, y:14}; return delete a.x; |
13 " | 12 " |
14 frame size: 2 | 13 frame size: 2 |
15 parameter count: 1 | 14 parameter count: 1 |
16 bytecode array length: 14 | 15 bytecode array length: 14 |
17 bytecodes: [ | 16 bytecodes: [ |
18 /* 30 E> */ B(StackCheck), | 17 /* 30 E> */ B(StackCheck), |
19 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), | 18 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), |
20 B(Mov), R(1), R(0), | 19 B(Mov), R(1), R(0), |
21 /* 56 S> */ B(LdaConstant), U8(1), | 20 /* 56 S> */ B(LdaConstant), U8(1), |
22 B(DeletePropertySloppy), R(0), | 21 B(DeletePropertySloppy), R(0), |
23 /* 75 S> */ B(Return), | 22 /* 75 S> */ B(Return), |
24 ] | 23 ] |
25 constant pool: [ | 24 constant pool: [ |
26 InstanceType::FIXED_ARRAY_TYPE, | 25 FIXED_ARRAY_TYPE, |
27 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 26 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
28 ] | 27 ] |
29 handlers: [ | 28 handlers: [ |
30 ] | 29 ] |
31 | 30 |
32 --- | 31 --- |
33 snippet: " | 32 snippet: " |
34 'use strict'; var a = {x:13, y:14}; return delete a.x; | 33 'use strict'; var a = {x:13, y:14}; return delete a.x; |
35 " | 34 " |
36 frame size: 2 | 35 frame size: 2 |
37 parameter count: 1 | 36 parameter count: 1 |
38 bytecode array length: 14 | 37 bytecode array length: 14 |
39 bytecodes: [ | 38 bytecodes: [ |
40 /* 30 E> */ B(StackCheck), | 39 /* 30 E> */ B(StackCheck), |
41 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), | 40 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), |
42 B(Mov), R(1), R(0), | 41 B(Mov), R(1), R(0), |
43 /* 70 S> */ B(LdaConstant), U8(1), | 42 /* 70 S> */ B(LdaConstant), U8(1), |
44 B(DeletePropertyStrict), R(0), | 43 B(DeletePropertyStrict), R(0), |
45 /* 89 S> */ B(Return), | 44 /* 89 S> */ B(Return), |
46 ] | 45 ] |
47 constant pool: [ | 46 constant pool: [ |
48 InstanceType::FIXED_ARRAY_TYPE, | 47 FIXED_ARRAY_TYPE, |
49 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 48 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
50 ] | 49 ] |
51 handlers: [ | 50 handlers: [ |
52 ] | 51 ] |
53 | 52 |
54 --- | 53 --- |
55 snippet: " | 54 snippet: " |
56 var a = {1:13, 2:14}; return delete a[2]; | 55 var a = {1:13, 2:14}; return delete a[2]; |
57 " | 56 " |
58 frame size: 2 | 57 frame size: 2 |
59 parameter count: 1 | 58 parameter count: 1 |
60 bytecode array length: 14 | 59 bytecode array length: 14 |
61 bytecodes: [ | 60 bytecodes: [ |
62 /* 30 E> */ B(StackCheck), | 61 /* 30 E> */ B(StackCheck), |
63 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), | 62 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), |
64 B(Mov), R(1), R(0), | 63 B(Mov), R(1), R(0), |
65 /* 56 S> */ B(LdaSmi), U8(2), | 64 /* 56 S> */ B(LdaSmi), U8(2), |
66 B(DeletePropertySloppy), R(0), | 65 B(DeletePropertySloppy), R(0), |
67 /* 76 S> */ B(Return), | 66 /* 76 S> */ B(Return), |
68 ] | 67 ] |
69 constant pool: [ | 68 constant pool: [ |
70 InstanceType::FIXED_ARRAY_TYPE, | 69 FIXED_ARRAY_TYPE, |
71 ] | 70 ] |
72 handlers: [ | 71 handlers: [ |
73 ] | 72 ] |
74 | 73 |
75 --- | 74 --- |
76 snippet: " | 75 snippet: " |
77 var a = 10; return delete a; | 76 var a = 10; return delete a; |
78 " | 77 " |
79 frame size: 1 | 78 frame size: 1 |
80 parameter count: 1 | 79 parameter count: 1 |
(...skipping 27 matching lines...) Expand all Loading... |
108 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), | 107 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), |
109 B(Ldar), R(1), | 108 B(Ldar), R(1), |
110 /* 56 E> */ B(StaContextSlot), R(context), U8(4), | 109 /* 56 E> */ B(StaContextSlot), R(context), U8(4), |
111 /* 64 S> */ B(CreateClosure), U8(1), U8(2), | 110 /* 64 S> */ B(CreateClosure), U8(1), U8(2), |
112 /* 93 S> */ B(LdrContextSlot), R(context), U8(4), R(1), | 111 /* 93 S> */ B(LdrContextSlot), R(context), U8(4), R(1), |
113 B(LdaSmi), U8(1), | 112 B(LdaSmi), U8(1), |
114 B(DeletePropertyStrict), R(1), | 113 B(DeletePropertyStrict), R(1), |
115 /* 113 S> */ B(Return), | 114 /* 113 S> */ B(Return), |
116 ] | 115 ] |
117 constant pool: [ | 116 constant pool: [ |
118 InstanceType::FIXED_ARRAY_TYPE, | 117 FIXED_ARRAY_TYPE, |
119 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 118 SHARED_FUNCTION_INFO_TYPE, |
120 ] | 119 ] |
121 handlers: [ | 120 handlers: [ |
122 ] | 121 ] |
123 | 122 |
124 --- | 123 --- |
125 snippet: " | 124 snippet: " |
126 return delete 'test'; | 125 return delete 'test'; |
127 " | 126 " |
128 frame size: 0 | 127 frame size: 0 |
129 parameter count: 1 | 128 parameter count: 1 |
130 bytecode array length: 3 | 129 bytecode array length: 3 |
131 bytecodes: [ | 130 bytecodes: [ |
132 /* 30 E> */ B(StackCheck), | 131 /* 30 E> */ B(StackCheck), |
133 /* 34 S> */ B(LdaTrue), | 132 /* 34 S> */ B(LdaTrue), |
134 /* 56 S> */ B(Return), | 133 /* 56 S> */ B(Return), |
135 ] | 134 ] |
136 constant pool: [ | 135 constant pool: [ |
137 ] | 136 ] |
138 handlers: [ | 137 handlers: [ |
139 ] | 138 ] |
140 | 139 |
OLD | NEW |