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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 B(Star), R(1), | 83 B(Star), R(1), |
86 B(CallJSRuntime), U8(122), R(0), U8(2), | 84 B(CallJSRuntime), U8(122), R(0), U8(2), |
87 /* 44 S> */ B(Return), | 85 /* 44 S> */ B(Return), |
88 ] | 86 ] |
89 constant pool: [ | 87 constant pool: [ |
90 InstanceType::FIXED_ARRAY_TYPE, | 88 InstanceType::FIXED_ARRAY_TYPE, |
91 ] | 89 ] |
92 handlers: [ | 90 handlers: [ |
93 ] | 91 ] |
94 | 92 |
OLD | NEW |