OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 execute: yes | 6 execute: yes |
7 wrap: yes | 7 wrap: yes |
8 | 8 |
9 --- | 9 --- |
10 snippet: " | 10 snippet: " |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 92 |
93 --- | 93 --- |
94 snippet: " | 94 snippet: " |
95 'use strict'; | 95 'use strict'; |
96 var a = {1:10}; | 96 var a = {1:10}; |
97 (function f1() {return a;}); | 97 (function f1() {return a;}); |
98 return delete a[1]; | 98 return delete a[1]; |
99 " | 99 " |
100 frame size: 2 | 100 frame size: 2 |
101 parameter count: 1 | 101 parameter count: 1 |
102 bytecode array length: 27 | 102 bytecode array length: 29 |
103 bytecodes: [ | 103 bytecodes: [ |
104 B(CreateFunctionContext), U8(1), | 104 B(CreateFunctionContext), U8(1), |
105 B(PushContext), R(0), | 105 B(PushContext), R(0), |
106 /* 30 E> */ B(StackCheck), | 106 /* 30 E> */ B(StackCheck), |
107 /* 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), |
108 B(Ldar), R(1), | 108 B(Ldar), R(1), |
109 /* 56 E> */ B(StaContextSlot), R(context), U8(4), | 109 /* 56 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
110 /* 64 S> */ B(CreateClosure), U8(1), U8(2), | 110 /* 64 S> */ B(CreateClosure), U8(1), U8(2), |
111 /* 93 S> */ B(LdrContextSlot), R(context), U8(4), R(1), | 111 /* 93 S> */ B(LdrContextSlot), R(context), U8(4), U8(0), R(1), |
112 B(LdaSmi), U8(1), | 112 B(LdaSmi), U8(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 |