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