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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 ] | 101 ] |
102 handlers: [ | 102 handlers: [ |
103 ] | 103 ] |
104 | 104 |
105 --- | 105 --- |
106 snippet: " | 106 snippet: " |
107 var a = 1; (function f() { return a; }); a |= 24; | 107 var a = 1; (function f() { return a; }); a |= 24; |
108 " | 108 " |
109 frame size: 2 | 109 frame size: 2 |
110 parameter count: 1 | 110 parameter count: 1 |
111 bytecode array length: 26 | 111 bytecode array length: 29 |
112 bytecodes: [ | 112 bytecodes: [ |
113 B(CreateFunctionContext), U8(1), | 113 B(CreateFunctionContext), U8(1), |
114 B(PushContext), R(0), | 114 B(PushContext), R(0), |
115 /* 30 E> */ B(StackCheck), | 115 /* 30 E> */ B(StackCheck), |
116 /* 42 S> */ B(LdaSmi), U8(1), | 116 /* 42 S> */ B(LdaSmi), U8(1), |
117 /* 42 E> */ B(StaContextSlot), R(context), U8(4), | 117 /* 42 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
118 /* 45 S> */ B(CreateClosure), U8(0), U8(2), | 118 /* 45 S> */ B(CreateClosure), U8(0), U8(2), |
119 /* 75 S> */ B(LdrContextSlot), R(context), U8(4), R(1), | 119 /* 75 S> */ B(LdrContextSlot), R(context), U8(4), U8(0), R(1), |
120 B(BitwiseOrSmi), U8(24), R(1), U8(1), | 120 B(BitwiseOrSmi), U8(24), R(1), U8(1), |
121 /* 77 E> */ B(StaContextSlot), R(context), U8(4), | 121 /* 77 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
122 B(LdaUndefined), | 122 B(LdaUndefined), |
123 /* 84 S> */ B(Return), | 123 /* 84 S> */ B(Return), |
124 ] | 124 ] |
125 constant pool: [ | 125 constant pool: [ |
126 SHARED_FUNCTION_INFO_TYPE, | 126 SHARED_FUNCTION_INFO_TYPE, |
127 ] | 127 ] |
128 handlers: [ | 128 handlers: [ |
129 ] | 129 ] |
130 | 130 |
OLD | NEW |