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