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: no | 8 wrap: no |
9 test function name: test | 9 test function name: test |
10 | 10 |
11 --- | 11 --- |
12 snippet: " | 12 snippet: " |
13 var test; | 13 var test; |
14 (function() { | 14 (function() { |
15 class A { | 15 class A { |
16 method() { return 2; } | 16 method() { return 2; } |
17 } | 17 } |
18 class B extends A { | 18 class B extends A { |
19 method() { return super.method() + 1; } | 19 method() { return super.method() + 1; } |
20 } | 20 } |
21 test = new B().method; | 21 test = new B().method; |
22 test(); | 22 test(); |
23 })(); | 23 })(); |
24 " | 24 " |
25 frame size: 6 | 25 frame size: 6 |
26 parameter count: 1 | 26 parameter count: 1 |
27 bytecode array length: 35 | 27 bytecode array length: 36 |
28 bytecodes: [ | 28 bytecodes: [ |
29 B(Mov), R(closure), R(0), | 29 B(Mov), R(closure), R(0), |
30 /* 99 E> */ B(StackCheck), | 30 /* 99 E> */ B(StackCheck), |
31 /* 104 S> */ B(LdaConstant), U8(0), | 31 /* 104 S> */ B(LdaConstant), U8(0), |
32 /* 111 E> */ B(LdrKeyedProperty), R(closure), U8(3), R(4), | 32 /* 111 E> */ B(LdrKeyedProperty), R(closure), U8(3), R(4), |
33 B(LdaConstant), U8(1), | 33 B(LdaConstant), U8(1), |
34 B(Star), R(5), | 34 B(Star), R(5), |
35 B(Mov), R(this), R(3), | 35 B(Mov), R(this), R(3), |
36 B(CallRuntime), U16(Runtime::kLoadFromSuper), R(3), U8(3), | 36 B(CallRuntime), U16(Runtime::kLoadFromSuper), R(3), U8(3), |
37 B(Star), R(1), | 37 B(Star), R(1), |
38 /* 117 E> */ B(Call), R(1), R(this), U8(1), U8(1), | 38 /* 117 E> */ B(Call), R(1), R(this), U8(1), U8(1), |
39 B(Star), R(3), | 39 B(Star), R(3), |
40 B(AddSmi), U8(1), R(3), | 40 B(AddSmi), U8(1), R(3), U8(7), |
41 /* 131 S> */ B(Return), | 41 /* 131 S> */ B(Return), |
42 ] | 42 ] |
43 constant pool: [ | 43 constant pool: [ |
44 InstanceType::SYMBOL_TYPE, | 44 InstanceType::SYMBOL_TYPE, |
45 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 45 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
46 ] | 46 ] |
47 handlers: [ | 47 handlers: [ |
48 ] | 48 ] |
49 | 49 |
50 --- | 50 --- |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), | 194 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |
195 /* 139 S> */ B(Return), | 195 /* 139 S> */ B(Return), |
196 ] | 196 ] |
197 constant pool: [ | 197 constant pool: [ |
198 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 198 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
199 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 199 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
200 ] | 200 ] |
201 handlers: [ | 201 handlers: [ |
202 ] | 202 ] |
203 | 203 |
OLD | NEW |