OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: yes | 6 wrap: yes |
7 | 7 |
8 --- | 8 --- |
9 snippet: " | 9 snippet: " |
10 var a = {x:13, y:14}; return delete a.x; | 10 var a = {x:13, y:14}; return delete a.x; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 snippet: " | 53 snippet: " |
54 var a = {1:13, 2:14}; return delete a[2]; | 54 var a = {1:13, 2:14}; return delete a[2]; |
55 " | 55 " |
56 frame size: 2 | 56 frame size: 2 |
57 parameter count: 1 | 57 parameter count: 1 |
58 bytecode array length: 14 | 58 bytecode array length: 14 |
59 bytecodes: [ | 59 bytecodes: [ |
60 /* 30 E> */ B(StackCheck), | 60 /* 30 E> */ B(StackCheck), |
61 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), | 61 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), |
62 B(Mov), R(1), R(0), | 62 B(Mov), R(1), R(0), |
63 /* 56 S> */ B(LdaSmi), U8(2), | 63 /* 56 S> */ B(LdaSmi), I8(2), |
64 B(DeletePropertySloppy), R(0), | 64 B(DeletePropertySloppy), R(0), |
65 /* 76 S> */ B(Return), | 65 /* 76 S> */ B(Return), |
66 ] | 66 ] |
67 constant pool: [ | 67 constant pool: [ |
68 FIXED_ARRAY_TYPE, | 68 FIXED_ARRAY_TYPE, |
69 ] | 69 ] |
70 handlers: [ | 70 handlers: [ |
71 ] | 71 ] |
72 | 72 |
73 --- | 73 --- |
74 snippet: " | 74 snippet: " |
75 var a = 10; return delete a; | 75 var a = 10; return delete a; |
76 " | 76 " |
77 frame size: 1 | 77 frame size: 1 |
78 parameter count: 1 | 78 parameter count: 1 |
79 bytecode array length: 7 | 79 bytecode array length: 7 |
80 bytecodes: [ | 80 bytecodes: [ |
81 /* 30 E> */ B(StackCheck), | 81 /* 30 E> */ B(StackCheck), |
82 /* 42 S> */ B(LdaSmi), U8(10), | 82 /* 42 S> */ B(LdaSmi), I8(10), |
83 B(Star), R(0), | 83 B(Star), R(0), |
84 /* 46 S> */ B(LdaFalse), | 84 /* 46 S> */ B(LdaFalse), |
85 /* 63 S> */ B(Return), | 85 /* 63 S> */ B(Return), |
86 ] | 86 ] |
87 constant pool: [ | 87 constant pool: [ |
88 ] | 88 ] |
89 handlers: [ | 89 handlers: [ |
90 ] | 90 ] |
91 | 91 |
92 --- | 92 --- |
93 snippet: " | 93 snippet: " |
94 'use strict'; | 94 'use strict'; |
95 var a = {1:10}; | 95 var a = {1:10}; |
96 (function f1() {return a;}); | 96 (function f1() {return a;}); |
97 return delete a[1]; | 97 return delete a[1]; |
98 " | 98 " |
99 frame size: 2 | 99 frame size: 2 |
100 parameter count: 1 | 100 parameter count: 1 |
101 bytecode array length: 27 | 101 bytecode array length: 27 |
102 bytecodes: [ | 102 bytecodes: [ |
103 B(CreateFunctionContext), U8(1), | 103 B(CreateFunctionContext), U8(1), |
104 B(PushContext), R(0), | 104 B(PushContext), R(0), |
105 /* 30 E> */ B(StackCheck), | 105 /* 30 E> */ B(StackCheck), |
106 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), | 106 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), |
107 B(Ldar), R(1), | 107 B(Ldar), R(1), |
108 /* 56 E> */ B(StaCurrentContextSlot), U8(4), | 108 /* 56 E> */ B(StaCurrentContextSlot), U8(4), |
109 /* 64 S> */ B(CreateClosure), U8(1), U8(2), U8(2), | 109 /* 64 S> */ B(CreateClosure), U8(1), U8(2), U8(2), |
110 /* 93 S> */ B(LdaCurrentContextSlot), U8(4), | 110 /* 93 S> */ B(LdaCurrentContextSlot), U8(4), |
111 B(Star), R(1), | 111 B(Star), R(1), |
112 B(LdaSmi), U8(1), | 112 B(LdaSmi), I8(1), |
113 B(DeletePropertyStrict), R(1), | 113 B(DeletePropertyStrict), R(1), |
114 /* 113 S> */ B(Return), | 114 /* 113 S> */ B(Return), |
115 ] | 115 ] |
116 constant pool: [ | 116 constant pool: [ |
117 FIXED_ARRAY_TYPE, | 117 FIXED_ARRAY_TYPE, |
118 SHARED_FUNCTION_INFO_TYPE, | 118 SHARED_FUNCTION_INFO_TYPE, |
119 ] | 119 ] |
120 handlers: [ | 120 handlers: [ |
121 ] | 121 ] |
122 | 122 |
123 --- | 123 --- |
124 snippet: " | 124 snippet: " |
125 return delete 'test'; | 125 return delete 'test'; |
126 " | 126 " |
127 frame size: 0 | 127 frame size: 0 |
128 parameter count: 1 | 128 parameter count: 1 |
129 bytecode array length: 3 | 129 bytecode array length: 3 |
130 bytecodes: [ | 130 bytecodes: [ |
131 /* 30 E> */ B(StackCheck), | 131 /* 30 E> */ B(StackCheck), |
132 /* 34 S> */ B(LdaTrue), | 132 /* 34 S> */ B(LdaTrue), |
133 /* 56 S> */ B(Return), | 133 /* 56 S> */ B(Return), |
134 ] | 134 ] |
135 constant pool: [ | 135 constant pool: [ |
136 ] | 136 ] |
137 handlers: [ | 137 handlers: [ |
138 ] | 138 ] |
139 | 139 |
OLD | NEW |