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