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: f | 9 test function name: f |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 constant pool: [ | 25 constant pool: [ |
26 ] | 26 ] |
27 handlers: [ | 27 handlers: [ |
28 ] | 28 ] |
29 | 29 |
30 --- | 30 --- |
31 snippet: " | 31 snippet: " |
32 function f(a) { return %IsArray(a) } | 32 function f(a) { return %IsArray(a) } |
33 f(undefined); | 33 f(undefined); |
34 " | 34 " |
35 frame size: 1 | 35 frame size: 0 |
36 parameter count: 2 | 36 parameter count: 2 |
37 bytecode array length: 11 | 37 bytecode array length: 7 |
38 bytecodes: [ | 38 bytecodes: [ |
39 /* 10 E> */ B(StackCheck), | 39 /* 10 E> */ B(StackCheck), |
40 /* 16 S> */ B(Ldar), R(arg0), | 40 /* 16 S> */ B(CallRuntime), U16(Runtime::kIsArray), R(arg0), U8(1), |
41 B(Star), R(0), | |
42 B(CallRuntime), U16(Runtime::kIsArray), R(0), U8(1), | |
43 /* 35 S> */ B(Return), | 41 /* 35 S> */ B(Return), |
44 ] | 42 ] |
45 constant pool: [ | 43 constant pool: [ |
46 ] | 44 ] |
47 handlers: [ | 45 handlers: [ |
48 ] | 46 ] |
49 | 47 |
50 --- | 48 --- |
51 snippet: " | 49 snippet: " |
52 function f() { return %Add(1, 2) } | 50 function f() { return %Add(1, 2) } |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 B(Star), R(1), | 82 B(Star), R(1), |
85 B(CallJSRuntime), U8(122), R(0), U8(2), | 83 B(CallJSRuntime), U8(122), R(0), U8(2), |
86 /* 44 S> */ B(Return), | 84 /* 44 S> */ B(Return), |
87 ] | 85 ] |
88 constant pool: [ | 86 constant pool: [ |
89 InstanceType::FIXED_ARRAY_TYPE, | 87 InstanceType::FIXED_ARRAY_TYPE, |
90 ] | 88 ] |
91 handlers: [ | 89 handlers: [ |
92 ] | 90 ] |
93 | 91 |
OLD | NEW |