OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: no | 6 wrap: no |
7 test function name: f | 7 test function name: f |
8 | 8 |
9 --- | 9 --- |
10 snippet: " | 10 snippet: " |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 --- | 57 --- |
58 snippet: " | 58 snippet: " |
59 var a = {x:13, y:14}; | 59 var a = {x:13, y:14}; |
60 function f() { | 60 function f() { |
61 return delete a; | 61 return delete a; |
62 }; | 62 }; |
63 f(); | 63 f(); |
64 " | 64 " |
65 frame size: 2 | 65 frame size: 2 |
66 parameter count: 1 | 66 parameter count: 1 |
67 bytecode array length: 16 | 67 bytecode array length: 14 |
68 bytecodes: [ | 68 bytecodes: [ |
69 /* 32 E> */ B(StackCheck), | 69 /* 32 E> */ B(StackCheck), |
70 /* 39 S> */ B(LdrContextSlot), R(context), U8(3), U8(0), R(0), | 70 /* 39 S> */ B(LdrCurrentContextSlot), U8(3), R(0), |
71 B(LdrContextSlot), R(0), U8(2), U8(0), R(1), | 71 B(LdrContextSlot), R(0), U8(2), U8(0), R(1), |
72 B(LdaConstant), U8(0), | 72 B(LdaConstant), U8(0), |
73 B(DeletePropertySloppy), R(1), | 73 B(DeletePropertySloppy), R(1), |
74 /* 56 S> */ B(Return), | 74 /* 56 S> */ B(Return), |
75 ] | 75 ] |
76 constant pool: [ | 76 constant pool: [ |
77 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], | 77 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
78 ] | 78 ] |
79 handlers: [ | 79 handlers: [ |
80 ] | 80 ] |
81 | 81 |
82 --- | 82 --- |
83 snippet: " | 83 snippet: " |
84 b = 30; | 84 b = 30; |
85 function f() { | 85 function f() { |
86 return delete b; | 86 return delete b; |
87 }; | 87 }; |
88 f(); | 88 f(); |
89 " | 89 " |
90 frame size: 2 | 90 frame size: 2 |
91 parameter count: 1 | 91 parameter count: 1 |
92 bytecode array length: 16 | 92 bytecode array length: 14 |
93 bytecodes: [ | 93 bytecodes: [ |
94 /* 18 E> */ B(StackCheck), | 94 /* 18 E> */ B(StackCheck), |
95 /* 25 S> */ B(LdrContextSlot), R(context), U8(3), U8(0), R(0), | 95 /* 25 S> */ B(LdrCurrentContextSlot), U8(3), R(0), |
96 B(LdrContextSlot), R(0), U8(2), U8(0), R(1), | 96 B(LdrContextSlot), R(0), U8(2), U8(0), R(1), |
97 B(LdaConstant), U8(0), | 97 B(LdaConstant), U8(0), |
98 B(DeletePropertySloppy), R(1), | 98 B(DeletePropertySloppy), R(1), |
99 /* 42 S> */ B(Return), | 99 /* 42 S> */ B(Return), |
100 ] | 100 ] |
101 constant pool: [ | 101 constant pool: [ |
102 ONE_BYTE_INTERNALIZED_STRING_TYPE ["b"], | 102 ONE_BYTE_INTERNALIZED_STRING_TYPE ["b"], |
103 ] | 103 ] |
104 handlers: [ | 104 handlers: [ |
105 ] | 105 ] |
106 | 106 |
OLD | NEW |