1# 2# Autogenerated by generate-bytecode-expectations. 3# 4 5--- 6pool type: mixed 7execute: yes 8wrap: no 9test function name: f 10 11--- 12snippet: " 13 function f() { %TheHole() } 14 f(); 15" 16frame size: 0 17parameter count: 1 18bytecode array length: 8 19bytecodes: [ 20 /* 10 E> */ B(StackCheck), 21 /* 15 S> */ B(CallRuntime), U16(Runtime::kTheHole), R(0), U8(0), 22 B(LdaUndefined), 23 /* 26 S> */ B(Return), 24] 25constant pool: [ 26] 27handlers: [ 28] 29 30--- 31snippet: " 32 function f(a) { return %IsArray(a) } 33 f(undefined); 34" 35frame size: 0 36parameter count: 2 37bytecode array length: 7 38bytecodes: [ 39 /* 10 E> */ B(StackCheck), 40 /* 16 S> */ B(CallRuntime), U16(Runtime::kIsArray), R(arg0), U8(1), 41 /* 35 S> */ B(Return), 42] 43constant pool: [ 44] 45handlers: [ 46] 47 48--- 49snippet: " 50 function f() { return %Add(1, 2) } 51 f(); 52" 53frame size: 2 54parameter count: 1 55bytecode array length: 15 56bytecodes: [ 57 /* 10 E> */ B(StackCheck), 58 /* 15 S> */ B(LdaSmi), U8(1), 59 B(Star), R(0), 60 B(LdaSmi), U8(2), 61 B(Star), R(1), 62 B(CallRuntime), U16(Runtime::kAdd), R(0), U8(2), 63 /* 33 S> */ B(Return), 64] 65constant pool: [ 66] 67handlers: [ 68] 69 70--- 71snippet: " 72 function f() { return %spread_iterable([1]) } 73 f(); 74" 75frame size: 2 76parameter count: 1 77bytecode array length: 14 78bytecodes: [ 79 /* 10 E> */ B(StackCheck), 80 /* 15 S> */ B(LdrUndefined), R(0), 81 B(CreateArrayLiteral), U8(0), U8(0), U8(3), 82 B(Star), R(1), 83 B(CallJSRuntime), U8(129), R(0), U8(2), 84 /* 44 S> */ B(Return), 85] 86constant pool: [ 87 InstanceType::FIXED_ARRAY_TYPE, 88] 89handlers: [ 90] 91 92