1# 2# Autogenerated by generate-bytecode-expectations. 3# 4 5--- 6pool type: mixed 7execute: yes 8wrap: yes 9 10--- 11snippet: " 12 return [ 1, 2 ]; 13" 14frame size: 0 15parameter count: 1 16bytecode array length: 6 17bytecodes: [ 18 /* 30 E> */ B(StackCheck), 19 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), 20 /* 51 S> */ B(Return), 21] 22constant pool: [ 23 InstanceType::FIXED_ARRAY_TYPE, 24] 25handlers: [ 26] 27 28--- 29snippet: " 30 var a = 1; return [ a, a + 1 ]; 31" 32frame size: 3 33parameter count: 1 34bytecode array length: 35 35bytecodes: [ 36 /* 30 E> */ B(StackCheck), 37 /* 42 S> */ B(LdaSmi), U8(1), 38 B(Star), R(0), 39 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), 40 B(Star), R(2), 41 B(LdaZero), 42 B(Star), R(1), 43 B(Ldar), R(0), 44 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(1), 45 B(LdaSmi), U8(1), 46 B(Star), R(1), 47 B(LdaSmi), U8(1), 48 /* 57 E> */ B(Add), R(0), 49 B(StaKeyedPropertySloppy), R(2), R(1), U8(1), 50 B(Ldar), R(2), 51 /* 66 S> */ B(Return), 52] 53constant pool: [ 54 InstanceType::FIXED_ARRAY_TYPE, 55] 56handlers: [ 57] 58 59--- 60snippet: " 61 return [ [ 1, 2 ], [ 3 ] ]; 62" 63frame size: 0 64parameter count: 1 65bytecode array length: 6 66bytecodes: [ 67 /* 30 E> */ B(StackCheck), 68 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(2), 69 /* 62 S> */ B(Return), 70] 71constant pool: [ 72 InstanceType::FIXED_ARRAY_TYPE, 73] 74handlers: [ 75] 76 77--- 78snippet: " 79 var a = 1; return [ [ a, 2 ], [ a + 2 ] ]; 80" 81frame size: 5 82parameter count: 1 83bytecode array length: 65 84bytecodes: [ 85 /* 30 E> */ B(StackCheck), 86 /* 42 S> */ B(LdaSmi), U8(1), 87 B(Star), R(0), 88 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(2), 89 B(Star), R(2), 90 B(LdaZero), 91 B(Star), R(1), 92 B(CreateArrayLiteral), U8(1), U8(0), U8(3), 93 B(Star), R(4), 94 B(LdaZero), 95 B(Star), R(3), 96 B(Ldar), R(0), 97 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(1), 98 B(Ldar), R(4), 99 B(StaKeyedPropertySloppy), R(2), R(1), U8(5), 100 B(LdaSmi), U8(1), 101 B(Star), R(1), 102 B(CreateArrayLiteral), U8(2), U8(1), U8(3), 103 B(Star), R(4), 104 B(LdaZero), 105 B(Star), R(3), 106 B(LdaSmi), U8(2), 107 /* 66 E> */ B(Add), R(0), 108 B(StaKeyedPropertySloppy), R(4), R(3), U8(3), 109 B(Ldar), R(4), 110 B(StaKeyedPropertySloppy), R(2), R(1), U8(5), 111 B(Ldar), R(2), 112 /* 77 S> */ B(Return), 113] 114constant pool: [ 115 InstanceType::FIXED_ARRAY_TYPE, 116 InstanceType::FIXED_ARRAY_TYPE, 117 InstanceType::FIXED_ARRAY_TYPE, 118] 119handlers: [ 120] 121 122