From 03a2b3a1a3a37aa36c0b9a744715c607e23807ae Mon Sep 17 00:00:00 2001 From: leszeks Date: Wed, 25 Jan 2017 09:39:24 -0800 Subject: [PATCH] [ignition] Expect 'I' for signed bytecode operands Because it was confusing seeing U8(negative value). Review-Url: https://codereview.chromium.org/2640273002 Cr-Commit-Position: refs/heads/master@{#42662} --- .../bytecode-expectations-printer.cc | 9 +- .../ArrayLiterals.golden | 12 +- .../AssignmentsInBinaryExpression.golden | 62 +- .../BasicBlockToBoolean.golden | 14 +- .../bytecode_expectations/BasicLoops.golden | 150 +-- .../BreakableBlocks.golden | 22 +- .../bytecode_expectations/CallGlobal.golden | 6 +- .../CallLookupSlot.golden | 4 +- .../bytecode_expectations/CallNew.golden | 8 +- .../bytecode_expectations/CallRuntime.golden | 4 +- .../ClassAndSuperClass.golden | 10 +- .../ClassDeclarations.golden | 32 +- .../CompoundExpressions.golden | 18 +- .../bytecode_expectations/Conditional.golden | 14 +- .../ConstVariable.golden | 10 +- .../ConstVariableContextSlot.golden | 10 +- .../ContextVariables.golden | 12 +- .../CountOperators.golden | 16 +- .../DeadCodeRemoval.golden | 10 +- .../DeclareGlobals.golden | 6 +- .../bytecode_expectations/Delete.golden | 6 +- .../bytecode_expectations/DoExpression.golden | 4 +- .../bytecode_expectations/Eval.golden | 4 +- .../bytecode_expectations/ForIn.golden | 14 +- .../bytecode_expectations/ForOf.golden | 64 +- .../FunctionLiterals.golden | 2 +- .../GenerateTestUndetectable.golden | 32 +- .../bytecode_expectations/Generators.golden | 108 +- .../GlobalCompoundExpressions.golden | 4 +- .../bytecode_expectations/GlobalDelete.golden | 2 +- .../bytecode_expectations/IfConditions.golden | 50 +- .../IntegerConstants.golden | 10 +- .../JumpsRequiringConstantWideOperands.golden | 10 +- .../bytecode_expectations/LetVariable.golden | 10 +- .../LetVariableContextSlot.golden | 10 +- .../LogicalExpressions.golden | 574 ++++----- .../bytecode_expectations/LookupSlot.golden | 22 +- .../LookupSlotInEval.golden | 4 +- .../LookupSlotWideInEval.golden | 4 +- .../bytecode_expectations/Modules.golden | 144 +-- .../bytecode_expectations/NewAndSpread.golden | 12 +- .../ObjectLiterals.golden | 16 +- .../bytecode_expectations/Parameters.golden | 4 +- .../PrimitiveExpressions.golden | 42 +- .../PrimitiveReturnStatements.golden | 10 +- .../bytecode_expectations/PropertyCall.golden | 6 +- .../PropertyLoads.golden | 4 +- .../PropertyStores.golden | 1036 ++++++++--------- .../RemoveRedundantLdar.golden | 12 +- .../bytecode_expectations/StoreGlobal.golden | 10 +- .../SuperCallAndSpread.golden | 2 +- .../bytecode_expectations/Switch.golden | 208 ++-- .../bytecode_expectations/Throw.golden | 4 +- .../bytecode_expectations/TryCatch.golden | 10 +- .../bytecode_expectations/TryFinally.golden | 28 +- .../bytecode_expectations/Typeof.golden | 2 +- .../UnaryOperators.golden | 28 +- .../WideRegisters.golden | 14 +- 58 files changed, 1480 insertions(+), 1475 deletions(-) diff --git a/test/cctest/interpreter/bytecode-expectations-printer.cc b/test/cctest/interpreter/bytecode-expectations-printer.cc index dcc4883058..6c9b64be8f 100644 --- a/test/cctest/interpreter/bytecode-expectations-printer.cc +++ b/test/cctest/interpreter/bytecode-expectations-printer.cc @@ -175,13 +175,13 @@ void BytecodeExpectationsPrinter::PrintBytecodeOperand( stream << '(' << register_value.index() << ')'; } } else { - stream << 'U' << size_tag << '('; - switch (op_type) { case OperandType::kFlag8: + stream << 'U' << size_tag << '('; stream << bytecode_iterator.GetFlagOperand(op_index); break; case OperandType::kIdx: { + stream << 'U' << size_tag << '('; uint32_t idx = bytecode_iterator.GetIndexOperand(op_index); if (bytecode == Bytecode::kCallJSRuntime && op_index == 0) { stream << "%" << NameForNativeContextIntrinsicIndex(idx); @@ -191,21 +191,26 @@ void BytecodeExpectationsPrinter::PrintBytecodeOperand( break; } case OperandType::kUImm: + stream << 'U' << size_tag << '('; stream << bytecode_iterator.GetUnsignedImmediateOperand(op_index); break; case OperandType::kImm: + stream << 'I' << size_tag << '('; stream << bytecode_iterator.GetImmediateOperand(op_index); break; case OperandType::kRegCount: + stream << 'U' << size_tag << '('; stream << bytecode_iterator.GetRegisterCountOperand(op_index); break; case OperandType::kRuntimeId: { + stream << 'U' << size_tag << '('; Runtime::FunctionId id = bytecode_iterator.GetRuntimeIdOperand(op_index); stream << "Runtime::k" << i::Runtime::FunctionForId(id)->name; break; } case OperandType::kIntrinsicId: { + stream << 'U' << size_tag << '('; Runtime::FunctionId id = bytecode_iterator.GetIntrinsicIdOperand(op_index); stream << "Runtime::k" << i::Runtime::FunctionForId(id)->name; diff --git a/test/cctest/interpreter/bytecode_expectations/ArrayLiterals.golden b/test/cctest/interpreter/bytecode_expectations/ArrayLiterals.golden index 2d57edf4a0..84d172fdf7 100644 --- a/test/cctest/interpreter/bytecode_expectations/ArrayLiterals.golden +++ b/test/cctest/interpreter/bytecode_expectations/ArrayLiterals.golden @@ -32,7 +32,7 @@ parameter count: 1 bytecode array length: 35 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), B(Star), R(2), @@ -40,9 +40,9 @@ bytecodes: [ B(Star), R(1), B(Ldar), R(0), /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(3), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - /* 59 E> */ B(AddSmi), U8(1), R(0), U8(2), + /* 59 E> */ B(AddSmi), I8(1), R(0), U8(2), B(StaKeyedPropertySloppy), R(2), R(1), U8(3), B(Ldar), R(2), /* 66 S> */ B(Return), @@ -80,7 +80,7 @@ parameter count: 1 bytecode array length: 65 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(0), B(Star), R(2), @@ -94,13 +94,13 @@ bytecodes: [ /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(2), B(Ldar), R(4), B(StaKeyedPropertySloppy), R(2), R(1), U8(7), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), B(CreateArrayLiteral), U8(2), U8(1), U8(9), B(Star), R(4), B(LdaZero), B(Star), R(3), - /* 68 E> */ B(AddSmi), U8(2), R(0), U8(4), + /* 68 E> */ B(AddSmi), I8(2), R(0), U8(4), B(StaKeyedPropertySloppy), R(4), R(3), U8(5), B(Ldar), R(4), B(StaKeyedPropertySloppy), R(2), R(1), U8(7), diff --git a/test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.golden b/test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.golden index 4ea65897ff..afc009f7d8 100644 --- a/test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.golden +++ b/test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.golden @@ -17,15 +17,15 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(LdaZero), B(Star), R(0), - /* 49 S> */ B(LdaSmi), U8(1), + /* 49 S> */ B(LdaSmi), I8(1), B(Star), R(1), - /* 52 S> */ B(LdaSmi), U8(2), + /* 52 S> */ B(LdaSmi), I8(2), B(Star), R(0), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(Star), R(1), - B(LdaSmi), U8(4), + B(LdaSmi), I8(4), B(Star), R(0), - B(LdaSmi), U8(5), + B(LdaSmi), I8(5), B(Star), R(1), /* 89 S> */ B(Return), ] @@ -45,9 +45,9 @@ parameter count: 1 bytecode array length: 13 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(55), + /* 42 S> */ B(LdaSmi), I8(55), B(Star), R(0), - /* 57 S> */ B(LdaSmi), U8(100), + /* 57 S> */ B(LdaSmi), I8(100), B(Star), R(0), B(Star), R(1), /* 65 S> */ B(Nop), @@ -69,14 +69,14 @@ parameter count: 1 bytecode array length: 28 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(55), + /* 42 S> */ B(LdaSmi), I8(55), B(Star), R(0), - /* 46 S> */ B(LdaSmi), U8(100), + /* 46 S> */ B(LdaSmi), I8(100), B(Mov), R(0), R(1), B(Star), R(0), /* 52 E> */ B(Add), R(1), U8(2), B(Star), R(1), - B(LdaSmi), U8(101), + B(LdaSmi), I8(101), B(Star), R(0), /* 64 E> */ B(Add), R(1), U8(3), B(Star), R(0), @@ -100,13 +100,13 @@ parameter count: 1 bytecode array length: 29 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(55), + /* 42 S> */ B(LdaSmi), I8(55), B(Star), R(0), - /* 46 S> */ B(LdaSmi), U8(56), + /* 46 S> */ B(LdaSmi), I8(56), B(Star), R(0), /* 59 E> */ B(Sub), R(0), U8(2), B(Star), R(1), - B(LdaSmi), U8(57), + B(LdaSmi), I8(57), B(Star), R(0), /* 63 E> */ B(Add), R(1), U8(3), B(Star), R(0), @@ -131,18 +131,18 @@ parameter count: 1 bytecode array length: 37 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(55), + /* 42 S> */ B(LdaSmi), I8(55), B(Star), R(0), - /* 76 S> */ B(LdaSmi), U8(1), + /* 76 S> */ B(LdaSmi), I8(1), B(Mov), R(0), R(2), B(Star), R(0), /* 56 E> */ B(Add), R(2), U8(2), B(Star), R(2), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(0), /* 66 E> */ B(Add), R(2), U8(3), B(Star), R(2), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(Star), R(0), /* 76 E> */ B(Add), R(2), U8(4), B(Star), R(1), @@ -165,18 +165,18 @@ parameter count: 1 bytecode array length: 37 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(55), + /* 42 S> */ B(LdaSmi), I8(55), B(Star), R(0), - /* 76 S> */ B(LdaSmi), U8(1), + /* 76 S> */ B(LdaSmi), I8(1), B(Mov), R(0), R(1), B(Star), R(0), /* 56 E> */ B(Add), R(1), U8(2), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(0), /* 66 E> */ B(Add), R(1), U8(3), B(Star), R(1), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(Star), R(0), /* 76 E> */ B(Add), R(1), U8(4), B(Star), R(0), @@ -198,31 +198,31 @@ parameter count: 1 bytecode array length: 72 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(10), + /* 42 S> */ B(LdaSmi), I8(10), B(Star), R(0), - /* 50 S> */ B(LdaSmi), U8(20), + /* 50 S> */ B(LdaSmi), I8(20), B(Star), R(1), - /* 54 S> */ B(LdaSmi), U8(1), + /* 54 S> */ B(LdaSmi), I8(1), B(Mov), R(0), R(2), B(Star), R(0), /* 63 E> */ B(Add), R(2), U8(2), B(Star), R(2), - /* 78 E> */ B(AddSmi), U8(1), R(0), U8(3), + /* 78 E> */ B(AddSmi), I8(1), R(0), U8(3), B(Star), R(3), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(1), /* 83 E> */ B(Mul), R(3), U8(4), /* 73 E> */ B(Add), R(2), U8(5), B(Star), R(2), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(Star), R(1), /* 93 E> */ B(Add), R(2), U8(6), B(Star), R(2), - B(LdaSmi), U8(4), + B(LdaSmi), I8(4), B(Star), R(0), /* 103 E> */ B(Add), R(2), U8(7), B(Star), R(2), - B(LdaSmi), U8(5), + B(LdaSmi), I8(5), B(Star), R(1), /* 113 E> */ B(Add), R(2), U8(8), B(Star), R(2), @@ -245,9 +245,9 @@ parameter count: 1 bytecode array length: 43 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(17), + /* 42 S> */ B(LdaSmi), I8(17), B(Star), R(0), - /* 46 S> */ B(LdaSmi), U8(1), + /* 46 S> */ B(LdaSmi), I8(1), B(Star), R(1), B(Ldar), R(0), /* 55 E> */ B(Add), R(1), U8(2), diff --git a/test/cctest/interpreter/bytecode_expectations/BasicBlockToBoolean.golden b/test/cctest/interpreter/bytecode_expectations/BasicBlockToBoolean.golden index 547e83590e..acb9c36ce3 100644 --- a/test/cctest/interpreter/bytecode_expectations/BasicBlockToBoolean.golden +++ b/test/cctest/interpreter/bytecode_expectations/BasicBlockToBoolean.golden @@ -14,13 +14,13 @@ parameter count: 1 bytecode array length: 18 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(JumpIfToBooleanTrue), U8(8), B(LdaZero), /* 56 E> */ B(TestLessThan), R(0), U8(2), B(JumpIfFalse), U8(5), - /* 63 S> */ B(LdaSmi), U8(1), + /* 63 S> */ B(LdaSmi), I8(1), /* 75 S> */ B(Return), B(LdaUndefined), /* 75 S> */ B(Return), @@ -39,13 +39,13 @@ parameter count: 1 bytecode array length: 18 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(JumpIfToBooleanFalse), U8(11), B(LdaZero), /* 56 E> */ B(TestLessThan), R(0), U8(2), B(JumpIfFalse), U8(5), - /* 63 S> */ B(LdaSmi), U8(1), + /* 63 S> */ B(LdaSmi), I8(1), /* 75 S> */ B(Return), B(LdaUndefined), /* 75 S> */ B(Return), @@ -64,15 +64,15 @@ parameter count: 1 bytecode array length: 23 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(JumpIfToBooleanTrue), U8(8), B(LdaZero), /* 57 E> */ B(TestLessThan), R(0), U8(2), B(JumpIfFalse), U8(6), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Jump), U8(4), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(Star), R(0), B(LdaUndefined), /* 71 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden b/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden index 10b054e6fd..3bb478f3c4 100644 --- a/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden +++ b/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden @@ -68,27 +68,27 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(LdaZero), B(Star), R(0), - /* 53 S> */ B(LdaSmi), U8(1), + /* 53 S> */ B(LdaSmi), I8(1), B(Star), R(1), - /* 65 S> */ B(LdaSmi), U8(10), + /* 65 S> */ B(LdaSmi), I8(10), /* 65 E> */ B(TestLessThan), R(0), U8(2), B(JumpIfFalse), U8(38), /* 56 E> */ B(StackCheck), - /* 75 S> */ B(LdaSmi), U8(12), + /* 75 S> */ B(LdaSmi), I8(12), /* 81 E> */ B(Mul), R(1), U8(3), B(Star), R(1), - /* 89 S> */ B(LdaSmi), U8(1), + /* 89 S> */ B(LdaSmi), I8(1), /* 95 E> */ B(Add), R(0), U8(4), B(Star), R(0), - /* 102 S> */ B(LdaSmi), U8(3), + /* 102 S> */ B(LdaSmi), I8(3), /* 108 E> */ B(TestEqual), R(0), U8(5), B(JumpIfFalse), U8(4), /* 114 S> */ B(Jump), U8(11), - /* 126 S> */ B(LdaSmi), U8(4), + /* 126 S> */ B(LdaSmi), I8(4), /* 132 E> */ B(TestEqual), R(0), U8(6), B(JumpIfFalse), U8(4), /* 138 S> */ B(Jump), U8(5), - B(JumpLoop), U8(40), U8(0), + B(JumpLoop), U8(40), I8(0), /* 147 S> */ B(Ldar), R(1), /* 157 S> */ B(Return), ] @@ -122,26 +122,26 @@ bytecodes: [ /* 68 E> */ B(TestLessThan), R(0), U8(2), B(JumpIfFalse), U8(4), /* 73 S> */ B(Jump), U8(45), - /* 85 S> */ B(LdaSmi), U8(3), + /* 85 S> */ B(LdaSmi), I8(3), /* 91 E> */ B(TestEqual), R(0), U8(3), B(JumpIfFalse), U8(4), /* 97 S> */ B(Jump), U8(39), - /* 106 S> */ B(LdaSmi), U8(4), + /* 106 S> */ B(LdaSmi), I8(4), /* 112 E> */ B(TestEqual), R(0), U8(4), B(JumpIfFalse), U8(4), /* 118 S> */ B(Jump), U8(30), - /* 127 S> */ B(LdaSmi), U8(10), + /* 127 S> */ B(LdaSmi), I8(10), /* 133 E> */ B(TestEqual), R(0), U8(5), B(JumpIfFalse), U8(4), /* 140 S> */ B(Jump), U8(18), - /* 152 S> */ B(LdaSmi), U8(5), + /* 152 S> */ B(LdaSmi), I8(5), /* 158 E> */ B(TestEqual), R(0), U8(6), B(JumpIfFalse), U8(4), /* 164 S> */ B(Jump), U8(12), - /* 173 S> */ B(LdaSmi), U8(1), + /* 173 S> */ B(LdaSmi), I8(1), /* 179 E> */ B(Add), R(0), U8(7), B(Star), R(0), - B(JumpLoop), U8(52), U8(0), + B(JumpLoop), U8(52), I8(0), /* 186 S> */ B(Ldar), R(0), /* 196 S> */ B(Return), ] @@ -171,19 +171,19 @@ bytecodes: [ /* 42 S> */ B(LdaZero), B(Star), R(0), /* 45 E> */ B(StackCheck), - /* 71 S> */ B(LdaSmi), U8(3), + /* 71 S> */ B(LdaSmi), I8(3), /* 71 E> */ B(TestLessThan), R(0), U8(2), B(JumpIfFalse), U8(22), /* 62 E> */ B(StackCheck), - /* 82 S> */ B(LdaSmi), U8(2), + /* 82 S> */ B(LdaSmi), I8(2), /* 88 E> */ B(TestEqual), R(0), U8(3), B(JumpIfFalse), U8(4), /* 94 S> */ B(Jump), U8(12), - /* 105 S> */ B(LdaSmi), U8(1), + /* 105 S> */ B(LdaSmi), I8(1), /* 111 E> */ B(Add), R(0), U8(4), B(Star), R(0), - B(JumpLoop), U8(24), U8(1), - /* 122 S> */ B(LdaSmi), U8(1), + B(JumpLoop), U8(24), I8(1), + /* 122 S> */ B(LdaSmi), I8(1), /* 128 E> */ B(Add), R(0), U8(5), B(Star), R(0), /* 135 S> */ B(Jump), U8(2), @@ -210,20 +210,20 @@ parameter count: 1 bytecode array length: 34 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(10), + /* 42 S> */ B(LdaSmi), I8(10), B(Star), R(0), - /* 54 S> */ B(LdaSmi), U8(1), + /* 54 S> */ B(LdaSmi), I8(1), B(Star), R(1), /* 64 S> */ B(Ldar), R(0), B(JumpIfToBooleanFalse), U8(20), /* 57 E> */ B(StackCheck), - /* 71 S> */ B(LdaSmi), U8(12), + /* 71 S> */ B(LdaSmi), I8(12), /* 77 E> */ B(Mul), R(1), U8(2), B(Star), R(1), - /* 85 S> */ B(LdaSmi), U8(1), + /* 85 S> */ B(LdaSmi), I8(1), /* 91 E> */ B(Sub), R(0), U8(3), B(Star), R(0), - B(JumpLoop), U8(19), U8(0), + B(JumpLoop), U8(19), I8(0), /* 98 S> */ B(Ldar), R(1), /* 108 S> */ B(Return), ] @@ -250,27 +250,27 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(LdaZero), B(Star), R(0), - /* 53 S> */ B(LdaSmi), U8(1), + /* 53 S> */ B(LdaSmi), I8(1), B(Star), R(1), /* 56 E> */ B(StackCheck), - /* 63 S> */ B(LdaSmi), U8(10), + /* 63 S> */ B(LdaSmi), I8(10), /* 69 E> */ B(Mul), R(1), U8(2), B(Star), R(1), - /* 77 S> */ B(LdaSmi), U8(5), + /* 77 S> */ B(LdaSmi), I8(5), /* 83 E> */ B(TestEqual), R(0), U8(3), B(JumpIfFalse), U8(4), /* 89 S> */ B(Jump), U8(28), - /* 98 S> */ B(LdaSmi), U8(6), + /* 98 S> */ B(LdaSmi), I8(6), /* 104 E> */ B(TestEqual), R(0), U8(4), B(JumpIfFalse), U8(4), /* 110 S> */ B(Jump), U8(9), - /* 122 S> */ B(LdaSmi), U8(1), + /* 122 S> */ B(LdaSmi), I8(1), /* 128 E> */ B(Add), R(0), U8(5), B(Star), R(0), - /* 144 S> */ B(LdaSmi), U8(10), + /* 144 S> */ B(LdaSmi), I8(10), /* 144 E> */ B(TestLessThan), R(0), U8(6), B(JumpIfFalse), U8(5), - B(JumpLoop), U8(40), U8(0), + B(JumpLoop), U8(40), I8(0), /* 151 S> */ B(Ldar), R(1), /* 161 S> */ B(Return), ] @@ -294,19 +294,19 @@ parameter count: 1 bytecode array length: 32 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(10), + /* 42 S> */ B(LdaSmi), I8(10), B(Star), R(0), - /* 54 S> */ B(LdaSmi), U8(1), + /* 54 S> */ B(LdaSmi), I8(1), B(Star), R(1), /* 57 E> */ B(StackCheck), - /* 64 S> */ B(LdaSmi), U8(12), + /* 64 S> */ B(LdaSmi), I8(12), /* 70 E> */ B(Mul), R(1), U8(2), B(Star), R(1), - /* 78 S> */ B(LdaSmi), U8(1), + /* 78 S> */ B(LdaSmi), I8(1), /* 84 E> */ B(Sub), R(0), U8(3), B(Star), R(0), /* 98 S> */ B(JumpIfToBooleanFalse), U8(5), - B(JumpLoop), U8(17), U8(0), + B(JumpLoop), U8(17), I8(0), /* 102 S> */ B(Ldar), R(1), /* 112 S> */ B(Return), ] @@ -333,20 +333,20 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(LdaZero), B(Star), R(0), - /* 53 S> */ B(LdaSmi), U8(1), + /* 53 S> */ B(LdaSmi), I8(1), B(Star), R(1), /* 56 E> */ B(StackCheck), - /* 63 S> */ B(LdaSmi), U8(10), + /* 63 S> */ B(LdaSmi), I8(10), /* 69 E> */ B(Mul), R(1), U8(2), B(Star), R(1), - /* 77 S> */ B(LdaSmi), U8(5), + /* 77 S> */ B(LdaSmi), I8(5), /* 83 E> */ B(TestEqual), R(0), U8(3), B(JumpIfFalse), U8(4), /* 89 S> */ B(Jump), U8(18), - /* 98 S> */ B(LdaSmi), U8(1), + /* 98 S> */ B(LdaSmi), I8(1), /* 104 E> */ B(Add), R(0), U8(4), B(Star), R(0), - /* 111 S> */ B(LdaSmi), U8(6), + /* 111 S> */ B(LdaSmi), I8(6), /* 117 E> */ B(TestEqual), R(0), U8(5), B(JumpIfFalse), U8(4), /* 123 S> */ B(Jump), U8(2), @@ -376,24 +376,24 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(LdaZero), B(Star), R(0), - /* 53 S> */ B(LdaSmi), U8(1), + /* 53 S> */ B(LdaSmi), I8(1), B(Star), R(1), /* 56 E> */ B(StackCheck), - /* 63 S> */ B(LdaSmi), U8(10), + /* 63 S> */ B(LdaSmi), I8(10), /* 69 E> */ B(Mul), R(1), U8(2), B(Star), R(1), - /* 77 S> */ B(LdaSmi), U8(5), + /* 77 S> */ B(LdaSmi), I8(5), /* 83 E> */ B(TestEqual), R(0), U8(3), B(JumpIfFalse), U8(4), /* 89 S> */ B(Jump), U8(21), - /* 98 S> */ B(LdaSmi), U8(1), + /* 98 S> */ B(LdaSmi), I8(1), /* 104 E> */ B(Add), R(0), U8(4), B(Star), R(0), - /* 111 S> */ B(LdaSmi), U8(6), + /* 111 S> */ B(LdaSmi), I8(6), /* 117 E> */ B(TestEqual), R(0), U8(5), B(JumpIfFalse), U8(4), /* 123 S> */ B(Jump), U8(2), - B(JumpLoop), U8(33), U8(0), + B(JumpLoop), U8(33), I8(0), /* 149 S> */ B(Ldar), R(1), /* 159 S> */ B(Return), ] @@ -419,18 +419,18 @@ bytecodes: [ /* 42 S> */ B(LdaZero), B(Star), R(0), /* 45 E> */ B(StackCheck), - /* 58 S> */ B(LdaSmi), U8(1), + /* 58 S> */ B(LdaSmi), I8(1), /* 64 E> */ B(TestEqual), R(0), U8(2), B(JumpIfFalse), U8(4), /* 70 S> */ B(Jump), U8(21), - /* 79 S> */ B(LdaSmi), U8(2), + /* 79 S> */ B(LdaSmi), I8(2), /* 85 E> */ B(TestEqual), R(0), U8(3), B(JumpIfFalse), U8(4), /* 91 S> */ B(Jump), U8(9), - /* 103 S> */ B(LdaSmi), U8(1), + /* 103 S> */ B(LdaSmi), I8(1), /* 109 E> */ B(Add), R(0), U8(4), B(Star), R(0), - B(JumpLoop), U8(26), U8(0), + B(JumpLoop), U8(26), I8(0), B(LdaUndefined), /* 116 S> */ B(Return), ] @@ -455,18 +455,18 @@ bytecodes: [ /* 47 S> */ B(LdaZero), B(Star), R(0), /* 34 E> */ B(StackCheck), - /* 56 S> */ B(LdaSmi), U8(1), + /* 56 S> */ B(LdaSmi), I8(1), /* 62 E> */ B(TestEqual), R(0), U8(2), B(JumpIfFalse), U8(4), /* 68 S> */ B(Jump), U8(21), - /* 77 S> */ B(LdaSmi), U8(2), + /* 77 S> */ B(LdaSmi), I8(2), /* 83 E> */ B(TestEqual), R(0), U8(3), B(JumpIfFalse), U8(4), /* 89 S> */ B(Jump), U8(9), - /* 101 S> */ B(LdaSmi), U8(1), + /* 101 S> */ B(LdaSmi), I8(1), /* 107 E> */ B(Add), R(0), U8(4), B(Star), R(0), - B(JumpLoop), U8(26), U8(0), + B(JumpLoop), U8(26), I8(0), B(LdaUndefined), /* 114 S> */ B(Return), ] @@ -491,18 +491,18 @@ bytecodes: [ /* 42 S> */ B(LdaZero), B(Star), R(0), /* 45 E> */ B(StackCheck), - /* 68 S> */ B(LdaSmi), U8(1), + /* 68 S> */ B(LdaSmi), I8(1), /* 74 E> */ B(TestEqual), R(0), U8(3), B(JumpIfFalse), U8(4), /* 80 S> */ B(Jump), U8(21), - /* 89 S> */ B(LdaSmi), U8(2), + /* 89 S> */ B(LdaSmi), I8(2), /* 95 E> */ B(TestEqual), R(0), U8(4), B(JumpIfFalse), U8(4), /* 101 S> */ B(Jump), U8(2), - /* 55 S> */ B(LdaSmi), U8(1), + /* 55 S> */ B(LdaSmi), I8(1), /* 59 E> */ B(Add), R(0), U8(2), B(Star), R(0), - B(JumpLoop), U8(26), U8(0), + B(JumpLoop), U8(26), I8(0), B(LdaUndefined), /* 113 S> */ B(Return), ] @@ -526,18 +526,18 @@ bytecodes: [ /* 47 S> */ B(LdaZero), B(Star), R(0), /* 34 E> */ B(StackCheck), - /* 66 S> */ B(LdaSmi), U8(1), + /* 66 S> */ B(LdaSmi), I8(1), /* 72 E> */ B(TestEqual), R(0), U8(3), B(JumpIfFalse), U8(4), /* 78 S> */ B(Jump), U8(21), - /* 87 S> */ B(LdaSmi), U8(2), + /* 87 S> */ B(LdaSmi), I8(2), /* 93 E> */ B(TestEqual), R(0), U8(4), B(JumpIfFalse), U8(4), /* 99 S> */ B(Jump), U8(2), - /* 53 S> */ B(LdaSmi), U8(1), + /* 53 S> */ B(LdaSmi), I8(1), /* 57 E> */ B(Add), R(0), U8(2), B(Star), R(0), - B(JumpLoop), U8(26), U8(0), + B(JumpLoop), U8(26), I8(0), B(LdaUndefined), /* 111 S> */ B(Return), ] @@ -563,18 +563,18 @@ bytecodes: [ B(Star), R(0), /* 58 S> */ B(LdaZero), B(Star), R(1), - /* 63 S> */ B(LdaSmi), U8(100), + /* 63 S> */ B(LdaSmi), I8(100), /* 63 E> */ B(TestLessThan), R(1), U8(2), B(JumpIfFalse), U8(22), /* 45 E> */ B(StackCheck), - /* 85 S> */ B(LdaSmi), U8(1), + /* 85 S> */ B(LdaSmi), I8(1), /* 91 E> */ B(Add), R(0), U8(4), B(Star), R(0), /* 98 S> */ B(Jump), U8(2), - /* 72 S> */ B(LdaSmi), U8(1), + /* 72 S> */ B(LdaSmi), I8(1), /* 76 E> */ B(Add), R(1), U8(3), B(Star), R(1), - B(JumpLoop), U8(24), U8(0), + B(JumpLoop), U8(24), I8(0), B(LdaUndefined), /* 110 S> */ B(Return), ] @@ -596,20 +596,20 @@ parameter count: 1 bytecode array length: 33 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), - /* 58 S> */ B(LdaSmi), U8(10), + /* 58 S> */ B(LdaSmi), I8(10), B(Star), R(1), /* 62 S> */ B(Ldar), R(1), B(JumpIfToBooleanFalse), U8(19), /* 45 E> */ B(StackCheck), - /* 74 S> */ B(LdaSmi), U8(12), + /* 74 S> */ B(LdaSmi), I8(12), /* 80 E> */ B(Mul), R(0), U8(3), B(Star), R(0), /* 67 S> */ B(Ldar), R(1), B(Dec), U8(2), B(Star), R(1), - B(JumpLoop), U8(18), U8(0), + B(JumpLoop), U8(18), I8(0), /* 88 S> */ B(Ldar), R(0), /* 98 S> */ B(Return), ] @@ -662,17 +662,17 @@ bytecodes: [ /* 58 S> */ B(LdaZero), B(Star), R(1), /* 45 E> */ B(StackCheck), - /* 76 S> */ B(LdaSmi), U8(1), + /* 76 S> */ B(LdaSmi), I8(1), /* 82 E> */ B(Add), R(0), U8(3), B(Star), R(0), - /* 89 S> */ B(LdaSmi), U8(20), + /* 89 S> */ B(LdaSmi), I8(20), /* 95 E> */ B(TestEqual), R(0), U8(4), B(JumpIfFalse), U8(4), /* 102 S> */ B(Jump), U8(11), /* 69 S> */ B(Ldar), R(1), B(Inc), U8(2), B(Star), R(1), - B(JumpLoop), U8(23), U8(0), + B(JumpLoop), U8(23), I8(0), /* 112 S> */ B(Ldar), R(0), /* 122 S> */ B(Return), ] @@ -710,7 +710,7 @@ bytecodes: [ B(StaCurrentContextSlot), U8(4), B(CreateClosure), U8(1), U8(2), U8(2), B(Star), R(0), - /* 73 S> */ B(LdaSmi), U8(1), + /* 73 S> */ B(LdaSmi), I8(1), /* 73 E> */ B(StaCurrentContextSlot), U8(4), B(Mov), R(0), R(2), /* 106 S> */ B(LdaCurrentContextSlot), U8(4), @@ -722,7 +722,7 @@ bytecodes: [ B(Inc), U8(3), /* 127 E> */ B(StaCurrentContextSlot), U8(4), B(PopContext), R(3), - B(JumpLoop), U8(45), U8(0), + B(JumpLoop), U8(45), I8(0), B(LdaUndefined), /* 137 S> */ B(Return), ] diff --git a/test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden b/test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden index 2b8f6e20cd..61915b27ea 100644 --- a/test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden +++ b/test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden @@ -22,7 +22,7 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(LdaZero), B(Star), R(0), - /* 56 S> */ B(LdaSmi), U8(1), + /* 56 S> */ B(LdaSmi), I8(1), /* 62 E> */ B(Add), R(0), U8(2), B(Star), R(0), /* 69 S> */ B(Jump), U8(2), @@ -56,13 +56,13 @@ bytecodes: [ B(Star), R(0), /* 71 S> */ B(LdaZero), B(Star), R(1), - /* 76 S> */ B(LdaSmi), U8(10), + /* 76 S> */ B(LdaSmi), I8(10), /* 76 E> */ B(TestLessThan), R(1), U8(2), B(JumpIfFalse), U8(54), /* 58 E> */ B(StackCheck), /* 106 S> */ B(LdaZero), B(Star), R(2), - /* 111 S> */ B(LdaSmi), U8(3), + /* 111 S> */ B(LdaSmi), I8(3), /* 111 E> */ B(TestLessThan), R(2), U8(4), B(JumpIfFalse), U8(34), /* 93 E> */ B(StackCheck), @@ -72,18 +72,18 @@ bytecodes: [ /* 142 S> */ B(Ldar), R(2), /* 148 E> */ B(Add), R(1), U8(7), B(Star), R(3), - B(LdaSmi), U8(12), + B(LdaSmi), I8(12), /* 152 E> */ B(TestEqual), R(3), U8(8), B(JumpIfFalse), U8(4), /* 161 S> */ B(Jump), U8(20), /* 118 S> */ B(Ldar), R(2), B(Inc), U8(5), B(Star), R(2), - B(JumpLoop), U8(36), U8(1), + B(JumpLoop), U8(36), I8(1), /* 84 S> */ B(Ldar), R(1), B(Inc), U8(3), B(Star), R(1), - B(JumpLoop), U8(56), U8(0), + B(JumpLoop), U8(56), I8(0), /* 188 S> */ B(Ldar), R(0), /* 200 S> */ B(Return), ] @@ -112,7 +112,7 @@ bytecodes: [ B(StaCurrentContextSlot), U8(4), B(CreateClosure), U8(1), U8(2), U8(2), B(Star), R(0), - /* 53 S> */ B(LdaSmi), U8(10), + /* 53 S> */ B(LdaSmi), I8(10), /* 53 E> */ B(StaCurrentContextSlot), U8(4), B(Mov), R(0), R(1), B(Ldar), R(0), @@ -150,7 +150,7 @@ bytecodes: [ B(LdaTheHole), B(StaCurrentContextSlot), U8(4), /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), /* 42 E> */ B(StaCurrentContextSlot), U8(4), B(Ldar), R(closure), B(CreateBlockContext), U8(0), @@ -159,17 +159,17 @@ bytecodes: [ B(StaCurrentContextSlot), U8(4), B(CreateClosure), U8(1), U8(2), U8(2), B(Star), R(0), - /* 76 S> */ B(LdaSmi), U8(2), + /* 76 S> */ B(LdaSmi), I8(2), /* 76 E> */ B(StaCurrentContextSlot), U8(4), B(Mov), R(0), R(1), /* 118 S> */ B(LdaCurrentContextSlot), U8(4), B(JumpIfToBooleanFalse), U8(6), /* 125 S> */ B(PopContext), R(3), B(Jump), U8(8), - /* 142 S> */ B(LdaSmi), U8(3), + /* 142 S> */ B(LdaSmi), I8(3), /* 144 E> */ B(StaCurrentContextSlot), U8(4), B(PopContext), R(3), - /* 155 S> */ B(LdaSmi), U8(4), + /* 155 S> */ B(LdaSmi), I8(4), /* 157 E> */ B(StaCurrentContextSlot), U8(4), B(LdaUndefined), /* 162 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/CallGlobal.golden b/test/cctest/interpreter/bytecode_expectations/CallGlobal.golden index beb9a30222..88bf4420f2 100644 --- a/test/cctest/interpreter/bytecode_expectations/CallGlobal.golden +++ b/test/cctest/interpreter/bytecode_expectations/CallGlobal.golden @@ -45,11 +45,11 @@ bytecodes: [ B(Star), R(1), B(LdaGlobal), U8(0), U8(4), B(Star), R(0), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(2), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(3), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(Star), R(4), /* 46 E> */ B(Call), R(0), R(1), U8(4), U8(2), /* 58 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden b/test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden index cad09007e5..fc7a6f7843 100644 --- a/test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden +++ b/test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden @@ -32,9 +32,9 @@ bytecodes: [ B(Star), R(3), B(LdaZero), B(Star), R(7), - B(LdaSmi), U8(30), + B(LdaSmi), I8(30), B(Star), R(8), - B(LdaSmi), U8(52), + B(LdaSmi), I8(52), B(Star), R(9), B(Mov), R(1), R(4), B(Mov), R(3), R(5), diff --git a/test/cctest/interpreter/bytecode_expectations/CallNew.golden b/test/cctest/interpreter/bytecode_expectations/CallNew.golden index f60f73e065..e0aa541055 100644 --- a/test/cctest/interpreter/bytecode_expectations/CallNew.golden +++ b/test/cctest/interpreter/bytecode_expectations/CallNew.golden @@ -41,7 +41,7 @@ bytecodes: [ /* 58 E> */ B(StackCheck), /* 63 S> */ B(LdaGlobal), U8(0), U8(4), B(Star), R(0), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(Star), R(1), B(Ldar), R(0), /* 70 E> */ B(New), R(0), R(1), U8(1), U8(2), @@ -71,11 +71,11 @@ bytecodes: [ /* 100 E> */ B(StackCheck), /* 105 S> */ B(LdaGlobal), U8(0), U8(4), B(Star), R(0), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(Star), R(1), - B(LdaSmi), U8(4), + B(LdaSmi), I8(4), B(Star), R(2), - B(LdaSmi), U8(5), + B(LdaSmi), I8(5), B(Star), R(3), B(Ldar), R(0), /* 112 E> */ B(New), R(0), R(1), U8(3), U8(2), diff --git a/test/cctest/interpreter/bytecode_expectations/CallRuntime.golden b/test/cctest/interpreter/bytecode_expectations/CallRuntime.golden index 31e697590e..70ed45e08b 100644 --- a/test/cctest/interpreter/bytecode_expectations/CallRuntime.golden +++ b/test/cctest/interpreter/bytecode_expectations/CallRuntime.golden @@ -53,9 +53,9 @@ parameter count: 1 bytecode array length: 15 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 15 S> */ B(LdaSmi), U8(1), + /* 15 S> */ B(LdaSmi), I8(1), B(Star), R(0), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(1), B(CallRuntime), U16(Runtime::kAdd), R(0), U8(2), /* 33 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden b/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden index 0c41685b86..8e0a59e164 100644 --- a/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden +++ b/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden @@ -36,7 +36,7 @@ bytecodes: [ B(Star), R(1), /* 117 E> */ B(Call), R(1), R(this), U8(1), U8(2), B(Star), R(1), - /* 126 E> */ B(AddSmi), U8(1), R(1), U8(8), + /* 126 E> */ B(AddSmi), I8(1), R(1), U8(8), /* 131 S> */ B(Return), ] constant pool: [ @@ -72,7 +72,7 @@ bytecodes: [ B(Star), R(2), B(LdaConstant), U8(1), B(Star), R(3), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(4), B(Mov), R(this), R(1), /* 138 E> */ B(CallRuntime), U16(Runtime::kStoreToSuper_Strict), R(1), U8(4), @@ -115,7 +115,7 @@ bytecodes: [ /* 113 E> */ B(StackCheck), /* 118 S> */ B(Ldar), R(1), B(GetSuperConstructor), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(3), B(Ldar), R(0), /* 118 E> */ B(New), R(2), R(3), U8(1), U8(2), @@ -131,7 +131,7 @@ bytecodes: [ B(Star), R(2), B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), B(Star), R(2), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), /* 136 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4), B(Ldar), R(this), B(JumpIfNotHole), U8(11), @@ -184,7 +184,7 @@ bytecodes: [ B(Star), R(2), B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), B(Star), R(2), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), /* 134 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4), B(Ldar), R(this), B(JumpIfNotHole), U8(11), diff --git a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden index 7b283024c8..a3854ee912 100644 --- a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden +++ b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden @@ -25,9 +25,9 @@ bytecodes: [ B(Star), R(3), B(LdaTheHole), B(Star), R(4), - B(LdaSmi), U8(34), + B(LdaSmi), I8(34), B(Star), R(6), - B(Wide), B(LdaSmi), U16(148), + B(Wide), B(LdaSmi), I16(148), B(Star), R(7), B(Mov), R(3), R(5), B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), @@ -36,7 +36,7 @@ bytecodes: [ B(Star), R(6), B(CreateClosure), U8(2), U8(3), U8(2), B(Star), R(7), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(8), B(Ldar), R(7), B(StaDataPropertyInLiteral), R(4), R(6), U8(1), U8(4), @@ -76,9 +76,9 @@ bytecodes: [ B(Star), R(3), B(LdaTheHole), B(Star), R(4), - B(LdaSmi), U8(34), + B(LdaSmi), I8(34), B(Star), R(6), - B(Wide), B(LdaSmi), U16(148), + B(Wide), B(LdaSmi), I16(148), B(Star), R(7), B(Mov), R(3), R(5), B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), @@ -87,7 +87,7 @@ bytecodes: [ B(Star), R(6), B(CreateClosure), U8(2), U8(3), U8(2), B(Star), R(7), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(8), B(Ldar), R(7), B(StaDataPropertyInLiteral), R(4), R(6), U8(1), U8(4), @@ -135,9 +135,9 @@ bytecodes: [ B(Star), R(4), B(LdaTheHole), B(Star), R(5), - B(LdaSmi), U8(62), + B(LdaSmi), I8(62), B(Star), R(7), - B(Wide), B(LdaSmi), U16(128), + B(Wide), B(LdaSmi), I16(128), B(Star), R(8), B(Mov), R(4), R(6), B(CallRuntime), U16(Runtime::kDefineClass), R(5), U8(4), @@ -146,7 +146,7 @@ bytecodes: [ /* 75 E> */ B(ToName), R(7), B(CreateClosure), U8(3), U8(3), U8(2), B(Star), R(8), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(9), B(Ldar), R(8), B(StaDataPropertyInLiteral), R(5), R(7), U8(3), U8(5), @@ -202,9 +202,9 @@ bytecodes: [ B(Star), R(4), B(LdaTheHole), B(Star), R(5), - B(LdaSmi), U8(49), + B(LdaSmi), I8(49), B(Star), R(7), - B(LdaSmi), U8(86), + B(LdaSmi), I8(86), B(Star), R(8), B(Mov), R(4), R(6), B(CallRuntime), U16(Runtime::kDefineClass), R(5), U8(4), @@ -240,9 +240,9 @@ bytecodes: [ B(Star), R(4), B(LdaTheHole), B(Star), R(5), - B(LdaSmi), U8(35), + B(LdaSmi), I8(35), B(Star), R(7), - B(LdaSmi), U8(43), + B(LdaSmi), I8(43), B(Star), R(8), B(Mov), R(4), R(6), B(CallRuntime), U16(Runtime::kDefineClass), R(5), U8(4), @@ -255,9 +255,9 @@ bytecodes: [ B(Star), R(4), B(LdaTheHole), B(Star), R(5), - B(LdaSmi), U8(45), + B(LdaSmi), I8(45), B(Star), R(7), - B(LdaSmi), U8(73), + B(LdaSmi), I8(73), B(Star), R(8), B(Mov), R(4), R(6), B(CallRuntime), U16(Runtime::kDefineClass), R(5), U8(4), @@ -266,7 +266,7 @@ bytecodes: [ B(Star), R(7), B(CreateClosure), U8(3), U8(4), U8(2), B(Star), R(8), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(9), B(Ldar), R(8), B(StaDataPropertyInLiteral), R(6), R(7), U8(1), U8(5), diff --git a/test/cctest/interpreter/bytecode_expectations/CompoundExpressions.golden b/test/cctest/interpreter/bytecode_expectations/CompoundExpressions.golden index 273f3323eb..4154b72bc2 100644 --- a/test/cctest/interpreter/bytecode_expectations/CompoundExpressions.golden +++ b/test/cctest/interpreter/bytecode_expectations/CompoundExpressions.golden @@ -14,9 +14,9 @@ parameter count: 1 bytecode array length: 16 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), - /* 45 S> */ B(AddSmi), U8(2), R(0), U8(2), + /* 45 S> */ B(AddSmi), I8(2), R(0), U8(2), B(Mov), R(0), R(1), B(Star), R(0), B(LdaUndefined), @@ -36,9 +36,9 @@ parameter count: 1 bytecode array length: 17 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), - /* 45 S> */ B(LdaSmi), U8(2), + /* 45 S> */ B(LdaSmi), I8(2), B(Div), R(0), U8(2), B(Mov), R(0), R(1), B(Star), R(0), @@ -63,7 +63,7 @@ bytecodes: [ B(Mov), R(1), R(0), /* 54 S> */ B(LdaNamedProperty), R(0), U8(1), U8(2), B(Star), R(2), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Mul), R(2), U8(4), /* 61 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(5), B(LdaUndefined), @@ -87,11 +87,11 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), B(Mov), R(1), R(0), - /* 52 S> */ B(LdaSmi), U8(1), + /* 52 S> */ B(LdaSmi), I8(1), B(Star), R(2), B(LdaKeyedProperty), R(0), U8(2), B(Star), R(3), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(BitwiseXor), R(3), U8(4), /* 57 E> */ B(StaKeyedPropertySloppy), R(0), R(2), U8(5), B(LdaUndefined), @@ -114,12 +114,12 @@ bytecodes: [ B(CreateFunctionContext), U8(1), B(PushContext), R(0), /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), /* 42 E> */ B(StaCurrentContextSlot), U8(4), /* 45 S> */ B(CreateClosure), U8(0), U8(2), U8(2), /* 75 S> */ B(LdaCurrentContextSlot), U8(4), B(Star), R(1), - B(BitwiseOrSmi), U8(24), R(1), U8(3), + B(BitwiseOrSmi), I8(24), R(1), U8(3), /* 77 E> */ B(StaCurrentContextSlot), U8(4), B(LdaUndefined), /* 84 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/Conditional.golden b/test/cctest/interpreter/bytecode_expectations/Conditional.golden index 049de5a8b3..db44e2bd87 100644 --- a/test/cctest/interpreter/bytecode_expectations/Conditional.golden +++ b/test/cctest/interpreter/bytecode_expectations/Conditional.golden @@ -14,7 +14,7 @@ parameter count: 1 bytecode array length: 4 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 34 S> */ B(LdaSmi), U8(2), + /* 34 S> */ B(LdaSmi), I8(2), /* 52 S> */ B(Return), ] constant pool: [ @@ -31,7 +31,7 @@ parameter count: 1 bytecode array length: 4 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 34 S> */ B(LdaSmi), U8(3), + /* 34 S> */ B(LdaSmi), I8(3), /* 60 S> */ B(Return), ] constant pool: [ @@ -50,12 +50,12 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 34 S> */ B(LdaZero), B(Star), R(0), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), /* 43 E> */ B(TestLessThan), R(0), U8(2), B(JumpIfFalse), U8(6), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Jump), U8(4), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), /* 56 S> */ B(Return), ] constant pool: [ @@ -76,9 +76,9 @@ bytecodes: [ /* 42 S> */ B(LdaZero), B(Star), R(0), /* 45 S> */ B(JumpIfToBooleanFalse), U8(6), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Jump), U8(4), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), /* 63 S> */ B(Return), ] constant pool: [ diff --git a/test/cctest/interpreter/bytecode_expectations/ConstVariable.golden b/test/cctest/interpreter/bytecode_expectations/ConstVariable.golden index f19879c9e2..6ba2ad4d94 100644 --- a/test/cctest/interpreter/bytecode_expectations/ConstVariable.golden +++ b/test/cctest/interpreter/bytecode_expectations/ConstVariable.golden @@ -16,7 +16,7 @@ bytecodes: [ B(LdaTheHole), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 44 S> */ B(LdaSmi), U8(10), + /* 44 S> */ B(LdaSmi), I8(10), B(Star), R(0), B(LdaUndefined), /* 48 S> */ B(Return), @@ -37,7 +37,7 @@ bytecodes: [ B(LdaTheHole), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 44 S> */ B(LdaSmi), U8(10), + /* 44 S> */ B(LdaSmi), I8(10), B(Star), R(0), /* 48 S> */ B(Nop), /* 58 S> */ B(Return), @@ -58,7 +58,7 @@ bytecodes: [ B(LdaTheHole), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 48 S> */ B(LdaSmi), U8(20), + /* 48 S> */ B(LdaSmi), I8(20), B(Star), R(1), B(Ldar), R(0), B(JumpIfNotHole), U8(11), @@ -87,9 +87,9 @@ bytecodes: [ B(LdaTheHole), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 44 S> */ B(LdaSmi), U8(10), + /* 44 S> */ B(LdaSmi), I8(10), B(Star), R(0), - /* 48 S> */ B(LdaSmi), U8(20), + /* 48 S> */ B(LdaSmi), I8(20), /* 50 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0), B(LdaUndefined), /* 56 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/ConstVariableContextSlot.golden b/test/cctest/interpreter/bytecode_expectations/ConstVariableContextSlot.golden index 8dc85b3326..a0f73879c3 100644 --- a/test/cctest/interpreter/bytecode_expectations/ConstVariableContextSlot.golden +++ b/test/cctest/interpreter/bytecode_expectations/ConstVariableContextSlot.golden @@ -20,7 +20,7 @@ bytecodes: [ B(CreateClosure), U8(0), U8(2), U8(2), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 44 S> */ B(LdaSmi), U8(10), + /* 44 S> */ B(LdaSmi), I8(10), /* 44 E> */ B(StaCurrentContextSlot), U8(4), B(LdaUndefined), /* 74 S> */ B(Return), @@ -46,7 +46,7 @@ bytecodes: [ B(CreateClosure), U8(0), U8(2), U8(2), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 44 S> */ B(LdaSmi), U8(10), + /* 44 S> */ B(LdaSmi), I8(10), /* 44 E> */ B(StaCurrentContextSlot), U8(4), /* 74 S> */ B(LdaCurrentContextSlot), U8(4), /* 84 S> */ B(Return), @@ -72,7 +72,7 @@ bytecodes: [ B(CreateClosure), U8(0), U8(2), U8(2), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 47 S> */ B(LdaSmi), U8(20), + /* 47 S> */ B(LdaSmi), I8(20), B(Star), R(2), B(LdaCurrentContextSlot), U8(4), B(JumpIfNotHole), U8(11), @@ -106,9 +106,9 @@ bytecodes: [ B(CreateClosure), U8(0), U8(2), U8(2), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 44 S> */ B(LdaSmi), U8(10), + /* 44 S> */ B(LdaSmi), I8(10), /* 44 E> */ B(StaCurrentContextSlot), U8(4), - /* 48 S> */ B(LdaSmi), U8(20), + /* 48 S> */ B(LdaSmi), I8(20), /* 50 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0), B(LdaUndefined), /* 82 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden b/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden index b0df006a63..dc8d7f67f2 100644 --- a/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden +++ b/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden @@ -36,7 +36,7 @@ bytecodes: [ B(CreateFunctionContext), U8(1), B(PushContext), R(0), /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), /* 42 E> */ B(StaCurrentContextSlot), U8(4), /* 45 S> */ B(CreateClosure), U8(0), U8(2), U8(2), /* 75 S> */ B(Return), @@ -58,9 +58,9 @@ bytecodes: [ B(CreateFunctionContext), U8(2), B(PushContext), R(0), /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), /* 42 E> */ B(StaCurrentContextSlot), U8(4), - /* 53 S> */ B(LdaSmi), U8(2), + /* 53 S> */ B(LdaSmi), I8(2), /* 53 E> */ B(StaCurrentContextSlot), U8(5), /* 56 S> */ B(CreateClosure), U8(0), U8(2), U8(2), /* 92 S> */ B(Return), @@ -111,14 +111,14 @@ bytecodes: [ B(LdaTheHole), B(StaCurrentContextSlot), U8(4), /* 30 E> */ B(StackCheck), - /* 56 S> */ B(LdaSmi), U8(1), + /* 56 S> */ B(LdaSmi), I8(1), /* 56 E> */ B(StaCurrentContextSlot), U8(4), B(Ldar), R(closure), B(CreateBlockContext), U8(0), B(PushContext), R(1), B(LdaTheHole), B(StaCurrentContextSlot), U8(4), - /* 69 S> */ B(LdaSmi), U8(2), + /* 69 S> */ B(LdaSmi), I8(2), /* 69 E> */ B(StaCurrentContextSlot), U8(4), /* 72 S> */ B(CreateClosure), U8(1), U8(2), U8(2), B(PopContext), R(0), @@ -906,7 +906,7 @@ bytecodes: [ B(LdaGlobal), U8(0), U8(4), B(Star), R(1), /* 3438 E> */ B(Call), R(1), R(2), U8(1), U8(2), - /* 3454 S> */ B(LdaSmi), U8(100), + /* 3454 S> */ B(LdaSmi), I8(100), /* 3454 E> */ B(Wide), B(StaCurrentContextSlot), U16(256), /* 3459 S> */ B(Wide), B(LdaCurrentContextSlot), U16(256), /* 3468 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/CountOperators.golden b/test/cctest/interpreter/bytecode_expectations/CountOperators.golden index 61186cd887..7c3a459be3 100644 --- a/test/cctest/interpreter/bytecode_expectations/CountOperators.golden +++ b/test/cctest/interpreter/bytecode_expectations/CountOperators.golden @@ -14,7 +14,7 @@ parameter count: 1 bytecode array length: 10 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(Inc), U8(2), B(Star), R(0), @@ -34,7 +34,7 @@ parameter count: 1 bytecode array length: 16 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(ToNumber), R(1), B(Ldar), R(1), @@ -57,7 +57,7 @@ parameter count: 1 bytecode array length: 10 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(Dec), U8(2), B(Star), R(0), @@ -77,7 +77,7 @@ parameter count: 1 bytecode array length: 16 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(ToNumber), R(1), B(Ldar), R(1), @@ -206,7 +206,7 @@ bytecodes: [ B(CreateFunctionContext), U8(1), B(PushContext), R(1), /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), /* 42 E> */ B(StaCurrentContextSlot), U8(4), /* 53 S> */ B(CreateClosure), U8(0), U8(2), U8(2), B(Star), R(0), @@ -232,7 +232,7 @@ bytecodes: [ B(CreateFunctionContext), U8(1), B(PushContext), R(1), /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), /* 42 E> */ B(StaCurrentContextSlot), U8(4), /* 53 S> */ B(CreateClosure), U8(0), U8(2), U8(2), B(Star), R(0), @@ -259,7 +259,7 @@ parameter count: 1 bytecode array length: 28 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 44 S> */ B(LdaSmi), U8(1), + /* 44 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 55 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), B(Star), R(1), @@ -268,7 +268,7 @@ bytecodes: [ B(Ldar), R(3), B(Inc), U8(2), B(Star), R(0), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), /* 79 E> */ B(StaKeyedPropertySloppy), R(1), R(3), U8(3), /* 84 S> */ B(Return), ] diff --git a/test/cctest/interpreter/bytecode_expectations/DeadCodeRemoval.golden b/test/cctest/interpreter/bytecode_expectations/DeadCodeRemoval.golden index 6c4a7b5ac2..7e6f40a3b6 100644 --- a/test/cctest/interpreter/bytecode_expectations/DeadCodeRemoval.golden +++ b/test/cctest/interpreter/bytecode_expectations/DeadCodeRemoval.golden @@ -31,7 +31,7 @@ parameter count: 1 bytecode array length: 7 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 66 S> */ B(LdaSmi), U8(1), + /* 66 S> */ B(LdaSmi), I8(1), B(Star), R(0), B(LdaUndefined), /* 69 S> */ B(Return), @@ -50,7 +50,7 @@ parameter count: 1 bytecode array length: 4 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 46 S> */ B(LdaSmi), U8(1), + /* 46 S> */ B(LdaSmi), I8(1), /* 78 S> */ B(Return), ] constant pool: [ @@ -67,12 +67,12 @@ parameter count: 1 bytecode array length: 13 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(JumpIfToBooleanFalse), U8(5), - /* 54 S> */ B(LdaSmi), U8(1), + /* 54 S> */ B(LdaSmi), I8(1), /* 77 S> */ B(Return), - /* 67 S> */ B(LdaSmi), U8(2), + /* 67 S> */ B(LdaSmi), I8(2), /* 77 S> */ B(Return), ] constant pool: [ diff --git a/test/cctest/interpreter/bytecode_expectations/DeclareGlobals.golden b/test/cctest/interpreter/bytecode_expectations/DeclareGlobals.golden index 91c3bb99d4..62dc163a70 100644 --- a/test/cctest/interpreter/bytecode_expectations/DeclareGlobals.golden +++ b/test/cctest/interpreter/bytecode_expectations/DeclareGlobals.golden @@ -25,7 +25,7 @@ bytecodes: [ B(Star), R(1), B(LdaZero), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(3), B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), B(LdaUndefined), @@ -82,10 +82,10 @@ bytecodes: [ B(Star), R(1), B(LdaZero), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(3), B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), - /* 11 S> */ B(LdaSmi), U8(2), + /* 11 S> */ B(LdaSmi), I8(2), /* 12 E> */ B(StaGlobalSloppy), U8(1), U8(4), B(Star), R(0), /* 15 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/Delete.golden b/test/cctest/interpreter/bytecode_expectations/Delete.golden index e139fd65d1..0f891ced42 100644 --- a/test/cctest/interpreter/bytecode_expectations/Delete.golden +++ b/test/cctest/interpreter/bytecode_expectations/Delete.golden @@ -60,7 +60,7 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), B(Mov), R(1), R(0), - /* 56 S> */ B(LdaSmi), U8(2), + /* 56 S> */ B(LdaSmi), I8(2), B(DeletePropertySloppy), R(0), /* 76 S> */ B(Return), ] @@ -79,7 +79,7 @@ parameter count: 1 bytecode array length: 7 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(10), + /* 42 S> */ B(LdaSmi), I8(10), B(Star), R(0), /* 46 S> */ B(LdaFalse), /* 63 S> */ B(Return), @@ -109,7 +109,7 @@ bytecodes: [ /* 64 S> */ B(CreateClosure), U8(1), U8(2), U8(2), /* 93 S> */ B(LdaCurrentContextSlot), U8(4), B(Star), R(1), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(DeletePropertyStrict), R(1), /* 113 S> */ B(Return), ] diff --git a/test/cctest/interpreter/bytecode_expectations/DoExpression.golden b/test/cctest/interpreter/bytecode_expectations/DoExpression.golden index 662ecf14d9..412c5ccbe6 100644 --- a/test/cctest/interpreter/bytecode_expectations/DoExpression.golden +++ b/test/cctest/interpreter/bytecode_expectations/DoExpression.golden @@ -33,7 +33,7 @@ parameter count: 1 bytecode array length: 12 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 55 S> */ B(LdaSmi), U8(100), + /* 55 S> */ B(LdaSmi), I8(100), B(Star), R(0), /* 42 S> */ B(LdaUndefined), B(Star), R(1), @@ -56,7 +56,7 @@ bytecode array length: 16 bytecodes: [ /* 30 E> */ B(StackCheck), /* 34 E> */ B(StackCheck), - /* 56 S> */ B(LdaSmi), U8(10), + /* 56 S> */ B(LdaSmi), I8(10), B(Star), R(0), /* 69 S> */ B(Inc), U8(2), B(Star), R(0), diff --git a/test/cctest/interpreter/bytecode_expectations/Eval.golden b/test/cctest/interpreter/bytecode_expectations/Eval.golden index a311aa9101..3a865c65db 100644 --- a/test/cctest/interpreter/bytecode_expectations/Eval.golden +++ b/test/cctest/interpreter/bytecode_expectations/Eval.golden @@ -30,9 +30,9 @@ bytecodes: [ B(Star), R(3), B(LdaZero), B(Star), R(7), - B(LdaSmi), U8(30), + B(LdaSmi), I8(30), B(Star), R(8), - B(LdaSmi), U8(41), + B(LdaSmi), I8(41), B(Star), R(9), B(Mov), R(1), R(4), B(Mov), R(3), R(5), diff --git a/test/cctest/interpreter/bytecode_expectations/ForIn.golden b/test/cctest/interpreter/bytecode_expectations/ForIn.golden index 920b527c4c..e5e52de796 100644 --- a/test/cctest/interpreter/bytecode_expectations/ForIn.golden +++ b/test/cctest/interpreter/bytecode_expectations/ForIn.golden @@ -85,7 +85,7 @@ bytecodes: [ /* 85 S> */ B(Return), B(ForInStep), R(7), B(Star), R(7), - B(JumpLoop), U8(23), U8(0), + B(JumpLoop), U8(23), I8(0), B(LdaUndefined), /* 85 S> */ B(Return), ] @@ -127,7 +127,7 @@ bytecodes: [ B(Star), R(0), /* 72 E> */ B(ForInStep), R(7), B(Star), R(7), - B(JumpLoop), U8(31), U8(0), + B(JumpLoop), U8(31), I8(0), B(LdaUndefined), /* 80 S> */ B(Return), ] @@ -169,20 +169,20 @@ bytecodes: [ /* 95 S> */ B(Nop), /* 100 E> */ B(LdaNamedProperty), R(0), U8(2), U8(4), B(Star), R(6), - B(LdaSmi), U8(10), + B(LdaSmi), I8(10), /* 106 E> */ B(TestEqual), R(6), U8(6), B(JumpIfFalse), U8(4), /* 113 S> */ B(Jump), U8(18), /* 125 S> */ B(Nop), /* 130 E> */ B(LdaNamedProperty), R(0), U8(2), U8(7), B(Star), R(6), - B(LdaSmi), U8(20), + B(LdaSmi), I8(20), /* 136 E> */ B(TestEqual), R(6), U8(9), B(JumpIfFalse), U8(4), /* 143 S> */ B(Jump), U8(9), B(ForInStep), R(5), B(Star), R(5), - B(JumpLoop), U8(55), U8(0), + B(JumpLoop), U8(55), I8(0), B(LdaUndefined), /* 152 S> */ B(Return), ] @@ -223,12 +223,12 @@ bytecodes: [ B(Ldar), R(6), /* 64 E> */ B(StaKeyedPropertySloppy), R(0), R(8), U8(6), /* 59 E> */ B(StackCheck), - /* 83 S> */ B(LdaSmi), U8(3), + /* 83 S> */ B(LdaSmi), I8(3), /* 91 E> */ B(LdaKeyedProperty), R(0), U8(4), /* 98 S> */ B(Return), B(ForInStep), R(5), B(Star), R(5), - B(JumpLoop), U8(34), U8(0), + B(JumpLoop), U8(34), I8(0), B(LdaUndefined), /* 98 S> */ B(Return), ] diff --git a/test/cctest/interpreter/bytecode_expectations/ForOf.golden b/test/cctest/interpreter/bytecode_expectations/ForOf.golden index 892b544ee3..5b85b3207e 100644 --- a/test/cctest/interpreter/bytecode_expectations/ForOf.golden +++ b/test/cctest/interpreter/bytecode_expectations/ForOf.golden @@ -38,30 +38,30 @@ bytecodes: [ B(JumpIfToBooleanTrue), U8(25), B(LdaNamedProperty), R(3), U8(4), U8(12), B(Star), R(5), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(4), B(Mov), R(5), R(0), /* 34 E> */ B(StackCheck), B(Mov), R(0), R(1), B(LdaZero), B(Star), R(4), - B(JumpLoop), U8(51), U8(0), + B(JumpLoop), U8(51), I8(0), B(Jump), U8(36), B(Star), R(13), B(Ldar), R(closure), B(CreateCatchContext), R(13), U8(5), U8(6), B(Star), R(12), B(PushContext), R(8), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(4), U8(14), B(JumpIfFalse), U8(6), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(4), B(LdaCurrentContextSlot), U8(4), B(Star), R(13), B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), B(PopContext), R(8), - B(LdaSmi), U8(-1), + B(LdaSmi), I8(-1), B(Star), R(9), B(Jump), U8(7), B(Star), R(10), @@ -78,7 +78,7 @@ bytecodes: [ B(TestUndetectable), R(6), B(JumpIfFalse), U8(4), B(Jump), U8(99), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(TestEqualStrict), R(4), U8(19), B(JumpIfFalse), U8(67), B(Ldar), R(6), @@ -88,7 +88,7 @@ bytecodes: [ B(TestEqualStrict), R(12), U8(20), B(JumpIfFalse), U8(4), B(Jump), U8(18), - B(Wide), B(LdaSmi), U16(130), + B(Wide), B(LdaSmi), I16(130), B(Star), R(12), B(LdaConstant), U8(9), B(Star), R(13), @@ -182,7 +182,7 @@ bytecodes: [ B(JumpIfToBooleanTrue), U8(27), B(LdaNamedProperty), R(4), U8(4), U8(12), B(Star), R(6), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(5), B(Mov), R(6), R(1), /* 54 E> */ B(StackCheck), @@ -197,20 +197,20 @@ bytecodes: [ B(CreateCatchContext), R(14), U8(5), U8(6), B(Star), R(13), B(PushContext), R(9), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(5), U8(14), B(JumpIfFalse), U8(6), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(5), B(LdaCurrentContextSlot), U8(4), B(Star), R(14), B(CallRuntime), U16(Runtime::kReThrow), R(14), U8(1), B(PopContext), R(9), - B(LdaSmi), U8(-1), + B(LdaSmi), I8(-1), B(Star), R(10), B(Jump), U8(8), B(Star), R(11), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(10), B(LdaTheHole), B(SetPendingMessage), @@ -223,7 +223,7 @@ bytecodes: [ B(TestUndetectable), R(7), B(JumpIfFalse), U8(4), B(Jump), U8(99), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(TestEqualStrict), R(5), U8(19), B(JumpIfFalse), U8(67), B(Ldar), R(7), @@ -233,7 +233,7 @@ bytecodes: [ B(TestEqualStrict), R(13), U8(20), B(JumpIfFalse), U8(4), B(Jump), U8(18), - B(Wide), B(LdaSmi), U16(130), + B(Wide), B(LdaSmi), I16(130), B(Star), R(13), B(LdaConstant), U8(9), B(Star), R(14), @@ -267,7 +267,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(10), U8(0), B(JumpIfTrue), U8(11), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(TestEqualStrict), R(10), U8(0), B(JumpIfTrue), U8(7), B(Jump), U8(8), @@ -333,38 +333,38 @@ bytecodes: [ B(JumpIfToBooleanTrue), U8(43), B(LdaNamedProperty), R(3), U8(4), U8(12), B(Star), R(5), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(4), B(Mov), R(5), R(0), /* 34 E> */ B(StackCheck), B(Mov), R(0), R(1), - /* 66 S> */ B(LdaSmi), U8(10), + /* 66 S> */ B(LdaSmi), I8(10), /* 72 E> */ B(TestEqual), R(1), U8(14), B(JumpIfFalse), U8(4), /* 79 S> */ B(Jump), U8(14), - /* 91 S> */ B(LdaSmi), U8(20), + /* 91 S> */ B(LdaSmi), I8(20), /* 97 E> */ B(TestEqual), R(1), U8(15), B(JumpIfFalse), U8(4), /* 104 S> */ B(Jump), U8(8), B(LdaZero), B(Star), R(4), - B(JumpLoop), U8(69), U8(0), + B(JumpLoop), U8(69), I8(0), B(Jump), U8(36), B(Star), R(13), B(Ldar), R(closure), B(CreateCatchContext), R(13), U8(5), U8(6), B(Star), R(12), B(PushContext), R(8), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(4), U8(16), B(JumpIfFalse), U8(6), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(4), B(LdaCurrentContextSlot), U8(4), B(Star), R(13), B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), B(PopContext), R(8), - B(LdaSmi), U8(-1), + B(LdaSmi), I8(-1), B(Star), R(9), B(Jump), U8(7), B(Star), R(10), @@ -381,7 +381,7 @@ bytecodes: [ B(TestUndetectable), R(6), B(JumpIfFalse), U8(4), B(Jump), U8(99), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(TestEqualStrict), R(4), U8(21), B(JumpIfFalse), U8(67), B(Ldar), R(6), @@ -391,7 +391,7 @@ bytecodes: [ B(TestEqualStrict), R(12), U8(22), B(JumpIfFalse), U8(4), B(Jump), U8(18), - B(Wide), B(LdaSmi), U16(130), + B(Wide), B(LdaSmi), I16(130), B(Star), R(12), B(LdaConstant), U8(9), B(Star), R(13), @@ -486,7 +486,7 @@ bytecodes: [ B(JumpIfToBooleanTrue), U8(31), /* 67 E> */ B(LdaNamedProperty), R(2), U8(5), U8(12), B(Star), R(4), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(3), B(Ldar), R(4), B(StaNamedPropertySloppy), R(0), U8(6), U8(14), @@ -503,20 +503,20 @@ bytecodes: [ B(CreateCatchContext), R(12), U8(7), U8(8), B(Star), R(11), B(PushContext), R(7), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(3), U8(18), B(JumpIfFalse), U8(6), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(3), B(LdaCurrentContextSlot), U8(4), B(Star), R(12), B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), B(PopContext), R(7), - B(LdaSmi), U8(-1), + B(LdaSmi), I8(-1), B(Star), R(8), B(Jump), U8(8), B(Star), R(9), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(8), B(LdaTheHole), B(SetPendingMessage), @@ -529,7 +529,7 @@ bytecodes: [ B(TestUndetectable), R(5), B(JumpIfFalse), U8(4), B(Jump), U8(99), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(TestEqualStrict), R(3), U8(23), B(JumpIfFalse), U8(67), B(Ldar), R(5), @@ -539,7 +539,7 @@ bytecodes: [ B(TestEqualStrict), R(11), U8(24), B(JumpIfFalse), U8(4), B(Jump), U8(18), - B(Wide), B(LdaSmi), U16(130), + B(Wide), B(LdaSmi), I16(130), B(Star), R(11), B(LdaConstant), U8(11), B(Star), R(12), @@ -573,7 +573,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(8), U8(0), B(JumpIfTrue), U8(11), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(TestEqualStrict), R(8), U8(0), B(JumpIfTrue), U8(7), B(Jump), U8(8), diff --git a/test/cctest/interpreter/bytecode_expectations/FunctionLiterals.golden b/test/cctest/interpreter/bytecode_expectations/FunctionLiterals.golden index f897381d86..7d55ebf94c 100644 --- a/test/cctest/interpreter/bytecode_expectations/FunctionLiterals.golden +++ b/test/cctest/interpreter/bytecode_expectations/FunctionLiterals.golden @@ -58,7 +58,7 @@ bytecodes: [ B(Star), R(1), B(CreateClosure), U8(0), U8(4), U8(2), B(Star), R(0), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(2), /* 67 E> */ B(Call), R(0), R(1), U8(2), U8(2), /* 71 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/GenerateTestUndetectable.golden b/test/cctest/interpreter/bytecode_expectations/GenerateTestUndetectable.golden index 1ee3738f2e..6ff862a0ba 100644 --- a/test/cctest/interpreter/bytecode_expectations/GenerateTestUndetectable.golden +++ b/test/cctest/interpreter/bytecode_expectations/GenerateTestUndetectable.golden @@ -19,11 +19,11 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 46 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(2), B(Mov), R(2), R(0), - /* 63 S> */ B(LdaSmi), U8(10), + /* 63 S> */ B(LdaSmi), I8(10), B(Star), R(1), /* 67 S> */ B(TestUndetectable), R(0), B(JumpIfFalse), U8(6), - /* 88 S> */ B(LdaSmi), U8(20), + /* 88 S> */ B(LdaSmi), I8(20), B(Star), R(1), /* 97 S> */ B(Ldar), R(1), /* 107 S> */ B(Return), @@ -48,11 +48,11 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 46 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(2), B(Mov), R(2), R(0), - /* 63 S> */ B(LdaSmi), U8(10), + /* 63 S> */ B(LdaSmi), I8(10), B(Star), R(1), /* 67 S> */ B(TestUndetectable), R(0), B(JumpIfFalse), U8(6), - /* 93 S> */ B(LdaSmi), U8(20), + /* 93 S> */ B(LdaSmi), I8(20), B(Star), R(1), /* 102 S> */ B(Ldar), R(1), /* 112 S> */ B(Return), @@ -77,11 +77,11 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 46 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(2), B(Mov), R(2), R(0), - /* 63 S> */ B(LdaSmi), U8(10), + /* 63 S> */ B(LdaSmi), I8(10), B(Star), R(1), /* 67 S> */ B(TestUndetectable), R(0), B(JumpIfTrue), U8(6), - /* 88 S> */ B(LdaSmi), U8(20), + /* 88 S> */ B(LdaSmi), I8(20), B(Star), R(1), /* 97 S> */ B(Ldar), R(1), /* 107 S> */ B(Return), @@ -106,11 +106,11 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 46 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(2), B(Mov), R(2), R(0), - /* 63 S> */ B(LdaSmi), U8(10), + /* 63 S> */ B(LdaSmi), I8(10), B(Star), R(1), /* 67 S> */ B(TestUndetectable), R(0), B(JumpIfTrue), U8(6), - /* 93 S> */ B(LdaSmi), U8(20), + /* 93 S> */ B(LdaSmi), I8(20), B(Star), R(1), /* 102 S> */ B(Ldar), R(1), /* 112 S> */ B(Return), @@ -135,11 +135,11 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 46 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(2), B(Mov), R(2), R(0), - /* 63 S> */ B(LdaSmi), U8(10), + /* 63 S> */ B(LdaSmi), I8(10), B(Star), R(1), /* 67 S> */ B(TestNull), R(0), B(JumpIfFalse), U8(6), - /* 89 S> */ B(LdaSmi), U8(20), + /* 89 S> */ B(LdaSmi), I8(20), B(Star), R(1), /* 98 S> */ B(Ldar), R(1), /* 108 S> */ B(Return), @@ -164,11 +164,11 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 46 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(2), B(Mov), R(2), R(0), - /* 63 S> */ B(LdaSmi), U8(10), + /* 63 S> */ B(LdaSmi), I8(10), B(Star), R(1), /* 67 S> */ B(TestUndefined), R(0), B(JumpIfFalse), U8(6), - /* 94 S> */ B(LdaSmi), U8(20), + /* 94 S> */ B(LdaSmi), I8(20), B(Star), R(1), /* 103 S> */ B(Ldar), R(1), /* 113 S> */ B(Return), @@ -193,11 +193,11 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 46 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(2), B(Mov), R(2), R(0), - /* 63 S> */ B(LdaSmi), U8(10), + /* 63 S> */ B(LdaSmi), I8(10), B(Star), R(1), /* 67 S> */ B(TestNull), R(0), B(JumpIfTrue), U8(6), - /* 89 S> */ B(LdaSmi), U8(20), + /* 89 S> */ B(LdaSmi), I8(20), B(Star), R(1), /* 98 S> */ B(Ldar), R(1), /* 108 S> */ B(Return), @@ -222,11 +222,11 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 46 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(2), B(Mov), R(2), R(0), - /* 63 S> */ B(LdaSmi), U8(10), + /* 63 S> */ B(LdaSmi), I8(10), B(Star), R(1), /* 67 S> */ B(TestUndefined), R(0), B(JumpIfTrue), U8(6), - /* 94 S> */ B(LdaSmi), U8(20), + /* 94 S> */ B(LdaSmi), I8(20), B(Star), R(1), /* 103 S> */ B(Ldar), R(1), /* 113 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/Generators.golden b/test/cctest/interpreter/bytecode_expectations/Generators.golden index 1c9be825cb..31252c95da 100644 --- a/test/cctest/interpreter/bytecode_expectations/Generators.golden +++ b/test/cctest/interpreter/bytecode_expectations/Generators.golden @@ -24,10 +24,10 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(1), U8(0), B(JumpIfTrue), U8(53), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(3), B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(CreateFunctionContext), U8(2), B(PushContext), R(0), @@ -47,7 +47,7 @@ bytecodes: [ B(SuspendGenerator), R(7), B(Ldar), R(6), /* 16 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7), U8(1), B(Star), R(8), @@ -56,7 +56,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(9), U8(0), B(JumpIfTrue), U8(31), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(9), U8(0), B(JumpIfTrue), U8(21), B(Jump), U8(2), @@ -76,14 +76,14 @@ bytecodes: [ B(Star), R(7), B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(6), U8(2), B(Star), R(4), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(3), B(Jump), U8(14), - B(LdaSmi), U8(-1), + B(LdaSmi), I8(-1), B(Star), R(3), B(Jump), U8(8), B(Star), R(4), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(3), B(LdaTheHole), B(SetPendingMessage), @@ -96,10 +96,10 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(3), U8(0), B(JumpIfTrue), U8(18), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(TestEqualStrict), R(3), U8(0), B(JumpIfTrue), U8(14), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(3), U8(0), B(JumpIfTrue), U8(10), B(Jump), U8(11), @@ -136,13 +136,13 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(1), U8(0), B(JumpIfTrue), U8(60), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(TestEqualStrict), R(1), U8(0), B(JumpIfTrue), U8(130), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(3), B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(CreateFunctionContext), U8(2), B(PushContext), R(0), @@ -162,7 +162,7 @@ bytecodes: [ B(SuspendGenerator), R(7), B(Ldar), R(6), /* 25 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7), U8(1), B(Star), R(8), @@ -171,7 +171,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(9), U8(0), B(JumpIfTrue), U8(31), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(9), U8(0), B(JumpIfTrue), U8(21), B(Jump), U8(2), @@ -185,7 +185,7 @@ bytecodes: [ B(Jump), U8(113), B(Ldar), R(8), /* 11 E> */ B(Throw), - /* 16 S> */ B(LdaSmi), U8(42), + /* 16 S> */ B(LdaSmi), I8(42), B(Star), R(6), B(LdaFalse), B(Star), R(7), @@ -193,11 +193,11 @@ bytecodes: [ B(Star), R(6), B(LdaCurrentContextSlot), U8(5), B(Star), R(7), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(SuspendGenerator), R(7), B(Ldar), R(6), /* 25 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7), U8(1), B(Star), R(8), @@ -206,7 +206,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(9), U8(0), B(JumpIfTrue), U8(32), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(9), U8(0), B(JumpIfTrue), U8(22), B(Jump), U8(2), @@ -215,7 +215,7 @@ bytecodes: [ B(Mov), R(8), R(10), B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(10), U8(2), B(Star), R(4), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(3), B(Jump), U8(35), B(Ldar), R(8), @@ -226,14 +226,14 @@ bytecodes: [ B(Star), R(7), B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(6), U8(2), B(Star), R(4), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(3), B(Jump), U8(14), - B(LdaSmi), U8(-1), + B(LdaSmi), I8(-1), B(Star), R(3), B(Jump), U8(8), B(Star), R(4), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(Star), R(3), B(LdaTheHole), B(SetPendingMessage), @@ -246,13 +246,13 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(3), U8(0), B(JumpIfTrue), U8(25), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(TestEqualStrict), R(3), U8(0), B(JumpIfTrue), U8(21), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(3), U8(0), B(JumpIfTrue), U8(17), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(TestEqualStrict), R(3), U8(0), B(JumpIfTrue), U8(13), B(Jump), U8(14), @@ -291,13 +291,13 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(3), U8(0), B(JumpIfTrue), U8(60), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(TestEqualStrict), R(3), U8(0), B(JumpIfTrue), U8(154), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(5), B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(3), B(CreateFunctionContext), U8(9), B(PushContext), R(0), @@ -317,7 +317,7 @@ bytecodes: [ B(SuspendGenerator), R(9), B(Ldar), R(8), /* 44 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(3), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9), U8(1), B(Star), R(10), @@ -326,7 +326,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(11), U8(0), B(JumpIfTrue), U8(31), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(11), U8(0), B(JumpIfTrue), U8(21), B(Jump), U8(2), @@ -357,13 +357,13 @@ bytecodes: [ B(JumpIfJSReceiver), U8(7), B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(TestEqual), R(3), U8(0), B(JumpIfTrue), U8(18), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(TestEqualStrict), R(3), U8(0), B(JumpIfTrue), U8(134), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(12), B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), @@ -387,7 +387,7 @@ bytecodes: [ B(Star), R(12), B(LdaNamedProperty), R(12), U8(5), U8(12), B(StaContextSlot), R(1), U8(10), U8(0), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(StaContextSlot), R(1), U8(9), U8(0), B(LdaContextSlot), R(1), U8(10), U8(0), B(StaContextSlot), R(1), U8(6), U8(0), @@ -407,11 +407,11 @@ bytecodes: [ B(Star), R(12), B(LdaContextSlot), R(1), U8(5), U8(0), B(Star), R(13), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(SuspendGenerator), R(13), B(Ldar), R(12), /* 44 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(3), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1), B(Star), R(14), @@ -420,7 +420,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(15), U8(0), B(JumpIfTrue), U8(43), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(15), U8(0), B(JumpIfTrue), U8(33), B(Jump), U8(2), @@ -443,7 +443,7 @@ bytecodes: [ B(PopContext), R(2), B(LdaZero), B(StaContextSlot), R(1), U8(9), U8(0), - B(JumpLoop), U8(218), U8(0), + B(JumpLoop), U8(218), I8(0), B(Jump), U8(44), B(Star), R(12), B(Ldar), R(closure), @@ -452,20 +452,20 @@ bytecodes: [ B(PushContext), R(2), B(LdaContextSlot), R(1), U8(9), U8(0), B(Star), R(12), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(12), U8(14), B(JumpIfFalse), U8(8), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(StaContextSlot), R(1), U8(9), U8(0), B(LdaCurrentContextSlot), U8(4), B(Star), R(12), B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), B(PopContext), R(2), - B(LdaSmi), U8(-1), + B(LdaSmi), I8(-1), B(Star), R(8), B(Jump), U8(8), B(Star), R(9), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(8), B(LdaTheHole), B(SetPendingMessage), @@ -486,7 +486,7 @@ bytecodes: [ B(Jump), U8(133), B(LdaContextSlot), R(1), U8(9), U8(0), B(Star), R(11), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(TestEqualStrict), R(11), U8(19), B(JumpIfFalse), U8(75), B(LdaContextSlot), R(1), U8(11), U8(0), @@ -496,7 +496,7 @@ bytecodes: [ B(TestEqualStrict), R(11), U8(20), B(JumpIfFalse), U8(4), B(Jump), U8(18), - B(Wide), B(LdaSmi), U16(130), + B(Wide), B(LdaSmi), I16(130), B(Star), R(11), B(LdaConstant), U8(11), B(Star), R(12), @@ -538,19 +538,19 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(8), U8(0), B(JumpIfTrue), U8(11), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(TestEqualStrict), R(8), U8(0), B(JumpIfTrue), U8(17), B(Jump), U8(28), B(PopContext), R(1), B(PopContext), R(1), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(5), B(Mov), R(9), R(6), B(Jump), U8(47), B(PopContext), R(1), B(PopContext), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(5), B(Mov), R(9), R(6), B(Jump), U8(34), @@ -561,14 +561,14 @@ bytecodes: [ B(Star), R(9), B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2), B(Star), R(6), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(Star), R(5), B(Jump), U8(14), - B(LdaSmi), U8(-1), + B(LdaSmi), I8(-1), B(Star), R(5), B(Jump), U8(8), B(Star), R(6), - B(LdaSmi), U8(4), + B(LdaSmi), I8(4), B(Star), R(5), B(LdaTheHole), B(SetPendingMessage), @@ -581,16 +581,16 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(5), U8(0), B(JumpIfTrue), U8(32), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(TestEqualStrict), R(5), U8(0), B(JumpIfTrue), U8(28), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(5), U8(0), B(JumpIfTrue), U8(24), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(TestEqualStrict), R(5), U8(0), B(JumpIfTrue), U8(20), - B(LdaSmi), U8(4), + B(LdaSmi), I8(4), B(TestEqualStrict), R(5), U8(0), B(JumpIfTrue), U8(16), B(Jump), U8(17), diff --git a/test/cctest/interpreter/bytecode_expectations/GlobalCompoundExpressions.golden b/test/cctest/interpreter/bytecode_expectations/GlobalCompoundExpressions.golden index 57403bc402..4d04f6a3fa 100644 --- a/test/cctest/interpreter/bytecode_expectations/GlobalCompoundExpressions.golden +++ b/test/cctest/interpreter/bytecode_expectations/GlobalCompoundExpressions.golden @@ -19,7 +19,7 @@ bytecodes: [ /* 26 E> */ B(StackCheck), /* 31 S> */ B(LdaGlobal), U8(0), U8(2), B(Star), R(0), - B(BitwiseAndSmi), U8(1), R(0), U8(4), + B(BitwiseAndSmi), I8(1), R(0), U8(4), /* 45 E> */ B(StaGlobalSloppy), U8(0), U8(5), /* 51 S> */ B(Return), ] @@ -42,7 +42,7 @@ bytecodes: [ /* 27 E> */ B(StackCheck), /* 32 S> */ B(LdaGlobal), U8(0), U8(2), B(Star), R(0), - B(AddSmi), U8(1), R(0), U8(4), + B(AddSmi), I8(1), R(0), U8(4), /* 51 E> */ B(StaGlobalSloppy), U8(0), U8(5), /* 57 S> */ B(Return), ] diff --git a/test/cctest/interpreter/bytecode_expectations/GlobalDelete.golden b/test/cctest/interpreter/bytecode_expectations/GlobalDelete.golden index b717c71bea..1db8a27f03 100644 --- a/test/cctest/interpreter/bytecode_expectations/GlobalDelete.golden +++ b/test/cctest/interpreter/bytecode_expectations/GlobalDelete.golden @@ -48,7 +48,7 @@ bytecodes: [ /* 28 E> */ B(StackCheck), /* 51 S> */ B(LdaGlobal), U8(0), U8(2), B(Star), R(0), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(DeletePropertyStrict), R(0), /* 71 S> */ B(Return), ] diff --git a/test/cctest/interpreter/bytecode_expectations/IfConditions.golden b/test/cctest/interpreter/bytecode_expectations/IfConditions.golden index 17ee039b91..ce53de6b7c 100644 --- a/test/cctest/interpreter/bytecode_expectations/IfConditions.golden +++ b/test/cctest/interpreter/bytecode_expectations/IfConditions.golden @@ -22,7 +22,7 @@ parameter count: 1 bytecode array length: 4 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 55 S> */ B(LdaSmi), U8(-1), + /* 55 S> */ B(LdaSmi), I8(-1), /* 70 S> */ B(Return), ] constant pool: [ @@ -46,7 +46,7 @@ parameter count: 1 bytecode array length: 4 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 36 S> */ B(LdaSmi), U8(1), + /* 36 S> */ B(LdaSmi), I8(1), /* 76 S> */ B(Return), ] constant pool: [ @@ -70,7 +70,7 @@ parameter count: 1 bytecode array length: 4 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 59 S> */ B(LdaSmi), U8(-1), + /* 59 S> */ B(LdaSmi), I8(-1), /* 74 S> */ B(Return), ] constant pool: [ @@ -117,14 +117,14 @@ parameter count: 1 bytecode array length: 23 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 25 S> */ B(LdaSmi), U8(1), + /* 25 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 30 S> */ B(JumpIfToBooleanFalse), U8(13), - /* 43 S> */ B(AddSmi), U8(1), R(0), U8(2), + /* 43 S> */ B(AddSmi), I8(1), R(0), U8(2), B(Mov), R(0), R(1), B(Star), R(0), B(Jump), U8(5), - /* 66 S> */ B(LdaSmi), U8(2), + /* 66 S> */ B(LdaSmi), I8(2), /* 80 S> */ B(Return), B(LdaUndefined), /* 80 S> */ B(Return), @@ -153,9 +153,9 @@ bytecodes: [ /* 18 S> */ B(LdaZero), /* 24 E> */ B(TestLessThanOrEqual), R(arg0), U8(2), B(JumpIfFalse), U8(7), - /* 36 S> */ B(Wide), B(LdaSmi), U16(200), + /* 36 S> */ B(Wide), B(LdaSmi), I16(200), /* 80 S> */ B(Return), - /* 63 S> */ B(Wide), B(LdaSmi), U16(-200), + /* 63 S> */ B(Wide), B(LdaSmi), I16(-200), /* 80 S> */ B(Return), B(LdaUndefined), /* 80 S> */ B(Return), @@ -177,7 +177,7 @@ bytecodes: [ /* 19 S> */ B(Ldar), R(arg1), /* 25 E> */ B(TestIn), R(arg0), B(JumpIfFalse), U8(7), - /* 33 S> */ B(Wide), B(LdaSmi), U16(200), + /* 33 S> */ B(Wide), B(LdaSmi), I16(200), /* 47 S> */ B(Return), B(LdaUndefined), /* 47 S> */ B(Return), @@ -396,9 +396,9 @@ bytecodes: [ /* 1057 S> */ B(Mov), R(1), R(0), /* 1066 S> */ B(Mov), R(0), R(1), /* 1073 S> */ B(Mov), R(1), R(0), - /* 1081 S> */ B(Wide), B(LdaSmi), U16(200), + /* 1081 S> */ B(Wide), B(LdaSmi), I16(200), /* 1117 S> */ B(Return), - /* 1102 S> */ B(Wide), B(LdaSmi), U16(-200), + /* 1102 S> */ B(Wide), B(LdaSmi), I16(-200), /* 1117 S> */ B(Return), B(LdaUndefined), /* 1117 S> */ B(Return), @@ -622,9 +622,9 @@ bytecodes: [ /* 1051 S> */ B(Mov), R(1), R(0), /* 1060 S> */ B(Mov), R(0), R(1), /* 1067 S> */ B(Mov), R(1), R(0), - /* 1076 S> */ B(Wide), B(LdaSmi), U16(200), + /* 1076 S> */ B(Wide), B(LdaSmi), I16(200), /* 1112 S> */ B(Return), - /* 1097 S> */ B(Wide), B(LdaSmi), U16(-200), + /* 1097 S> */ B(Wide), B(LdaSmi), I16(-200), /* 1112 S> */ B(Return), B(LdaUndefined), /* 1112 S> */ B(Return), @@ -658,42 +658,42 @@ bytecodes: [ /* 21 S> */ B(Ldar), R(arg1), /* 27 E> */ B(TestEqual), R(arg0), U8(2), B(JumpIfFalse), U8(5), - /* 35 S> */ B(LdaSmi), U8(1), + /* 35 S> */ B(LdaSmi), I8(1), /* 262 S> */ B(Return), /* 49 S> */ B(Ldar), R(arg1), /* 55 E> */ B(TestEqualStrict), R(arg0), U8(3), B(JumpIfFalse), U8(5), - /* 64 S> */ B(LdaSmi), U8(1), + /* 64 S> */ B(LdaSmi), I8(1), /* 262 S> */ B(Return), /* 78 S> */ B(Ldar), R(arg1), /* 84 E> */ B(TestLessThan), R(arg0), U8(4), B(JumpIfFalse), U8(5), - /* 91 S> */ B(LdaSmi), U8(1), + /* 91 S> */ B(LdaSmi), I8(1), /* 262 S> */ B(Return), /* 105 S> */ B(Ldar), R(arg1), /* 111 E> */ B(TestGreaterThan), R(arg0), U8(5), B(JumpIfFalse), U8(5), - /* 118 S> */ B(LdaSmi), U8(1), + /* 118 S> */ B(LdaSmi), I8(1), /* 262 S> */ B(Return), /* 132 S> */ B(Ldar), R(arg1), /* 138 E> */ B(TestLessThanOrEqual), R(arg0), U8(6), B(JumpIfFalse), U8(5), - /* 146 S> */ B(LdaSmi), U8(1), + /* 146 S> */ B(LdaSmi), I8(1), /* 262 S> */ B(Return), /* 160 S> */ B(Ldar), R(arg1), /* 166 E> */ B(TestGreaterThanOrEqual), R(arg0), U8(7), B(JumpIfFalse), U8(5), - /* 174 S> */ B(LdaSmi), U8(1), + /* 174 S> */ B(LdaSmi), I8(1), /* 262 S> */ B(Return), /* 188 S> */ B(Ldar), R(arg1), /* 194 E> */ B(TestIn), R(arg0), B(JumpIfFalse), U8(5), - /* 202 S> */ B(LdaSmi), U8(1), + /* 202 S> */ B(LdaSmi), I8(1), /* 262 S> */ B(Return), /* 216 S> */ B(Ldar), R(arg1), /* 222 E> */ B(TestInstanceOf), R(arg0), B(JumpIfFalse), U8(5), - /* 238 S> */ B(LdaSmi), U8(1), + /* 238 S> */ B(LdaSmi), I8(1), /* 262 S> */ B(Return), /* 252 S> */ B(LdaZero), /* 262 S> */ B(Return), @@ -723,9 +723,9 @@ bytecodes: [ /* 25 S> */ B(LdaZero), B(Star), R(0), /* 30 S> */ B(JumpIfToBooleanFalse), U8(5), - /* 43 S> */ B(LdaSmi), U8(20), + /* 43 S> */ B(LdaSmi), I8(20), /* 85 S> */ B(Return), - /* 69 S> */ B(LdaSmi), U8(-20), + /* 69 S> */ B(LdaSmi), I8(-20), /* 85 S> */ B(Return), B(LdaUndefined), /* 85 S> */ B(Return), @@ -759,7 +759,7 @@ bytecodes: [ B(LdaZero), /* 37 E> */ B(TestLessThan), R(arg0), U8(3), B(JumpIfFalse), U8(5), - /* 48 S> */ B(LdaSmi), U8(1), + /* 48 S> */ B(LdaSmi), I8(1), /* 133 S> */ B(Return), /* 67 S> */ B(LdaZero), /* 73 E> */ B(TestGreaterThan), R(arg0), U8(4), @@ -769,7 +769,7 @@ bytecodes: [ B(JumpIfFalse), U8(4), /* 93 S> */ B(LdaZero), /* 133 S> */ B(Return), - /* 118 S> */ B(LdaSmi), U8(-1), + /* 118 S> */ B(LdaSmi), I8(-1), /* 133 S> */ B(Return), B(LdaUndefined), /* 133 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/IntegerConstants.golden b/test/cctest/interpreter/bytecode_expectations/IntegerConstants.golden index f71907ba4d..1997d02233 100644 --- a/test/cctest/interpreter/bytecode_expectations/IntegerConstants.golden +++ b/test/cctest/interpreter/bytecode_expectations/IntegerConstants.golden @@ -14,7 +14,7 @@ parameter count: 1 bytecode array length: 8 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 34 S> */ B(ExtraWide), B(LdaSmi), U32(12345678), + /* 34 S> */ B(ExtraWide), B(LdaSmi), I32(12345678), /* 51 S> */ B(Return), ] constant pool: [ @@ -31,9 +31,9 @@ parameter count: 1 bytecode array length: 12 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(Wide), B(LdaSmi), U16(1234), + /* 42 S> */ B(Wide), B(LdaSmi), I16(1234), B(Star), R(0), - /* 48 S> */ B(Wide), B(LdaSmi), U16(5678), + /* 48 S> */ B(Wide), B(LdaSmi), I16(5678), /* 61 S> */ B(Return), ] constant pool: [ @@ -50,9 +50,9 @@ parameter count: 1 bytecode array length: 12 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(Wide), B(LdaSmi), U16(1234), + /* 42 S> */ B(Wide), B(LdaSmi), I16(1234), B(Star), R(0), - /* 48 S> */ B(Wide), B(LdaSmi), U16(1234), + /* 48 S> */ B(Wide), B(LdaSmi), I16(1234), /* 61 S> */ B(Return), ] constant pool: [ diff --git a/test/cctest/interpreter/bytecode_expectations/JumpsRequiringConstantWideOperands.golden b/test/cctest/interpreter/bytecode_expectations/JumpsRequiringConstantWideOperands.golden index 8cea991aeb..292247b425 100644 --- a/test/cctest/interpreter/bytecode_expectations/JumpsRequiringConstantWideOperands.golden +++ b/test/cctest/interpreter/bytecode_expectations/JumpsRequiringConstantWideOperands.golden @@ -956,23 +956,23 @@ bytecodes: [ B(Star), R(0), /* 4103 S> */ B(LdaZero), B(Star), R(1), - /* 4108 S> */ B(LdaSmi), U8(3), + /* 4108 S> */ B(LdaSmi), I8(3), /* 4108 E> */ B(TestLessThan), R(1), U8(2), B(Wide), B(JumpIfFalse), U16(39), /* 4090 E> */ B(StackCheck), - /* 4122 S> */ B(LdaSmi), U8(1), + /* 4122 S> */ B(LdaSmi), I8(1), /* 4128 E> */ B(TestEqual), R(1), U8(4), B(Wide), B(JumpIfFalse), U16(7), /* 4134 S> */ B(Wide), B(Jump), U16(16), - /* 4146 S> */ B(LdaSmi), U8(2), + /* 4146 S> */ B(LdaSmi), I8(2), /* 4152 E> */ B(TestEqual), R(1), U8(5), B(Wide), B(JumpIfFalse), U16(7), /* 4158 S> */ B(Wide), B(Jump), U16(12), /* 4114 S> */ B(Ldar), R(1), B(Inc), U8(3), B(Star), R(1), - B(JumpLoop), U8(42), U8(0), - /* 4167 S> */ B(LdaSmi), U8(3), + B(JumpLoop), U8(42), I8(0), + /* 4167 S> */ B(LdaSmi), I8(3), /* 4177 S> */ B(Return), ] constant pool: [ diff --git a/test/cctest/interpreter/bytecode_expectations/LetVariable.golden b/test/cctest/interpreter/bytecode_expectations/LetVariable.golden index 74709fdab9..60f236f17a 100644 --- a/test/cctest/interpreter/bytecode_expectations/LetVariable.golden +++ b/test/cctest/interpreter/bytecode_expectations/LetVariable.golden @@ -16,7 +16,7 @@ bytecodes: [ B(LdaTheHole), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(10), + /* 42 S> */ B(LdaSmi), I8(10), B(Star), R(0), B(LdaUndefined), /* 46 S> */ B(Return), @@ -37,7 +37,7 @@ bytecodes: [ B(LdaTheHole), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(10), + /* 42 S> */ B(LdaSmi), I8(10), B(Star), R(0), /* 46 S> */ B(Nop), /* 56 S> */ B(Return), @@ -58,7 +58,7 @@ bytecodes: [ B(LdaTheHole), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 45 S> */ B(LdaSmi), U8(20), + /* 45 S> */ B(LdaSmi), I8(20), B(Star), R(1), B(Ldar), R(0), B(JumpIfNotHole), U8(11), @@ -87,9 +87,9 @@ bytecodes: [ B(LdaTheHole), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(10), + /* 42 S> */ B(LdaSmi), I8(10), B(Star), R(0), - /* 46 S> */ B(LdaSmi), U8(20), + /* 46 S> */ B(LdaSmi), I8(20), B(Star), R(0), B(LdaUndefined), /* 54 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/LetVariableContextSlot.golden b/test/cctest/interpreter/bytecode_expectations/LetVariableContextSlot.golden index c1c979c0ac..33b521b601 100644 --- a/test/cctest/interpreter/bytecode_expectations/LetVariableContextSlot.golden +++ b/test/cctest/interpreter/bytecode_expectations/LetVariableContextSlot.golden @@ -20,7 +20,7 @@ bytecodes: [ B(CreateClosure), U8(0), U8(2), U8(2), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(10), + /* 42 S> */ B(LdaSmi), I8(10), /* 42 E> */ B(StaCurrentContextSlot), U8(4), B(LdaUndefined), /* 72 S> */ B(Return), @@ -46,7 +46,7 @@ bytecodes: [ B(CreateClosure), U8(0), U8(2), U8(2), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(10), + /* 42 S> */ B(LdaSmi), I8(10), /* 42 E> */ B(StaCurrentContextSlot), U8(4), /* 72 S> */ B(LdaCurrentContextSlot), U8(4), /* 82 S> */ B(Return), @@ -72,7 +72,7 @@ bytecodes: [ B(CreateClosure), U8(0), U8(2), U8(2), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 45 S> */ B(LdaSmi), U8(20), + /* 45 S> */ B(LdaSmi), I8(20), B(Star), R(2), B(LdaCurrentContextSlot), U8(4), B(JumpIfNotHole), U8(11), @@ -107,9 +107,9 @@ bytecodes: [ B(CreateClosure), U8(0), U8(2), U8(2), B(Star), R(0), /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(10), + /* 42 S> */ B(LdaSmi), I8(10), /* 42 E> */ B(StaCurrentContextSlot), U8(4), - /* 46 S> */ B(LdaSmi), U8(20), + /* 46 S> */ B(LdaSmi), I8(20), /* 48 E> */ B(StaCurrentContextSlot), U8(4), B(LdaUndefined), /* 80 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/LogicalExpressions.golden b/test/cctest/interpreter/bytecode_expectations/LogicalExpressions.golden index fae86a673d..8cfa8474f9 100644 --- a/test/cctest/interpreter/bytecode_expectations/LogicalExpressions.golden +++ b/test/cctest/interpreter/bytecode_expectations/LogicalExpressions.golden @@ -17,7 +17,7 @@ bytecodes: [ /* 42 S> */ B(LdaZero), B(Star), R(0), /* 45 S> */ B(JumpIfToBooleanTrue), U8(4), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), /* 60 S> */ B(Return), ] constant pool: [ @@ -36,10 +36,10 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(LdaZero), B(Star), R(0), - /* 45 S> */ B(LdaSmi), U8(1), + /* 45 S> */ B(LdaSmi), I8(1), /* 55 E> */ B(TestEqual), R(0), U8(2), B(JumpIfTrue), U8(4), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), /* 67 S> */ B(Return), ] constant pool: [ @@ -59,7 +59,7 @@ bytecodes: [ /* 42 S> */ B(LdaZero), B(Star), R(0), /* 45 S> */ B(JumpIfToBooleanFalse), U8(4), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), /* 60 S> */ B(Return), ] constant pool: [ @@ -81,7 +81,7 @@ bytecodes: [ /* 45 S> */ B(LdaZero), /* 55 E> */ B(TestEqual), R(0), U8(2), B(JumpIfFalse), U8(4), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), /* 67 S> */ B(Return), ] constant pool: [ @@ -101,7 +101,7 @@ bytecodes: [ /* 42 S> */ B(LdaZero), B(Star), R(0), /* 45 S> */ B(JumpIfToBooleanTrue), U8(4), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), /* 68 S> */ B(Return), ] constant pool: [ @@ -118,17 +118,17 @@ parameter count: 1 bytecode array length: 24 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(2), + /* 42 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 49 S> */ B(LdaSmi), U8(3), + /* 49 S> */ B(LdaSmi), I8(3), B(Star), R(1), - /* 56 S> */ B(LdaSmi), U8(4), + /* 56 S> */ B(LdaSmi), I8(4), B(Star), R(2), /* 59 S> */ B(Ldar), R(0), B(JumpIfToBooleanTrue), U8(8), - B(LdaSmi), U8(5), + B(LdaSmi), I8(5), B(Star), R(2), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), /* 95 S> */ B(Return), ] constant pool: [ @@ -177,143 +177,143 @@ parameter count: 1 bytecode array length: 276 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), - /* 53 S> */ B(LdaSmi), U8(2), + /* 53 S> */ B(LdaSmi), I8(2), B(Star), R(1), - /* 60 S> */ B(LdaSmi), U8(3), + /* 60 S> */ B(LdaSmi), I8(3), B(Star), R(2), /* 63 S> */ B(Ldar), R(0), B(JumpIfToBooleanTrueConstant), U8(0), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), /* 624 S> */ B(Return), ] constant pool: [ @@ -365,141 +365,141 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(LdaZero), B(Star), R(0), - /* 53 S> */ B(LdaSmi), U8(2), + /* 53 S> */ B(LdaSmi), I8(2), B(Star), R(1), - /* 60 S> */ B(LdaSmi), U8(3), + /* 60 S> */ B(LdaSmi), I8(3), B(Star), R(2), /* 63 S> */ B(Ldar), R(0), B(JumpIfToBooleanFalseConstant), U8(0), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), /* 624 S> */ B(Return), ] constant pool: [ @@ -549,144 +549,144 @@ parameter count: 1 bytecode array length: 279 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), - /* 53 S> */ B(LdaSmi), U8(2), + /* 53 S> */ B(LdaSmi), I8(2), B(Star), R(1), - /* 60 S> */ B(LdaSmi), U8(3), + /* 60 S> */ B(LdaSmi), I8(3), B(Star), R(2), - /* 63 S> */ B(LdaSmi), U8(3), + /* 63 S> */ B(LdaSmi), I8(3), /* 73 E> */ B(TestGreaterThan), R(0), U8(2), B(JumpIfTrueConstant), U8(0), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), /* 630 S> */ B(Return), ] constant pool: [ @@ -738,142 +738,142 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(LdaZero), B(Star), R(0), - /* 53 S> */ B(LdaSmi), U8(2), + /* 53 S> */ B(LdaSmi), I8(2), B(Star), R(1), - /* 60 S> */ B(LdaSmi), U8(3), + /* 60 S> */ B(LdaSmi), I8(3), B(Star), R(2), - /* 63 S> */ B(LdaSmi), U8(5), + /* 63 S> */ B(LdaSmi), I8(5), /* 73 E> */ B(TestLessThan), R(0), U8(2), B(JumpIfFalseConstant), U8(0), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(2), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), /* 630 S> */ B(Return), ] constant pool: [ @@ -908,7 +908,7 @@ parameter count: 1 bytecode array length: 4 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 34 S> */ B(LdaSmi), U8(1), + /* 34 S> */ B(LdaSmi), I8(1), /* 49 S> */ B(Return), ] constant pool: [ @@ -925,13 +925,13 @@ parameter count: 1 bytecode array length: 15 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(JumpIfToBooleanFalse), U8(4), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(JumpIfToBooleanTrue), U8(3), B(LdaZero), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), /* 68 S> */ B(Return), ] constant pool: [ diff --git a/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden b/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden index 07dbbdfe19..fdfe86481c 100644 --- a/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden +++ b/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden @@ -31,9 +31,9 @@ bytecodes: [ B(Star), R(3), B(LdaZero), B(Star), R(7), - B(LdaSmi), U8(10), + B(LdaSmi), I8(10), B(Star), R(8), - B(LdaSmi), U8(14), + B(LdaSmi), I8(14), B(Star), R(9), B(Mov), R(1), R(4), B(Mov), R(3), R(5), @@ -77,9 +77,9 @@ bytecodes: [ B(Star), R(3), B(LdaZero), B(Star), R(7), - B(LdaSmi), U8(10), + B(LdaSmi), I8(10), B(Star), R(8), - B(LdaSmi), U8(14), + B(LdaSmi), I8(14), B(Star), R(9), B(Mov), R(1), R(4), B(Mov), R(3), R(5), @@ -116,7 +116,7 @@ bytecodes: [ B(Ldar), R(new_target), B(StaCurrentContextSlot), U8(5), /* 10 E> */ B(StackCheck), - /* 14 S> */ B(LdaSmi), U8(20), + /* 14 S> */ B(LdaSmi), I8(20), /* 16 E> */ B(StaLookupSlotSloppy), U8(0), /* 22 S> */ B(LdaUndefined), B(Star), R(2), @@ -126,9 +126,9 @@ bytecodes: [ B(Star), R(3), B(LdaZero), B(Star), R(7), - B(LdaSmi), U8(10), + B(LdaSmi), I8(10), B(Star), R(8), - B(LdaSmi), U8(29), + B(LdaSmi), I8(29), B(Star), R(9), B(Mov), R(1), R(4), B(Mov), R(3), R(5), @@ -176,9 +176,9 @@ bytecodes: [ B(Star), R(3), B(LdaZero), B(Star), R(7), - B(LdaSmi), U8(38), + B(LdaSmi), I8(38), B(Star), R(8), - B(LdaSmi), U8(44), + B(LdaSmi), I8(44), B(Star), R(9), B(Mov), R(1), R(4), B(Mov), R(3), R(5), @@ -227,9 +227,9 @@ bytecodes: [ B(Star), R(3), B(LdaZero), B(Star), R(7), - B(LdaSmi), U8(34), + B(LdaSmi), I8(34), B(Star), R(8), - B(LdaSmi), U8(40), + B(LdaSmi), I8(40), B(Star), R(9), B(Mov), R(1), R(4), B(Mov), R(3), R(5), diff --git a/test/cctest/interpreter/bytecode_expectations/LookupSlotInEval.golden b/test/cctest/interpreter/bytecode_expectations/LookupSlotInEval.golden index ce915d51c0..9a40416535 100644 --- a/test/cctest/interpreter/bytecode_expectations/LookupSlotInEval.golden +++ b/test/cctest/interpreter/bytecode_expectations/LookupSlotInEval.golden @@ -43,7 +43,7 @@ parameter count: 1 bytecode array length: 7 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 15 S> */ B(LdaSmi), U8(10), + /* 15 S> */ B(LdaSmi), I8(10), /* 17 E> */ B(StaLookupSlotSloppy), U8(0), B(LdaUndefined), /* 23 S> */ B(Return), @@ -68,7 +68,7 @@ parameter count: 1 bytecode array length: 7 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 29 S> */ B(LdaSmi), U8(10), + /* 29 S> */ B(LdaSmi), I8(10), /* 31 E> */ B(StaLookupSlotStrict), U8(0), B(LdaUndefined), /* 37 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/LookupSlotWideInEval.golden b/test/cctest/interpreter/bytecode_expectations/LookupSlotWideInEval.golden index f7e64f4864..2dcd93b231 100644 --- a/test/cctest/interpreter/bytecode_expectations/LookupSlotWideInEval.golden +++ b/test/cctest/interpreter/bytecode_expectations/LookupSlotWideInEval.golden @@ -2895,7 +2895,7 @@ bytecodes: [ B(Star), R(0), /* 3082 S> */ B(LdaConstant), U8(255), B(Star), R(0), - /* 3086 S> */ B(LdaSmi), U8(10), + /* 3086 S> */ B(LdaSmi), I8(10), /* 3088 E> */ B(Wide), B(StaLookupSlotSloppy), U16(256), B(LdaUndefined), /* 3093 S> */ B(Return), @@ -3949,7 +3949,7 @@ bytecodes: [ B(Star), R(0), /* 3095 S> */ B(LdaConstant), U8(255), B(Star), R(0), - /* 3099 S> */ B(LdaSmi), U8(10), + /* 3099 S> */ B(LdaSmi), I8(10), /* 3101 E> */ B(Wide), B(StaLookupSlotStrict), U16(256), B(LdaUndefined), /* 3106 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/Modules.golden b/test/cctest/interpreter/bytecode_expectations/Modules.golden index db5b72c6ee..c6d6a24cdf 100644 --- a/test/cctest/interpreter/bytecode_expectations/Modules.golden +++ b/test/cctest/interpreter/bytecode_expectations/Modules.golden @@ -24,10 +24,10 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(1), U8(0), B(JumpIfTrue), U8(63), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(3), B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(LdaConstant), U8(0), B(Star), R(5), @@ -50,7 +50,7 @@ bytecodes: [ B(SuspendGenerator), R(4), B(Ldar), R(3), /* 13 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1), B(Star), R(5), @@ -59,7 +59,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(6), U8(0), B(JumpIfTrue), U8(25), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(6), U8(0), B(JumpIfTrue), U8(15), B(Jump), U8(2), @@ -96,10 +96,10 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(1), U8(0), B(JumpIfTrue), U8(63), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(3), B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(LdaConstant), U8(0), B(Star), R(5), @@ -122,7 +122,7 @@ bytecodes: [ B(SuspendGenerator), R(4), B(Ldar), R(3), /* 24 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1), B(Star), R(5), @@ -131,7 +131,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(6), U8(0), B(JumpIfTrue), U8(25), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(6), U8(0), B(JumpIfTrue), U8(15), B(Jump), U8(2), @@ -170,10 +170,10 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(2), U8(0), B(JumpIfTrue), U8(63), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(4), B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(2), B(LdaConstant), U8(0), B(Star), R(6), @@ -196,7 +196,7 @@ bytecodes: [ B(SuspendGenerator), R(5), B(Ldar), R(4), /* 64 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(2), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5), U8(1), B(Star), R(6), @@ -205,7 +205,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(7), U8(0), B(JumpIfTrue), U8(25), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(7), U8(0), B(JumpIfTrue), U8(15), B(Jump), U8(2), @@ -218,13 +218,13 @@ bytecodes: [ /* 0 E> */ B(Throw), /* 32 S> */ B(LdaUndefined), B(Star), R(5), - /* 32 E> */ B(LdaModuleVariable), U8(-1), U8(0), + /* 32 E> */ B(LdaModuleVariable), I8(-1), U8(0), B(JumpIfNotHole), U8(11), B(LdaConstant), U8(1), B(Star), R(6), B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), B(Star), R(4), - B(LdaSmi), U8(42), + B(LdaSmi), I8(42), B(Star), R(6), /* 32 E> */ B(Call), R(4), R(5), U8(2), U8(2), B(Ldar), R(closure), @@ -236,13 +236,13 @@ bytecodes: [ /* 47 E> */ B(StaCurrentContextSlot), U8(4), /* 52 S> */ B(LdaUndefined), B(Star), R(5), - /* 52 E> */ B(LdaModuleVariable), U8(-1), U8(1), + /* 52 E> */ B(LdaModuleVariable), I8(-1), U8(1), B(JumpIfNotHole), U8(11), B(LdaConstant), U8(1), B(Star), R(6), B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), B(Star), R(4), - B(LdaSmi), U8(42), + B(LdaSmi), I8(42), B(Star), R(6), /* 52 E> */ B(Call), R(4), R(5), U8(2), U8(4), B(PopContext), R(1), @@ -276,10 +276,10 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(2), U8(0), B(JumpIfTrue), U8(63), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(4), B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(2), B(LdaConstant), U8(0), B(Star), R(6), @@ -302,7 +302,7 @@ bytecodes: [ B(SuspendGenerator), R(5), B(Ldar), R(4), /* 49 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(2), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5), U8(1), B(Star), R(6), @@ -311,7 +311,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(7), U8(0), B(JumpIfTrue), U8(25), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(7), U8(0), B(JumpIfTrue), U8(15), B(Jump), U8(2), @@ -322,11 +322,11 @@ bytecodes: [ /* 49 S> */ B(Return), B(Ldar), R(6), /* 0 E> */ B(Throw), - /* 17 S> */ B(LdaSmi), U8(42), - /* 17 E> */ B(StaModuleVariable), U8(1), U8(0), - /* 21 S> */ B(LdaModuleVariable), U8(1), U8(0), + /* 17 S> */ B(LdaSmi), I8(42), + /* 17 E> */ B(StaModuleVariable), I8(1), U8(0), + /* 21 S> */ B(LdaModuleVariable), I8(1), U8(0), B(Inc), U8(2), - /* 24 E> */ B(StaModuleVariable), U8(1), U8(0), + /* 24 E> */ B(StaModuleVariable), I8(1), U8(0), B(Ldar), R(closure), B(CreateBlockContext), U8(1), B(PushContext), R(1), @@ -334,9 +334,9 @@ bytecodes: [ B(StaCurrentContextSlot), U8(4), /* 34 S> */ B(LdaUndefined), /* 34 E> */ B(StaCurrentContextSlot), U8(4), - /* 39 S> */ B(LdaModuleVariable), U8(1), U8(1), + /* 39 S> */ B(LdaModuleVariable), I8(1), U8(1), B(Inc), U8(3), - /* 42 E> */ B(StaModuleVariable), U8(1), U8(1), + /* 42 E> */ B(StaModuleVariable), I8(1), U8(1), B(PopContext), R(1), B(LdaUndefined), /* 49 S> */ B(Return), @@ -367,10 +367,10 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(2), U8(0), B(JumpIfTrue), U8(67), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(4), B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(2), B(LdaConstant), U8(0), B(Star), R(6), @@ -381,7 +381,7 @@ bytecodes: [ B(Ldar), R(this), B(StaCurrentContextSlot), U8(4), B(LdaTheHole), - B(StaModuleVariable), U8(1), U8(0), + B(StaModuleVariable), I8(1), U8(0), /* 0 E> */ B(StackCheck), B(LdaCurrentContextSlot), U8(4), B(Star), R(5), @@ -395,7 +395,7 @@ bytecodes: [ B(SuspendGenerator), R(5), B(Ldar), R(4), /* 49 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(2), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5), U8(1), B(Star), R(6), @@ -404,7 +404,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(7), U8(0), B(JumpIfTrue), U8(25), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(7), U8(0), B(JumpIfTrue), U8(15), B(Jump), U8(2), @@ -415,11 +415,11 @@ bytecodes: [ /* 49 S> */ B(Return), B(Ldar), R(6), /* 0 E> */ B(Throw), - /* 17 S> */ B(LdaSmi), U8(42), - /* 17 E> */ B(StaModuleVariable), U8(1), U8(0), - /* 21 S> */ B(LdaModuleVariable), U8(1), U8(0), + /* 17 S> */ B(LdaSmi), I8(42), + /* 17 E> */ B(StaModuleVariable), I8(1), U8(0), + /* 21 S> */ B(LdaModuleVariable), I8(1), U8(0), B(Inc), U8(2), - /* 24 E> */ B(StaModuleVariable), U8(1), U8(0), + /* 24 E> */ B(StaModuleVariable), I8(1), U8(0), B(Ldar), R(closure), B(CreateBlockContext), U8(1), B(PushContext), R(1), @@ -427,9 +427,9 @@ bytecodes: [ B(StaCurrentContextSlot), U8(4), /* 34 S> */ B(LdaUndefined), /* 34 E> */ B(StaCurrentContextSlot), U8(4), - /* 39 S> */ B(LdaModuleVariable), U8(1), U8(1), + /* 39 S> */ B(LdaModuleVariable), I8(1), U8(1), B(Inc), U8(3), - /* 42 E> */ B(StaModuleVariable), U8(1), U8(1), + /* 42 E> */ B(StaModuleVariable), I8(1), U8(1), B(PopContext), R(1), B(LdaUndefined), /* 49 S> */ B(Return), @@ -460,10 +460,10 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(2), U8(0), B(JumpIfTrue), U8(67), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(4), B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(2), B(LdaConstant), U8(0), B(Star), R(6), @@ -474,7 +474,7 @@ bytecodes: [ B(Ldar), R(this), B(StaCurrentContextSlot), U8(4), B(LdaTheHole), - B(StaModuleVariable), U8(1), U8(0), + B(StaModuleVariable), I8(1), U8(0), /* 0 E> */ B(StackCheck), B(LdaCurrentContextSlot), U8(4), B(Star), R(5), @@ -488,7 +488,7 @@ bytecodes: [ B(SuspendGenerator), R(5), B(Ldar), R(4), /* 51 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(2), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5), U8(1), B(Star), R(6), @@ -497,7 +497,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(7), U8(0), B(JumpIfTrue), U8(25), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(7), U8(0), B(JumpIfTrue), U8(15), B(Jump), U8(2), @@ -508,9 +508,9 @@ bytecodes: [ /* 51 S> */ B(Return), B(Ldar), R(6), /* 0 E> */ B(Throw), - /* 19 S> */ B(LdaSmi), U8(42), - /* 19 E> */ B(StaModuleVariable), U8(1), U8(0), - /* 23 S> */ B(LdaModuleVariable), U8(1), U8(0), + /* 19 S> */ B(LdaSmi), I8(42), + /* 19 E> */ B(StaModuleVariable), I8(1), U8(0), + /* 23 S> */ B(LdaModuleVariable), I8(1), U8(0), B(Inc), U8(2), /* 26 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0), B(Ldar), R(closure), @@ -520,7 +520,7 @@ bytecodes: [ B(StaCurrentContextSlot), U8(4), /* 36 S> */ B(LdaUndefined), /* 36 E> */ B(StaCurrentContextSlot), U8(4), - /* 41 S> */ B(LdaModuleVariable), U8(1), U8(1), + /* 41 S> */ B(LdaModuleVariable), I8(1), U8(1), B(Inc), U8(3), /* 44 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0), B(PopContext), R(1), @@ -551,10 +551,10 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(1), U8(0), B(JumpIfTrue), U8(67), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(3), B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(LdaConstant), U8(0), B(Star), R(5), @@ -565,7 +565,7 @@ bytecodes: [ B(Ldar), R(this), B(StaCurrentContextSlot), U8(4), B(LdaTheHole), - B(StaModuleVariable), U8(1), U8(0), + B(StaModuleVariable), I8(1), U8(0), /* 0 E> */ B(StackCheck), B(LdaCurrentContextSlot), U8(4), B(Star), R(4), @@ -579,7 +579,7 @@ bytecodes: [ B(SuspendGenerator), R(4), B(Ldar), R(3), /* 32 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1), B(Star), R(5), @@ -588,7 +588,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(6), U8(0), B(JumpIfTrue), U8(25), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(6), U8(0), B(JumpIfTrue), U8(15), B(Jump), U8(2), @@ -600,7 +600,7 @@ bytecodes: [ B(Ldar), R(5), /* 0 E> */ B(Throw), B(CreateClosure), U8(1), U8(2), U8(0), - B(StaModuleVariable), U8(1), U8(0), + B(StaModuleVariable), I8(1), U8(0), B(LdaUndefined), /* 32 S> */ B(Return), ] @@ -628,10 +628,10 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(1), U8(0), B(JumpIfTrue), U8(67), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(3), B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(LdaConstant), U8(0), B(Star), R(5), @@ -642,7 +642,7 @@ bytecodes: [ B(Ldar), R(this), B(StaCurrentContextSlot), U8(4), B(LdaTheHole), - B(StaModuleVariable), U8(1), U8(0), + B(StaModuleVariable), I8(1), U8(0), /* 0 E> */ B(StackCheck), B(LdaCurrentContextSlot), U8(4), B(Star), R(4), @@ -656,7 +656,7 @@ bytecodes: [ B(SuspendGenerator), R(4), B(Ldar), R(3), /* 26 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1), B(Star), R(5), @@ -665,7 +665,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(6), U8(0), B(JumpIfTrue), U8(25), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(6), U8(0), B(JumpIfTrue), U8(15), B(Jump), U8(2), @@ -680,9 +680,9 @@ bytecodes: [ B(Star), R(3), B(LdaTheHole), B(Star), R(4), - B(LdaSmi), U8(16), + B(LdaSmi), I8(16), B(Star), R(6), - B(LdaSmi), U8(24), + B(LdaSmi), I8(24), B(Star), R(7), B(Mov), R(3), R(5), B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), @@ -691,7 +691,7 @@ bytecodes: [ B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), B(StaCurrentContextSlot), U8(6), B(LdaCurrentContextSlot), U8(6), - /* 16 E> */ B(StaModuleVariable), U8(1), U8(0), + /* 16 E> */ B(StaModuleVariable), I8(1), U8(0), B(LdaUndefined), /* 26 S> */ B(Return), ] @@ -719,10 +719,10 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(1), U8(0), B(JumpIfTrue), U8(63), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(3), B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(LdaConstant), U8(0), B(Star), R(5), @@ -745,7 +745,7 @@ bytecodes: [ B(SuspendGenerator), R(4), B(Ldar), R(3), /* 30 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1), B(Star), R(5), @@ -754,7 +754,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(6), U8(0), B(JumpIfTrue), U8(25), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(6), U8(0), B(JumpIfTrue), U8(15), B(Jump), U8(2), @@ -791,10 +791,10 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(1), U8(0), B(JumpIfTrue), U8(63), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(3), B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(LdaConstant), U8(0), B(Star), R(5), @@ -817,7 +817,7 @@ bytecodes: [ B(SuspendGenerator), R(4), B(Ldar), R(3), /* 19 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1), B(Star), R(5), @@ -826,7 +826,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(6), U8(0), B(JumpIfTrue), U8(25), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(6), U8(0), B(JumpIfTrue), U8(15), B(Jump), U8(2), @@ -864,10 +864,10 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(1), U8(0), B(JumpIfTrue), U8(73), - B(LdaSmi), U8(78), + B(LdaSmi), I8(78), B(Star), R(3), B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(LdaConstant), U8(0), B(Star), R(5), @@ -894,7 +894,7 @@ bytecodes: [ B(SuspendGenerator), R(4), B(Ldar), R(3), /* 45 S> */ B(Return), - B(LdaSmi), U8(-2), + B(LdaSmi), I8(-2), B(Star), R(1), B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1), B(Star), R(5), @@ -903,7 +903,7 @@ bytecodes: [ B(LdaZero), B(TestEqualStrict), R(6), U8(0), B(JumpIfTrue), U8(25), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(6), U8(0), B(JumpIfTrue), U8(15), B(Jump), U8(2), diff --git a/test/cctest/interpreter/bytecode_expectations/NewAndSpread.golden b/test/cctest/interpreter/bytecode_expectations/NewAndSpread.golden index 272b478ab8..ab713def83 100644 --- a/test/cctest/interpreter/bytecode_expectations/NewAndSpread.golden +++ b/test/cctest/interpreter/bytecode_expectations/NewAndSpread.golden @@ -23,9 +23,9 @@ bytecodes: [ B(Star), R(3), B(LdaTheHole), B(Star), R(4), - B(LdaSmi), U8(34), + B(LdaSmi), I8(34), B(Star), R(6), - B(LdaSmi), U8(88), + B(LdaSmi), I8(88), B(Star), R(7), B(Mov), R(3), R(5), B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), @@ -67,9 +67,9 @@ bytecodes: [ B(Star), R(3), B(LdaTheHole), B(Star), R(4), - B(LdaSmi), U8(34), + B(LdaSmi), I8(34), B(Star), R(6), - B(LdaSmi), U8(88), + B(LdaSmi), I8(88), B(Star), R(7), B(Mov), R(3), R(5), B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), @@ -113,9 +113,9 @@ bytecodes: [ B(Star), R(3), B(LdaTheHole), B(Star), R(4), - B(LdaSmi), U8(34), + B(LdaSmi), I8(34), B(Star), R(6), - B(LdaSmi), U8(88), + B(LdaSmi), I8(88), B(Star), R(7), B(Mov), R(3), R(5), B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), diff --git a/test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden b/test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden index 75c6ff57be..2ad8eadfc5 100644 --- a/test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden +++ b/test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden @@ -52,7 +52,7 @@ parameter count: 1 bytecode array length: 17 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), /* 75 E> */ B(StaNamedPropertySloppy), R(1), U8(1), U8(2), @@ -75,10 +75,10 @@ parameter count: 1 bytecode array length: 21 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), - /* 69 E> */ B(AddSmi), U8(1), R(0), U8(2), + /* 69 E> */ B(AddSmi), I8(1), R(0), U8(2), B(StaNamedPropertySloppy), R(1), U8(1), U8(3), B(Ldar), R(1), /* 76 S> */ B(Return), @@ -239,10 +239,10 @@ parameter count: 1 bytecode array length: 31 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(3), B(LdaZero), B(Star), R(5), @@ -294,7 +294,7 @@ bytecodes: [ B(Star), R(0), /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(35), R(1), /* 60 E> */ B(ToName), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(3), B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(2), B(Ldar), R(1), @@ -321,7 +321,7 @@ bytecodes: [ /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), R(1), /* 64 E> */ B(StaNamedPropertySloppy), R(1), U8(2), U8(2), /* 68 E> */ B(ToName), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(3), B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(4), B(Ldar), R(1), @@ -348,7 +348,7 @@ bytecodes: [ B(Star), R(0), /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(1), U8(35), R(1), /* 60 E> */ B(ToName), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(3), B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(2), B(CreateObjectLiteral), U8(1), U8(0), U8(35), R(4), diff --git a/test/cctest/interpreter/bytecode_expectations/Parameters.golden b/test/cctest/interpreter/bytecode_expectations/Parameters.golden index 01c3ad0694..b3c987f296 100644 --- a/test/cctest/interpreter/bytecode_expectations/Parameters.golden +++ b/test/cctest/interpreter/bytecode_expectations/Parameters.golden @@ -106,7 +106,7 @@ parameter count: 2 bytecode array length: 7 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 19 S> */ B(LdaSmi), U8(1), + /* 19 S> */ B(LdaSmi), I8(1), B(Star), R(arg0), B(LdaUndefined), /* 29 S> */ B(Return), @@ -126,7 +126,7 @@ parameter count: 5 bytecode array length: 7 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 37 S> */ B(LdaSmi), U8(1), + /* 37 S> */ B(LdaSmi), I8(1), B(Star), R(arg1), B(LdaUndefined), /* 47 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/PrimitiveExpressions.golden b/test/cctest/interpreter/bytecode_expectations/PrimitiveExpressions.golden index 90fb7b9dbb..055c016e24 100644 --- a/test/cctest/interpreter/bytecode_expectations/PrimitiveExpressions.golden +++ b/test/cctest/interpreter/bytecode_expectations/PrimitiveExpressions.golden @@ -35,7 +35,7 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(LdaZero), B(Star), R(0), - /* 45 S> */ B(LdaSmi), U8(3), + /* 45 S> */ B(LdaSmi), I8(3), /* 54 E> */ B(Add), R(0), U8(2), /* 59 S> */ B(Return), ] @@ -55,7 +55,7 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(LdaZero), B(Star), R(0), - /* 45 S> */ B(LdaSmi), U8(3), + /* 45 S> */ B(LdaSmi), I8(3), /* 54 E> */ B(Sub), R(0), U8(2), /* 59 S> */ B(Return), ] @@ -73,9 +73,9 @@ parameter count: 1 bytecode array length: 11 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(4), + /* 42 S> */ B(LdaSmi), I8(4), B(Star), R(0), - /* 45 S> */ B(LdaSmi), U8(3), + /* 45 S> */ B(LdaSmi), I8(3), /* 54 E> */ B(Mul), R(0), U8(2), /* 59 S> */ B(Return), ] @@ -93,9 +93,9 @@ parameter count: 1 bytecode array length: 11 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(4), + /* 42 S> */ B(LdaSmi), I8(4), B(Star), R(0), - /* 45 S> */ B(LdaSmi), U8(3), + /* 45 S> */ B(LdaSmi), I8(3), /* 54 E> */ B(Div), R(0), U8(2), /* 59 S> */ B(Return), ] @@ -113,9 +113,9 @@ parameter count: 1 bytecode array length: 11 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(4), + /* 42 S> */ B(LdaSmi), I8(4), B(Star), R(0), - /* 45 S> */ B(LdaSmi), U8(3), + /* 45 S> */ B(LdaSmi), I8(3), /* 54 E> */ B(Mod), R(0), U8(2), /* 59 S> */ B(Return), ] @@ -133,9 +133,9 @@ parameter count: 1 bytecode array length: 11 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), - /* 45 S> */ B(LdaSmi), U8(2), + /* 45 S> */ B(LdaSmi), I8(2), /* 54 E> */ B(BitwiseOr), R(0), U8(2), /* 59 S> */ B(Return), ] @@ -153,9 +153,9 @@ parameter count: 1 bytecode array length: 11 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), - /* 45 S> */ B(LdaSmi), U8(2), + /* 45 S> */ B(LdaSmi), I8(2), /* 54 E> */ B(BitwiseXor), R(0), U8(2), /* 59 S> */ B(Return), ] @@ -173,9 +173,9 @@ parameter count: 1 bytecode array length: 11 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), - /* 45 S> */ B(LdaSmi), U8(2), + /* 45 S> */ B(LdaSmi), I8(2), /* 54 E> */ B(BitwiseAnd), R(0), U8(2), /* 59 S> */ B(Return), ] @@ -193,9 +193,9 @@ parameter count: 1 bytecode array length: 11 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(10), + /* 42 S> */ B(LdaSmi), I8(10), B(Star), R(0), - /* 46 S> */ B(LdaSmi), U8(3), + /* 46 S> */ B(LdaSmi), I8(3), /* 55 E> */ B(ShiftLeft), R(0), U8(2), /* 61 S> */ B(Return), ] @@ -213,9 +213,9 @@ parameter count: 1 bytecode array length: 11 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(10), + /* 42 S> */ B(LdaSmi), I8(10), B(Star), R(0), - /* 46 S> */ B(LdaSmi), U8(3), + /* 46 S> */ B(LdaSmi), I8(3), /* 55 E> */ B(ShiftRight), R(0), U8(2), /* 61 S> */ B(Return), ] @@ -233,9 +233,9 @@ parameter count: 1 bytecode array length: 11 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(10), + /* 42 S> */ B(LdaSmi), I8(10), B(Star), R(0), - /* 46 S> */ B(LdaSmi), U8(3), + /* 46 S> */ B(LdaSmi), I8(3), /* 55 E> */ B(ShiftRightLogical), R(0), U8(2), /* 62 S> */ B(Return), ] @@ -255,7 +255,7 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(LdaZero), B(Star), R(0), - /* 45 S> */ B(LdaSmi), U8(3), + /* 45 S> */ B(LdaSmi), I8(3), /* 60 S> */ B(Return), ] constant pool: [ diff --git a/test/cctest/interpreter/bytecode_expectations/PrimitiveReturnStatements.golden b/test/cctest/interpreter/bytecode_expectations/PrimitiveReturnStatements.golden index 48db168d03..aae0c2d0bd 100644 --- a/test/cctest/interpreter/bytecode_expectations/PrimitiveReturnStatements.golden +++ b/test/cctest/interpreter/bytecode_expectations/PrimitiveReturnStatements.golden @@ -115,7 +115,7 @@ parameter count: 1 bytecode array length: 4 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 34 S> */ B(LdaSmi), U8(1), + /* 34 S> */ B(LdaSmi), I8(1), /* 45 S> */ B(Return), ] constant pool: [ @@ -132,7 +132,7 @@ parameter count: 1 bytecode array length: 4 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 34 S> */ B(LdaSmi), U8(-1), + /* 34 S> */ B(LdaSmi), I8(-1), /* 45 S> */ B(Return), ] constant pool: [ @@ -149,7 +149,7 @@ parameter count: 1 bytecode array length: 4 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 34 S> */ B(LdaSmi), U8(127), + /* 34 S> */ B(LdaSmi), I8(127), /* 47 S> */ B(Return), ] constant pool: [ @@ -166,7 +166,7 @@ parameter count: 1 bytecode array length: 4 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 34 S> */ B(LdaSmi), U8(-128), + /* 34 S> */ B(LdaSmi), I8(-128), /* 47 S> */ B(Return), ] constant pool: [ @@ -183,7 +183,7 @@ parameter count: 1 bytecode array length: 4 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 34 S> */ B(LdaSmi), U8(2), + /* 34 S> */ B(LdaSmi), I8(2), /* 46 S> */ B(Return), ] constant pool: [ diff --git a/test/cctest/interpreter/bytecode_expectations/PropertyCall.golden b/test/cctest/interpreter/bytecode_expectations/PropertyCall.golden index f0a51af8bd..38ef6a3fc4 100644 --- a/test/cctest/interpreter/bytecode_expectations/PropertyCall.golden +++ b/test/cctest/interpreter/bytecode_expectations/PropertyCall.golden @@ -500,20 +500,20 @@ bytecodes: [ /* 16 S> */ B(Nop), /* 24 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(8), B(Star), R(2), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(4), B(Mov), R(arg0), R(3), /* 25 E> */ B(CallProperty), R(2), R(3), U8(2), U8(6), B(Star), R(2), /* 32 E> */ B(LdaNamedProperty), R(2), U8(0), U8(10), B(Star), R(1), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(Star), R(3), /* 33 E> */ B(CallProperty), R(1), R(2), U8(2), U8(4), B(Star), R(1), /* 40 E> */ B(LdaNamedProperty), R(1), U8(0), U8(12), B(Star), R(0), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(Star), R(2), /* 41 E> */ B(CallProperty), R(0), R(1), U8(2), U8(2), /* 50 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/PropertyLoads.golden b/test/cctest/interpreter/bytecode_expectations/PropertyLoads.golden index 70e75645b2..bee525cf44 100644 --- a/test/cctest/interpreter/bytecode_expectations/PropertyLoads.golden +++ b/test/cctest/interpreter/bytecode_expectations/PropertyLoads.golden @@ -56,7 +56,7 @@ parameter count: 2 bytecode array length: 7 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 16 S> */ B(LdaSmi), U8(100), + /* 16 S> */ B(LdaSmi), I8(100), /* 24 E> */ B(LdaKeyedProperty), R(arg0), U8(2), /* 31 S> */ B(Return), ] @@ -97,7 +97,7 @@ bytecodes: [ /* 25 S> */ B(Nop), /* 25 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(2), B(Star), R(0), - /* 32 S> */ B(LdaSmi), U8(-124), + /* 32 S> */ B(LdaSmi), I8(-124), /* 40 E> */ B(LdaKeyedProperty), R(arg0), U8(4), /* 48 S> */ B(Return), ] diff --git a/test/cctest/interpreter/bytecode_expectations/PropertyStores.golden b/test/cctest/interpreter/bytecode_expectations/PropertyStores.golden index ed71814500..7e6dd5ae78 100644 --- a/test/cctest/interpreter/bytecode_expectations/PropertyStores.golden +++ b/test/cctest/interpreter/bytecode_expectations/PropertyStores.golden @@ -60,7 +60,7 @@ parameter count: 2 bytecode array length: 13 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 16 S> */ B(LdaSmi), U8(100), + /* 16 S> */ B(LdaSmi), I8(100), B(Star), R(1), B(LdaConstant), U8(0), /* 23 E> */ B(StaKeyedPropertySloppy), R(arg0), R(1), U8(2), @@ -104,7 +104,7 @@ parameter count: 2 bytecode array length: 12 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 16 S> */ B(LdaSmi), U8(-124), + /* 16 S> */ B(LdaSmi), I8(-124), /* 26 E> */ B(LdaKeyedProperty), R(arg0), U8(2), /* 23 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(4), B(LdaUndefined), @@ -299,263 +299,263 @@ parameter count: 2 bytecode array length: 785 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 18 S> */ B(LdaSmi), U8(1), + /* 18 S> */ B(LdaSmi), I8(1), /* 25 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(2), - /* 32 S> */ B(LdaSmi), U8(1), + /* 32 S> */ B(LdaSmi), I8(1), /* 39 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(4), - /* 46 S> */ B(LdaSmi), U8(1), + /* 46 S> */ B(LdaSmi), I8(1), /* 53 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(6), - /* 60 S> */ B(LdaSmi), U8(1), + /* 60 S> */ B(LdaSmi), I8(1), /* 67 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(8), - /* 74 S> */ B(LdaSmi), U8(1), + /* 74 S> */ B(LdaSmi), I8(1), /* 81 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(10), - /* 88 S> */ B(LdaSmi), U8(1), + /* 88 S> */ B(LdaSmi), I8(1), /* 95 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(12), - /* 102 S> */ B(LdaSmi), U8(1), + /* 102 S> */ B(LdaSmi), I8(1), /* 109 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(14), - /* 116 S> */ B(LdaSmi), U8(1), + /* 116 S> */ B(LdaSmi), I8(1), /* 123 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(16), - /* 130 S> */ B(LdaSmi), U8(1), + /* 130 S> */ B(LdaSmi), I8(1), /* 137 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(18), - /* 144 S> */ B(LdaSmi), U8(1), + /* 144 S> */ B(LdaSmi), I8(1), /* 151 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(20), - /* 158 S> */ B(LdaSmi), U8(1), + /* 158 S> */ B(LdaSmi), I8(1), /* 165 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(22), - /* 172 S> */ B(LdaSmi), U8(1), + /* 172 S> */ B(LdaSmi), I8(1), /* 179 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(24), - /* 186 S> */ B(LdaSmi), U8(1), + /* 186 S> */ B(LdaSmi), I8(1), /* 193 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(26), - /* 200 S> */ B(LdaSmi), U8(1), + /* 200 S> */ B(LdaSmi), I8(1), /* 207 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(28), - /* 214 S> */ B(LdaSmi), U8(1), + /* 214 S> */ B(LdaSmi), I8(1), /* 221 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(30), - /* 228 S> */ B(LdaSmi), U8(1), + /* 228 S> */ B(LdaSmi), I8(1), /* 235 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(32), - /* 242 S> */ B(LdaSmi), U8(1), + /* 242 S> */ B(LdaSmi), I8(1), /* 249 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(34), - /* 256 S> */ B(LdaSmi), U8(1), + /* 256 S> */ B(LdaSmi), I8(1), /* 263 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(36), - /* 270 S> */ B(LdaSmi), U8(1), + /* 270 S> */ B(LdaSmi), I8(1), /* 277 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(38), - /* 284 S> */ B(LdaSmi), U8(1), + /* 284 S> */ B(LdaSmi), I8(1), /* 291 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(40), - /* 298 S> */ B(LdaSmi), U8(1), + /* 298 S> */ B(LdaSmi), I8(1), /* 305 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(42), - /* 312 S> */ B(LdaSmi), U8(1), + /* 312 S> */ B(LdaSmi), I8(1), /* 319 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(44), - /* 326 S> */ B(LdaSmi), U8(1), + /* 326 S> */ B(LdaSmi), I8(1), /* 333 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(46), - /* 340 S> */ B(LdaSmi), U8(1), + /* 340 S> */ B(LdaSmi), I8(1), /* 347 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(48), - /* 354 S> */ B(LdaSmi), U8(1), + /* 354 S> */ B(LdaSmi), I8(1), /* 361 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(50), - /* 368 S> */ B(LdaSmi), U8(1), + /* 368 S> */ B(LdaSmi), I8(1), /* 375 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(52), - /* 382 S> */ B(LdaSmi), U8(1), + /* 382 S> */ B(LdaSmi), I8(1), /* 389 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(54), - /* 396 S> */ B(LdaSmi), U8(1), + /* 396 S> */ B(LdaSmi), I8(1), /* 403 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(56), - /* 410 S> */ B(LdaSmi), U8(1), + /* 410 S> */ B(LdaSmi), I8(1), /* 417 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(58), - /* 424 S> */ B(LdaSmi), U8(1), + /* 424 S> */ B(LdaSmi), I8(1), /* 431 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(60), - /* 438 S> */ B(LdaSmi), U8(1), + /* 438 S> */ B(LdaSmi), I8(1), /* 445 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(62), - /* 452 S> */ B(LdaSmi), U8(1), + /* 452 S> */ B(LdaSmi), I8(1), /* 459 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(64), - /* 466 S> */ B(LdaSmi), U8(1), + /* 466 S> */ B(LdaSmi), I8(1), /* 473 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(66), - /* 480 S> */ B(LdaSmi), U8(1), + /* 480 S> */ B(LdaSmi), I8(1), /* 487 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(68), - /* 494 S> */ B(LdaSmi), U8(1), + /* 494 S> */ B(LdaSmi), I8(1), /* 501 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(70), - /* 508 S> */ B(LdaSmi), U8(1), + /* 508 S> */ B(LdaSmi), I8(1), /* 515 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(72), - /* 522 S> */ B(LdaSmi), U8(1), + /* 522 S> */ B(LdaSmi), I8(1), /* 529 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(74), - /* 536 S> */ B(LdaSmi), U8(1), + /* 536 S> */ B(LdaSmi), I8(1), /* 543 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(76), - /* 550 S> */ B(LdaSmi), U8(1), + /* 550 S> */ B(LdaSmi), I8(1), /* 557 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(78), - /* 564 S> */ B(LdaSmi), U8(1), + /* 564 S> */ B(LdaSmi), I8(1), /* 571 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(80), - /* 578 S> */ B(LdaSmi), U8(1), + /* 578 S> */ B(LdaSmi), I8(1), /* 585 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(82), - /* 592 S> */ B(LdaSmi), U8(1), + /* 592 S> */ B(LdaSmi), I8(1), /* 599 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(84), - /* 606 S> */ B(LdaSmi), U8(1), + /* 606 S> */ B(LdaSmi), I8(1), /* 613 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(86), - /* 620 S> */ B(LdaSmi), U8(1), + /* 620 S> */ B(LdaSmi), I8(1), /* 627 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(88), - /* 634 S> */ B(LdaSmi), U8(1), + /* 634 S> */ B(LdaSmi), I8(1), /* 641 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(90), - /* 648 S> */ B(LdaSmi), U8(1), + /* 648 S> */ B(LdaSmi), I8(1), /* 655 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(92), - /* 662 S> */ B(LdaSmi), U8(1), + /* 662 S> */ B(LdaSmi), I8(1), /* 669 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(94), - /* 676 S> */ B(LdaSmi), U8(1), + /* 676 S> */ B(LdaSmi), I8(1), /* 683 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(96), - /* 690 S> */ B(LdaSmi), U8(1), + /* 690 S> */ B(LdaSmi), I8(1), /* 697 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(98), - /* 704 S> */ B(LdaSmi), U8(1), + /* 704 S> */ B(LdaSmi), I8(1), /* 711 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(100), - /* 718 S> */ B(LdaSmi), U8(1), + /* 718 S> */ B(LdaSmi), I8(1), /* 725 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(102), - /* 732 S> */ B(LdaSmi), U8(1), + /* 732 S> */ B(LdaSmi), I8(1), /* 739 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(104), - /* 746 S> */ B(LdaSmi), U8(1), + /* 746 S> */ B(LdaSmi), I8(1), /* 753 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(106), - /* 760 S> */ B(LdaSmi), U8(1), + /* 760 S> */ B(LdaSmi), I8(1), /* 767 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(108), - /* 774 S> */ B(LdaSmi), U8(1), + /* 774 S> */ B(LdaSmi), I8(1), /* 781 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(110), - /* 788 S> */ B(LdaSmi), U8(1), + /* 788 S> */ B(LdaSmi), I8(1), /* 795 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(112), - /* 802 S> */ B(LdaSmi), U8(1), + /* 802 S> */ B(LdaSmi), I8(1), /* 809 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(114), - /* 816 S> */ B(LdaSmi), U8(1), + /* 816 S> */ B(LdaSmi), I8(1), /* 823 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(116), - /* 830 S> */ B(LdaSmi), U8(1), + /* 830 S> */ B(LdaSmi), I8(1), /* 837 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(118), - /* 844 S> */ B(LdaSmi), U8(1), + /* 844 S> */ B(LdaSmi), I8(1), /* 851 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(120), - /* 858 S> */ B(LdaSmi), U8(1), + /* 858 S> */ B(LdaSmi), I8(1), /* 865 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(122), - /* 872 S> */ B(LdaSmi), U8(1), + /* 872 S> */ B(LdaSmi), I8(1), /* 879 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(124), - /* 886 S> */ B(LdaSmi), U8(1), + /* 886 S> */ B(LdaSmi), I8(1), /* 893 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(126), - /* 900 S> */ B(LdaSmi), U8(1), + /* 900 S> */ B(LdaSmi), I8(1), /* 907 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(128), - /* 914 S> */ B(LdaSmi), U8(1), + /* 914 S> */ B(LdaSmi), I8(1), /* 921 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(130), - /* 928 S> */ B(LdaSmi), U8(1), + /* 928 S> */ B(LdaSmi), I8(1), /* 935 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(132), - /* 942 S> */ B(LdaSmi), U8(1), + /* 942 S> */ B(LdaSmi), I8(1), /* 949 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(134), - /* 956 S> */ B(LdaSmi), U8(1), + /* 956 S> */ B(LdaSmi), I8(1), /* 963 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(136), - /* 970 S> */ B(LdaSmi), U8(1), + /* 970 S> */ B(LdaSmi), I8(1), /* 977 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(138), - /* 984 S> */ B(LdaSmi), U8(1), + /* 984 S> */ B(LdaSmi), I8(1), /* 991 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(140), - /* 998 S> */ B(LdaSmi), U8(1), + /* 998 S> */ B(LdaSmi), I8(1), /* 1005 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(142), - /* 1012 S> */ B(LdaSmi), U8(1), + /* 1012 S> */ B(LdaSmi), I8(1), /* 1019 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(144), - /* 1026 S> */ B(LdaSmi), U8(1), + /* 1026 S> */ B(LdaSmi), I8(1), /* 1033 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(146), - /* 1040 S> */ B(LdaSmi), U8(1), + /* 1040 S> */ B(LdaSmi), I8(1), /* 1047 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(148), - /* 1054 S> */ B(LdaSmi), U8(1), + /* 1054 S> */ B(LdaSmi), I8(1), /* 1061 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(150), - /* 1068 S> */ B(LdaSmi), U8(1), + /* 1068 S> */ B(LdaSmi), I8(1), /* 1075 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(152), - /* 1082 S> */ B(LdaSmi), U8(1), + /* 1082 S> */ B(LdaSmi), I8(1), /* 1089 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(154), - /* 1096 S> */ B(LdaSmi), U8(1), + /* 1096 S> */ B(LdaSmi), I8(1), /* 1103 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(156), - /* 1110 S> */ B(LdaSmi), U8(1), + /* 1110 S> */ B(LdaSmi), I8(1), /* 1117 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(158), - /* 1124 S> */ B(LdaSmi), U8(1), + /* 1124 S> */ B(LdaSmi), I8(1), /* 1131 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(160), - /* 1138 S> */ B(LdaSmi), U8(1), + /* 1138 S> */ B(LdaSmi), I8(1), /* 1145 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(162), - /* 1152 S> */ B(LdaSmi), U8(1), + /* 1152 S> */ B(LdaSmi), I8(1), /* 1159 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(164), - /* 1166 S> */ B(LdaSmi), U8(1), + /* 1166 S> */ B(LdaSmi), I8(1), /* 1173 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(166), - /* 1180 S> */ B(LdaSmi), U8(1), + /* 1180 S> */ B(LdaSmi), I8(1), /* 1187 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(168), - /* 1194 S> */ B(LdaSmi), U8(1), + /* 1194 S> */ B(LdaSmi), I8(1), /* 1201 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(170), - /* 1208 S> */ B(LdaSmi), U8(1), + /* 1208 S> */ B(LdaSmi), I8(1), /* 1215 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(172), - /* 1222 S> */ B(LdaSmi), U8(1), + /* 1222 S> */ B(LdaSmi), I8(1), /* 1229 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(174), - /* 1236 S> */ B(LdaSmi), U8(1), + /* 1236 S> */ B(LdaSmi), I8(1), /* 1243 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(176), - /* 1250 S> */ B(LdaSmi), U8(1), + /* 1250 S> */ B(LdaSmi), I8(1), /* 1257 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(178), - /* 1264 S> */ B(LdaSmi), U8(1), + /* 1264 S> */ B(LdaSmi), I8(1), /* 1271 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(180), - /* 1278 S> */ B(LdaSmi), U8(1), + /* 1278 S> */ B(LdaSmi), I8(1), /* 1285 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(182), - /* 1292 S> */ B(LdaSmi), U8(1), + /* 1292 S> */ B(LdaSmi), I8(1), /* 1299 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(184), - /* 1306 S> */ B(LdaSmi), U8(1), + /* 1306 S> */ B(LdaSmi), I8(1), /* 1313 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(186), - /* 1320 S> */ B(LdaSmi), U8(1), + /* 1320 S> */ B(LdaSmi), I8(1), /* 1327 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(188), - /* 1334 S> */ B(LdaSmi), U8(1), + /* 1334 S> */ B(LdaSmi), I8(1), /* 1341 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(190), - /* 1348 S> */ B(LdaSmi), U8(1), + /* 1348 S> */ B(LdaSmi), I8(1), /* 1355 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(192), - /* 1362 S> */ B(LdaSmi), U8(1), + /* 1362 S> */ B(LdaSmi), I8(1), /* 1369 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(194), - /* 1376 S> */ B(LdaSmi), U8(1), + /* 1376 S> */ B(LdaSmi), I8(1), /* 1383 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(196), - /* 1390 S> */ B(LdaSmi), U8(1), + /* 1390 S> */ B(LdaSmi), I8(1), /* 1397 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(198), - /* 1404 S> */ B(LdaSmi), U8(1), + /* 1404 S> */ B(LdaSmi), I8(1), /* 1411 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(200), - /* 1418 S> */ B(LdaSmi), U8(1), + /* 1418 S> */ B(LdaSmi), I8(1), /* 1425 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(202), - /* 1432 S> */ B(LdaSmi), U8(1), + /* 1432 S> */ B(LdaSmi), I8(1), /* 1439 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(204), - /* 1446 S> */ B(LdaSmi), U8(1), + /* 1446 S> */ B(LdaSmi), I8(1), /* 1453 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(206), - /* 1460 S> */ B(LdaSmi), U8(1), + /* 1460 S> */ B(LdaSmi), I8(1), /* 1467 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(208), - /* 1474 S> */ B(LdaSmi), U8(1), + /* 1474 S> */ B(LdaSmi), I8(1), /* 1481 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(210), - /* 1488 S> */ B(LdaSmi), U8(1), + /* 1488 S> */ B(LdaSmi), I8(1), /* 1495 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(212), - /* 1502 S> */ B(LdaSmi), U8(1), + /* 1502 S> */ B(LdaSmi), I8(1), /* 1509 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(214), - /* 1516 S> */ B(LdaSmi), U8(1), + /* 1516 S> */ B(LdaSmi), I8(1), /* 1523 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(216), - /* 1530 S> */ B(LdaSmi), U8(1), + /* 1530 S> */ B(LdaSmi), I8(1), /* 1537 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(218), - /* 1544 S> */ B(LdaSmi), U8(1), + /* 1544 S> */ B(LdaSmi), I8(1), /* 1551 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(220), - /* 1558 S> */ B(LdaSmi), U8(1), + /* 1558 S> */ B(LdaSmi), I8(1), /* 1565 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(222), - /* 1572 S> */ B(LdaSmi), U8(1), + /* 1572 S> */ B(LdaSmi), I8(1), /* 1579 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(224), - /* 1586 S> */ B(LdaSmi), U8(1), + /* 1586 S> */ B(LdaSmi), I8(1), /* 1593 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(226), - /* 1600 S> */ B(LdaSmi), U8(1), + /* 1600 S> */ B(LdaSmi), I8(1), /* 1607 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(228), - /* 1614 S> */ B(LdaSmi), U8(1), + /* 1614 S> */ B(LdaSmi), I8(1), /* 1621 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(230), - /* 1628 S> */ B(LdaSmi), U8(1), + /* 1628 S> */ B(LdaSmi), I8(1), /* 1635 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(232), - /* 1642 S> */ B(LdaSmi), U8(1), + /* 1642 S> */ B(LdaSmi), I8(1), /* 1649 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(234), - /* 1656 S> */ B(LdaSmi), U8(1), + /* 1656 S> */ B(LdaSmi), I8(1), /* 1663 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(236), - /* 1670 S> */ B(LdaSmi), U8(1), + /* 1670 S> */ B(LdaSmi), I8(1), /* 1677 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(238), - /* 1684 S> */ B(LdaSmi), U8(1), + /* 1684 S> */ B(LdaSmi), I8(1), /* 1691 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(240), - /* 1698 S> */ B(LdaSmi), U8(1), + /* 1698 S> */ B(LdaSmi), I8(1), /* 1705 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(242), - /* 1712 S> */ B(LdaSmi), U8(1), + /* 1712 S> */ B(LdaSmi), I8(1), /* 1719 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(244), - /* 1726 S> */ B(LdaSmi), U8(1), + /* 1726 S> */ B(LdaSmi), I8(1), /* 1733 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(246), - /* 1740 S> */ B(LdaSmi), U8(1), + /* 1740 S> */ B(LdaSmi), I8(1), /* 1747 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(248), - /* 1754 S> */ B(LdaSmi), U8(1), + /* 1754 S> */ B(LdaSmi), I8(1), /* 1761 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(250), - /* 1768 S> */ B(LdaSmi), U8(1), + /* 1768 S> */ B(LdaSmi), I8(1), /* 1775 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(252), - /* 1782 S> */ B(LdaSmi), U8(1), + /* 1782 S> */ B(LdaSmi), I8(1), /* 1789 E> */ B(StaNamedPropertySloppy), R(arg0), U8(0), U8(254), - /* 1796 S> */ B(LdaSmi), U8(1), + /* 1796 S> */ B(LdaSmi), I8(1), /* 1803 E> */ B(Wide), B(StaNamedPropertySloppy), R16(arg0), U16(0), U16(256), - /* 1810 S> */ B(LdaSmi), U8(2), + /* 1810 S> */ B(LdaSmi), I8(2), /* 1817 E> */ B(Wide), B(StaNamedPropertySloppy), R16(arg0), U16(0), U16(258), B(LdaUndefined), /* 1822 S> */ B(Return), @@ -707,263 +707,263 @@ parameter count: 2 bytecode array length: 785 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 33 S> */ B(LdaSmi), U8(1), + /* 33 S> */ B(LdaSmi), I8(1), /* 40 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(2), - /* 47 S> */ B(LdaSmi), U8(1), + /* 47 S> */ B(LdaSmi), I8(1), /* 54 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(4), - /* 61 S> */ B(LdaSmi), U8(1), + /* 61 S> */ B(LdaSmi), I8(1), /* 68 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(6), - /* 75 S> */ B(LdaSmi), U8(1), + /* 75 S> */ B(LdaSmi), I8(1), /* 82 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(8), - /* 89 S> */ B(LdaSmi), U8(1), + /* 89 S> */ B(LdaSmi), I8(1), /* 96 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(10), - /* 103 S> */ B(LdaSmi), U8(1), + /* 103 S> */ B(LdaSmi), I8(1), /* 110 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(12), - /* 117 S> */ B(LdaSmi), U8(1), + /* 117 S> */ B(LdaSmi), I8(1), /* 124 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(14), - /* 131 S> */ B(LdaSmi), U8(1), + /* 131 S> */ B(LdaSmi), I8(1), /* 138 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(16), - /* 145 S> */ B(LdaSmi), U8(1), + /* 145 S> */ B(LdaSmi), I8(1), /* 152 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(18), - /* 159 S> */ B(LdaSmi), U8(1), + /* 159 S> */ B(LdaSmi), I8(1), /* 166 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(20), - /* 173 S> */ B(LdaSmi), U8(1), + /* 173 S> */ B(LdaSmi), I8(1), /* 180 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(22), - /* 187 S> */ B(LdaSmi), U8(1), + /* 187 S> */ B(LdaSmi), I8(1), /* 194 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(24), - /* 201 S> */ B(LdaSmi), U8(1), + /* 201 S> */ B(LdaSmi), I8(1), /* 208 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(26), - /* 215 S> */ B(LdaSmi), U8(1), + /* 215 S> */ B(LdaSmi), I8(1), /* 222 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(28), - /* 229 S> */ B(LdaSmi), U8(1), + /* 229 S> */ B(LdaSmi), I8(1), /* 236 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(30), - /* 243 S> */ B(LdaSmi), U8(1), + /* 243 S> */ B(LdaSmi), I8(1), /* 250 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(32), - /* 257 S> */ B(LdaSmi), U8(1), + /* 257 S> */ B(LdaSmi), I8(1), /* 264 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(34), - /* 271 S> */ B(LdaSmi), U8(1), + /* 271 S> */ B(LdaSmi), I8(1), /* 278 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(36), - /* 285 S> */ B(LdaSmi), U8(1), + /* 285 S> */ B(LdaSmi), I8(1), /* 292 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(38), - /* 299 S> */ B(LdaSmi), U8(1), + /* 299 S> */ B(LdaSmi), I8(1), /* 306 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(40), - /* 313 S> */ B(LdaSmi), U8(1), + /* 313 S> */ B(LdaSmi), I8(1), /* 320 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(42), - /* 327 S> */ B(LdaSmi), U8(1), + /* 327 S> */ B(LdaSmi), I8(1), /* 334 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(44), - /* 341 S> */ B(LdaSmi), U8(1), + /* 341 S> */ B(LdaSmi), I8(1), /* 348 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(46), - /* 355 S> */ B(LdaSmi), U8(1), + /* 355 S> */ B(LdaSmi), I8(1), /* 362 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(48), - /* 369 S> */ B(LdaSmi), U8(1), + /* 369 S> */ B(LdaSmi), I8(1), /* 376 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(50), - /* 383 S> */ B(LdaSmi), U8(1), + /* 383 S> */ B(LdaSmi), I8(1), /* 390 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(52), - /* 397 S> */ B(LdaSmi), U8(1), + /* 397 S> */ B(LdaSmi), I8(1), /* 404 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(54), - /* 411 S> */ B(LdaSmi), U8(1), + /* 411 S> */ B(LdaSmi), I8(1), /* 418 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(56), - /* 425 S> */ B(LdaSmi), U8(1), + /* 425 S> */ B(LdaSmi), I8(1), /* 432 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(58), - /* 439 S> */ B(LdaSmi), U8(1), + /* 439 S> */ B(LdaSmi), I8(1), /* 446 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(60), - /* 453 S> */ B(LdaSmi), U8(1), + /* 453 S> */ B(LdaSmi), I8(1), /* 460 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(62), - /* 467 S> */ B(LdaSmi), U8(1), + /* 467 S> */ B(LdaSmi), I8(1), /* 474 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(64), - /* 481 S> */ B(LdaSmi), U8(1), + /* 481 S> */ B(LdaSmi), I8(1), /* 488 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(66), - /* 495 S> */ B(LdaSmi), U8(1), + /* 495 S> */ B(LdaSmi), I8(1), /* 502 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(68), - /* 509 S> */ B(LdaSmi), U8(1), + /* 509 S> */ B(LdaSmi), I8(1), /* 516 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(70), - /* 523 S> */ B(LdaSmi), U8(1), + /* 523 S> */ B(LdaSmi), I8(1), /* 530 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(72), - /* 537 S> */ B(LdaSmi), U8(1), + /* 537 S> */ B(LdaSmi), I8(1), /* 544 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(74), - /* 551 S> */ B(LdaSmi), U8(1), + /* 551 S> */ B(LdaSmi), I8(1), /* 558 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(76), - /* 565 S> */ B(LdaSmi), U8(1), + /* 565 S> */ B(LdaSmi), I8(1), /* 572 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(78), - /* 579 S> */ B(LdaSmi), U8(1), + /* 579 S> */ B(LdaSmi), I8(1), /* 586 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(80), - /* 593 S> */ B(LdaSmi), U8(1), + /* 593 S> */ B(LdaSmi), I8(1), /* 600 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(82), - /* 607 S> */ B(LdaSmi), U8(1), + /* 607 S> */ B(LdaSmi), I8(1), /* 614 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(84), - /* 621 S> */ B(LdaSmi), U8(1), + /* 621 S> */ B(LdaSmi), I8(1), /* 628 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(86), - /* 635 S> */ B(LdaSmi), U8(1), + /* 635 S> */ B(LdaSmi), I8(1), /* 642 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(88), - /* 649 S> */ B(LdaSmi), U8(1), + /* 649 S> */ B(LdaSmi), I8(1), /* 656 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(90), - /* 663 S> */ B(LdaSmi), U8(1), + /* 663 S> */ B(LdaSmi), I8(1), /* 670 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(92), - /* 677 S> */ B(LdaSmi), U8(1), + /* 677 S> */ B(LdaSmi), I8(1), /* 684 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(94), - /* 691 S> */ B(LdaSmi), U8(1), + /* 691 S> */ B(LdaSmi), I8(1), /* 698 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(96), - /* 705 S> */ B(LdaSmi), U8(1), + /* 705 S> */ B(LdaSmi), I8(1), /* 712 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(98), - /* 719 S> */ B(LdaSmi), U8(1), + /* 719 S> */ B(LdaSmi), I8(1), /* 726 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(100), - /* 733 S> */ B(LdaSmi), U8(1), + /* 733 S> */ B(LdaSmi), I8(1), /* 740 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(102), - /* 747 S> */ B(LdaSmi), U8(1), + /* 747 S> */ B(LdaSmi), I8(1), /* 754 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(104), - /* 761 S> */ B(LdaSmi), U8(1), + /* 761 S> */ B(LdaSmi), I8(1), /* 768 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(106), - /* 775 S> */ B(LdaSmi), U8(1), + /* 775 S> */ B(LdaSmi), I8(1), /* 782 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(108), - /* 789 S> */ B(LdaSmi), U8(1), + /* 789 S> */ B(LdaSmi), I8(1), /* 796 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(110), - /* 803 S> */ B(LdaSmi), U8(1), + /* 803 S> */ B(LdaSmi), I8(1), /* 810 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(112), - /* 817 S> */ B(LdaSmi), U8(1), + /* 817 S> */ B(LdaSmi), I8(1), /* 824 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(114), - /* 831 S> */ B(LdaSmi), U8(1), + /* 831 S> */ B(LdaSmi), I8(1), /* 838 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(116), - /* 845 S> */ B(LdaSmi), U8(1), + /* 845 S> */ B(LdaSmi), I8(1), /* 852 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(118), - /* 859 S> */ B(LdaSmi), U8(1), + /* 859 S> */ B(LdaSmi), I8(1), /* 866 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(120), - /* 873 S> */ B(LdaSmi), U8(1), + /* 873 S> */ B(LdaSmi), I8(1), /* 880 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(122), - /* 887 S> */ B(LdaSmi), U8(1), + /* 887 S> */ B(LdaSmi), I8(1), /* 894 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(124), - /* 901 S> */ B(LdaSmi), U8(1), + /* 901 S> */ B(LdaSmi), I8(1), /* 908 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(126), - /* 915 S> */ B(LdaSmi), U8(1), + /* 915 S> */ B(LdaSmi), I8(1), /* 922 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(128), - /* 929 S> */ B(LdaSmi), U8(1), + /* 929 S> */ B(LdaSmi), I8(1), /* 936 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(130), - /* 943 S> */ B(LdaSmi), U8(1), + /* 943 S> */ B(LdaSmi), I8(1), /* 950 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(132), - /* 957 S> */ B(LdaSmi), U8(1), + /* 957 S> */ B(LdaSmi), I8(1), /* 964 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(134), - /* 971 S> */ B(LdaSmi), U8(1), + /* 971 S> */ B(LdaSmi), I8(1), /* 978 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(136), - /* 985 S> */ B(LdaSmi), U8(1), + /* 985 S> */ B(LdaSmi), I8(1), /* 992 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(138), - /* 999 S> */ B(LdaSmi), U8(1), + /* 999 S> */ B(LdaSmi), I8(1), /* 1006 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(140), - /* 1013 S> */ B(LdaSmi), U8(1), + /* 1013 S> */ B(LdaSmi), I8(1), /* 1020 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(142), - /* 1027 S> */ B(LdaSmi), U8(1), + /* 1027 S> */ B(LdaSmi), I8(1), /* 1034 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(144), - /* 1041 S> */ B(LdaSmi), U8(1), + /* 1041 S> */ B(LdaSmi), I8(1), /* 1048 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(146), - /* 1055 S> */ B(LdaSmi), U8(1), + /* 1055 S> */ B(LdaSmi), I8(1), /* 1062 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(148), - /* 1069 S> */ B(LdaSmi), U8(1), + /* 1069 S> */ B(LdaSmi), I8(1), /* 1076 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(150), - /* 1083 S> */ B(LdaSmi), U8(1), + /* 1083 S> */ B(LdaSmi), I8(1), /* 1090 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(152), - /* 1097 S> */ B(LdaSmi), U8(1), + /* 1097 S> */ B(LdaSmi), I8(1), /* 1104 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(154), - /* 1111 S> */ B(LdaSmi), U8(1), + /* 1111 S> */ B(LdaSmi), I8(1), /* 1118 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(156), - /* 1125 S> */ B(LdaSmi), U8(1), + /* 1125 S> */ B(LdaSmi), I8(1), /* 1132 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(158), - /* 1139 S> */ B(LdaSmi), U8(1), + /* 1139 S> */ B(LdaSmi), I8(1), /* 1146 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(160), - /* 1153 S> */ B(LdaSmi), U8(1), + /* 1153 S> */ B(LdaSmi), I8(1), /* 1160 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(162), - /* 1167 S> */ B(LdaSmi), U8(1), + /* 1167 S> */ B(LdaSmi), I8(1), /* 1174 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(164), - /* 1181 S> */ B(LdaSmi), U8(1), + /* 1181 S> */ B(LdaSmi), I8(1), /* 1188 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(166), - /* 1195 S> */ B(LdaSmi), U8(1), + /* 1195 S> */ B(LdaSmi), I8(1), /* 1202 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(168), - /* 1209 S> */ B(LdaSmi), U8(1), + /* 1209 S> */ B(LdaSmi), I8(1), /* 1216 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(170), - /* 1223 S> */ B(LdaSmi), U8(1), + /* 1223 S> */ B(LdaSmi), I8(1), /* 1230 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(172), - /* 1237 S> */ B(LdaSmi), U8(1), + /* 1237 S> */ B(LdaSmi), I8(1), /* 1244 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(174), - /* 1251 S> */ B(LdaSmi), U8(1), + /* 1251 S> */ B(LdaSmi), I8(1), /* 1258 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(176), - /* 1265 S> */ B(LdaSmi), U8(1), + /* 1265 S> */ B(LdaSmi), I8(1), /* 1272 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(178), - /* 1279 S> */ B(LdaSmi), U8(1), + /* 1279 S> */ B(LdaSmi), I8(1), /* 1286 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(180), - /* 1293 S> */ B(LdaSmi), U8(1), + /* 1293 S> */ B(LdaSmi), I8(1), /* 1300 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(182), - /* 1307 S> */ B(LdaSmi), U8(1), + /* 1307 S> */ B(LdaSmi), I8(1), /* 1314 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(184), - /* 1321 S> */ B(LdaSmi), U8(1), + /* 1321 S> */ B(LdaSmi), I8(1), /* 1328 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(186), - /* 1335 S> */ B(LdaSmi), U8(1), + /* 1335 S> */ B(LdaSmi), I8(1), /* 1342 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(188), - /* 1349 S> */ B(LdaSmi), U8(1), + /* 1349 S> */ B(LdaSmi), I8(1), /* 1356 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(190), - /* 1363 S> */ B(LdaSmi), U8(1), + /* 1363 S> */ B(LdaSmi), I8(1), /* 1370 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(192), - /* 1377 S> */ B(LdaSmi), U8(1), + /* 1377 S> */ B(LdaSmi), I8(1), /* 1384 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(194), - /* 1391 S> */ B(LdaSmi), U8(1), + /* 1391 S> */ B(LdaSmi), I8(1), /* 1398 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(196), - /* 1405 S> */ B(LdaSmi), U8(1), + /* 1405 S> */ B(LdaSmi), I8(1), /* 1412 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(198), - /* 1419 S> */ B(LdaSmi), U8(1), + /* 1419 S> */ B(LdaSmi), I8(1), /* 1426 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(200), - /* 1433 S> */ B(LdaSmi), U8(1), + /* 1433 S> */ B(LdaSmi), I8(1), /* 1440 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(202), - /* 1447 S> */ B(LdaSmi), U8(1), + /* 1447 S> */ B(LdaSmi), I8(1), /* 1454 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(204), - /* 1461 S> */ B(LdaSmi), U8(1), + /* 1461 S> */ B(LdaSmi), I8(1), /* 1468 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(206), - /* 1475 S> */ B(LdaSmi), U8(1), + /* 1475 S> */ B(LdaSmi), I8(1), /* 1482 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(208), - /* 1489 S> */ B(LdaSmi), U8(1), + /* 1489 S> */ B(LdaSmi), I8(1), /* 1496 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(210), - /* 1503 S> */ B(LdaSmi), U8(1), + /* 1503 S> */ B(LdaSmi), I8(1), /* 1510 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(212), - /* 1517 S> */ B(LdaSmi), U8(1), + /* 1517 S> */ B(LdaSmi), I8(1), /* 1524 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(214), - /* 1531 S> */ B(LdaSmi), U8(1), + /* 1531 S> */ B(LdaSmi), I8(1), /* 1538 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(216), - /* 1545 S> */ B(LdaSmi), U8(1), + /* 1545 S> */ B(LdaSmi), I8(1), /* 1552 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(218), - /* 1559 S> */ B(LdaSmi), U8(1), + /* 1559 S> */ B(LdaSmi), I8(1), /* 1566 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(220), - /* 1573 S> */ B(LdaSmi), U8(1), + /* 1573 S> */ B(LdaSmi), I8(1), /* 1580 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(222), - /* 1587 S> */ B(LdaSmi), U8(1), + /* 1587 S> */ B(LdaSmi), I8(1), /* 1594 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(224), - /* 1601 S> */ B(LdaSmi), U8(1), + /* 1601 S> */ B(LdaSmi), I8(1), /* 1608 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(226), - /* 1615 S> */ B(LdaSmi), U8(1), + /* 1615 S> */ B(LdaSmi), I8(1), /* 1622 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(228), - /* 1629 S> */ B(LdaSmi), U8(1), + /* 1629 S> */ B(LdaSmi), I8(1), /* 1636 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(230), - /* 1643 S> */ B(LdaSmi), U8(1), + /* 1643 S> */ B(LdaSmi), I8(1), /* 1650 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(232), - /* 1657 S> */ B(LdaSmi), U8(1), + /* 1657 S> */ B(LdaSmi), I8(1), /* 1664 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(234), - /* 1671 S> */ B(LdaSmi), U8(1), + /* 1671 S> */ B(LdaSmi), I8(1), /* 1678 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(236), - /* 1685 S> */ B(LdaSmi), U8(1), + /* 1685 S> */ B(LdaSmi), I8(1), /* 1692 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(238), - /* 1699 S> */ B(LdaSmi), U8(1), + /* 1699 S> */ B(LdaSmi), I8(1), /* 1706 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(240), - /* 1713 S> */ B(LdaSmi), U8(1), + /* 1713 S> */ B(LdaSmi), I8(1), /* 1720 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(242), - /* 1727 S> */ B(LdaSmi), U8(1), + /* 1727 S> */ B(LdaSmi), I8(1), /* 1734 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(244), - /* 1741 S> */ B(LdaSmi), U8(1), + /* 1741 S> */ B(LdaSmi), I8(1), /* 1748 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(246), - /* 1755 S> */ B(LdaSmi), U8(1), + /* 1755 S> */ B(LdaSmi), I8(1), /* 1762 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(248), - /* 1769 S> */ B(LdaSmi), U8(1), + /* 1769 S> */ B(LdaSmi), I8(1), /* 1776 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(250), - /* 1783 S> */ B(LdaSmi), U8(1), + /* 1783 S> */ B(LdaSmi), I8(1), /* 1790 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(252), - /* 1797 S> */ B(LdaSmi), U8(1), + /* 1797 S> */ B(LdaSmi), I8(1), /* 1804 E> */ B(StaNamedPropertyStrict), R(arg0), U8(0), U8(254), - /* 1811 S> */ B(LdaSmi), U8(1), + /* 1811 S> */ B(LdaSmi), I8(1), /* 1818 E> */ B(Wide), B(StaNamedPropertyStrict), R16(arg0), U16(0), U16(256), - /* 1825 S> */ B(LdaSmi), U8(2), + /* 1825 S> */ B(LdaSmi), I8(2), /* 1832 E> */ B(Wide), B(StaNamedPropertyStrict), R16(arg0), U16(0), U16(258), B(LdaUndefined), /* 1837 S> */ B(Return), @@ -1114,263 +1114,263 @@ parameter count: 3 bytecode array length: 785 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 21 S> */ B(LdaSmi), U8(1), + /* 21 S> */ B(LdaSmi), I8(1), /* 26 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(2), - /* 33 S> */ B(LdaSmi), U8(1), + /* 33 S> */ B(LdaSmi), I8(1), /* 38 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(4), - /* 45 S> */ B(LdaSmi), U8(1), + /* 45 S> */ B(LdaSmi), I8(1), /* 50 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(6), - /* 57 S> */ B(LdaSmi), U8(1), + /* 57 S> */ B(LdaSmi), I8(1), /* 62 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(8), - /* 69 S> */ B(LdaSmi), U8(1), + /* 69 S> */ B(LdaSmi), I8(1), /* 74 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(10), - /* 81 S> */ B(LdaSmi), U8(1), + /* 81 S> */ B(LdaSmi), I8(1), /* 86 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(12), - /* 93 S> */ B(LdaSmi), U8(1), + /* 93 S> */ B(LdaSmi), I8(1), /* 98 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(14), - /* 105 S> */ B(LdaSmi), U8(1), + /* 105 S> */ B(LdaSmi), I8(1), /* 110 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(16), - /* 117 S> */ B(LdaSmi), U8(1), + /* 117 S> */ B(LdaSmi), I8(1), /* 122 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(18), - /* 129 S> */ B(LdaSmi), U8(1), + /* 129 S> */ B(LdaSmi), I8(1), /* 134 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(20), - /* 141 S> */ B(LdaSmi), U8(1), + /* 141 S> */ B(LdaSmi), I8(1), /* 146 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(22), - /* 153 S> */ B(LdaSmi), U8(1), + /* 153 S> */ B(LdaSmi), I8(1), /* 158 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(24), - /* 165 S> */ B(LdaSmi), U8(1), + /* 165 S> */ B(LdaSmi), I8(1), /* 170 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(26), - /* 177 S> */ B(LdaSmi), U8(1), + /* 177 S> */ B(LdaSmi), I8(1), /* 182 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(28), - /* 189 S> */ B(LdaSmi), U8(1), + /* 189 S> */ B(LdaSmi), I8(1), /* 194 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(30), - /* 201 S> */ B(LdaSmi), U8(1), + /* 201 S> */ B(LdaSmi), I8(1), /* 206 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(32), - /* 213 S> */ B(LdaSmi), U8(1), + /* 213 S> */ B(LdaSmi), I8(1), /* 218 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(34), - /* 225 S> */ B(LdaSmi), U8(1), + /* 225 S> */ B(LdaSmi), I8(1), /* 230 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(36), - /* 237 S> */ B(LdaSmi), U8(1), + /* 237 S> */ B(LdaSmi), I8(1), /* 242 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(38), - /* 249 S> */ B(LdaSmi), U8(1), + /* 249 S> */ B(LdaSmi), I8(1), /* 254 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(40), - /* 261 S> */ B(LdaSmi), U8(1), + /* 261 S> */ B(LdaSmi), I8(1), /* 266 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(42), - /* 273 S> */ B(LdaSmi), U8(1), + /* 273 S> */ B(LdaSmi), I8(1), /* 278 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(44), - /* 285 S> */ B(LdaSmi), U8(1), + /* 285 S> */ B(LdaSmi), I8(1), /* 290 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(46), - /* 297 S> */ B(LdaSmi), U8(1), + /* 297 S> */ B(LdaSmi), I8(1), /* 302 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(48), - /* 309 S> */ B(LdaSmi), U8(1), + /* 309 S> */ B(LdaSmi), I8(1), /* 314 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(50), - /* 321 S> */ B(LdaSmi), U8(1), + /* 321 S> */ B(LdaSmi), I8(1), /* 326 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(52), - /* 333 S> */ B(LdaSmi), U8(1), + /* 333 S> */ B(LdaSmi), I8(1), /* 338 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(54), - /* 345 S> */ B(LdaSmi), U8(1), + /* 345 S> */ B(LdaSmi), I8(1), /* 350 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(56), - /* 357 S> */ B(LdaSmi), U8(1), + /* 357 S> */ B(LdaSmi), I8(1), /* 362 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(58), - /* 369 S> */ B(LdaSmi), U8(1), + /* 369 S> */ B(LdaSmi), I8(1), /* 374 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(60), - /* 381 S> */ B(LdaSmi), U8(1), + /* 381 S> */ B(LdaSmi), I8(1), /* 386 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(62), - /* 393 S> */ B(LdaSmi), U8(1), + /* 393 S> */ B(LdaSmi), I8(1), /* 398 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(64), - /* 405 S> */ B(LdaSmi), U8(1), + /* 405 S> */ B(LdaSmi), I8(1), /* 410 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(66), - /* 417 S> */ B(LdaSmi), U8(1), + /* 417 S> */ B(LdaSmi), I8(1), /* 422 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(68), - /* 429 S> */ B(LdaSmi), U8(1), + /* 429 S> */ B(LdaSmi), I8(1), /* 434 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(70), - /* 441 S> */ B(LdaSmi), U8(1), + /* 441 S> */ B(LdaSmi), I8(1), /* 446 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(72), - /* 453 S> */ B(LdaSmi), U8(1), + /* 453 S> */ B(LdaSmi), I8(1), /* 458 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(74), - /* 465 S> */ B(LdaSmi), U8(1), + /* 465 S> */ B(LdaSmi), I8(1), /* 470 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(76), - /* 477 S> */ B(LdaSmi), U8(1), + /* 477 S> */ B(LdaSmi), I8(1), /* 482 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(78), - /* 489 S> */ B(LdaSmi), U8(1), + /* 489 S> */ B(LdaSmi), I8(1), /* 494 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(80), - /* 501 S> */ B(LdaSmi), U8(1), + /* 501 S> */ B(LdaSmi), I8(1), /* 506 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(82), - /* 513 S> */ B(LdaSmi), U8(1), + /* 513 S> */ B(LdaSmi), I8(1), /* 518 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(84), - /* 525 S> */ B(LdaSmi), U8(1), + /* 525 S> */ B(LdaSmi), I8(1), /* 530 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(86), - /* 537 S> */ B(LdaSmi), U8(1), + /* 537 S> */ B(LdaSmi), I8(1), /* 542 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(88), - /* 549 S> */ B(LdaSmi), U8(1), + /* 549 S> */ B(LdaSmi), I8(1), /* 554 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(90), - /* 561 S> */ B(LdaSmi), U8(1), + /* 561 S> */ B(LdaSmi), I8(1), /* 566 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(92), - /* 573 S> */ B(LdaSmi), U8(1), + /* 573 S> */ B(LdaSmi), I8(1), /* 578 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(94), - /* 585 S> */ B(LdaSmi), U8(1), + /* 585 S> */ B(LdaSmi), I8(1), /* 590 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(96), - /* 597 S> */ B(LdaSmi), U8(1), + /* 597 S> */ B(LdaSmi), I8(1), /* 602 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(98), - /* 609 S> */ B(LdaSmi), U8(1), + /* 609 S> */ B(LdaSmi), I8(1), /* 614 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(100), - /* 621 S> */ B(LdaSmi), U8(1), + /* 621 S> */ B(LdaSmi), I8(1), /* 626 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(102), - /* 633 S> */ B(LdaSmi), U8(1), + /* 633 S> */ B(LdaSmi), I8(1), /* 638 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(104), - /* 645 S> */ B(LdaSmi), U8(1), + /* 645 S> */ B(LdaSmi), I8(1), /* 650 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(106), - /* 657 S> */ B(LdaSmi), U8(1), + /* 657 S> */ B(LdaSmi), I8(1), /* 662 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(108), - /* 669 S> */ B(LdaSmi), U8(1), + /* 669 S> */ B(LdaSmi), I8(1), /* 674 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(110), - /* 681 S> */ B(LdaSmi), U8(1), + /* 681 S> */ B(LdaSmi), I8(1), /* 686 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(112), - /* 693 S> */ B(LdaSmi), U8(1), + /* 693 S> */ B(LdaSmi), I8(1), /* 698 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(114), - /* 705 S> */ B(LdaSmi), U8(1), + /* 705 S> */ B(LdaSmi), I8(1), /* 710 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(116), - /* 717 S> */ B(LdaSmi), U8(1), + /* 717 S> */ B(LdaSmi), I8(1), /* 722 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(118), - /* 729 S> */ B(LdaSmi), U8(1), + /* 729 S> */ B(LdaSmi), I8(1), /* 734 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(120), - /* 741 S> */ B(LdaSmi), U8(1), + /* 741 S> */ B(LdaSmi), I8(1), /* 746 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(122), - /* 753 S> */ B(LdaSmi), U8(1), + /* 753 S> */ B(LdaSmi), I8(1), /* 758 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(124), - /* 765 S> */ B(LdaSmi), U8(1), + /* 765 S> */ B(LdaSmi), I8(1), /* 770 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(126), - /* 777 S> */ B(LdaSmi), U8(1), + /* 777 S> */ B(LdaSmi), I8(1), /* 782 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(128), - /* 789 S> */ B(LdaSmi), U8(1), + /* 789 S> */ B(LdaSmi), I8(1), /* 794 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(130), - /* 801 S> */ B(LdaSmi), U8(1), + /* 801 S> */ B(LdaSmi), I8(1), /* 806 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(132), - /* 813 S> */ B(LdaSmi), U8(1), + /* 813 S> */ B(LdaSmi), I8(1), /* 818 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(134), - /* 825 S> */ B(LdaSmi), U8(1), + /* 825 S> */ B(LdaSmi), I8(1), /* 830 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(136), - /* 837 S> */ B(LdaSmi), U8(1), + /* 837 S> */ B(LdaSmi), I8(1), /* 842 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(138), - /* 849 S> */ B(LdaSmi), U8(1), + /* 849 S> */ B(LdaSmi), I8(1), /* 854 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(140), - /* 861 S> */ B(LdaSmi), U8(1), + /* 861 S> */ B(LdaSmi), I8(1), /* 866 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(142), - /* 873 S> */ B(LdaSmi), U8(1), + /* 873 S> */ B(LdaSmi), I8(1), /* 878 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(144), - /* 885 S> */ B(LdaSmi), U8(1), + /* 885 S> */ B(LdaSmi), I8(1), /* 890 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(146), - /* 897 S> */ B(LdaSmi), U8(1), + /* 897 S> */ B(LdaSmi), I8(1), /* 902 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(148), - /* 909 S> */ B(LdaSmi), U8(1), + /* 909 S> */ B(LdaSmi), I8(1), /* 914 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(150), - /* 921 S> */ B(LdaSmi), U8(1), + /* 921 S> */ B(LdaSmi), I8(1), /* 926 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(152), - /* 933 S> */ B(LdaSmi), U8(1), + /* 933 S> */ B(LdaSmi), I8(1), /* 938 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(154), - /* 945 S> */ B(LdaSmi), U8(1), + /* 945 S> */ B(LdaSmi), I8(1), /* 950 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(156), - /* 957 S> */ B(LdaSmi), U8(1), + /* 957 S> */ B(LdaSmi), I8(1), /* 962 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(158), - /* 969 S> */ B(LdaSmi), U8(1), + /* 969 S> */ B(LdaSmi), I8(1), /* 974 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(160), - /* 981 S> */ B(LdaSmi), U8(1), + /* 981 S> */ B(LdaSmi), I8(1), /* 986 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(162), - /* 993 S> */ B(LdaSmi), U8(1), + /* 993 S> */ B(LdaSmi), I8(1), /* 998 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(164), - /* 1005 S> */ B(LdaSmi), U8(1), + /* 1005 S> */ B(LdaSmi), I8(1), /* 1010 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(166), - /* 1017 S> */ B(LdaSmi), U8(1), + /* 1017 S> */ B(LdaSmi), I8(1), /* 1022 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(168), - /* 1029 S> */ B(LdaSmi), U8(1), + /* 1029 S> */ B(LdaSmi), I8(1), /* 1034 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(170), - /* 1041 S> */ B(LdaSmi), U8(1), + /* 1041 S> */ B(LdaSmi), I8(1), /* 1046 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(172), - /* 1053 S> */ B(LdaSmi), U8(1), + /* 1053 S> */ B(LdaSmi), I8(1), /* 1058 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(174), - /* 1065 S> */ B(LdaSmi), U8(1), + /* 1065 S> */ B(LdaSmi), I8(1), /* 1070 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(176), - /* 1077 S> */ B(LdaSmi), U8(1), + /* 1077 S> */ B(LdaSmi), I8(1), /* 1082 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(178), - /* 1089 S> */ B(LdaSmi), U8(1), + /* 1089 S> */ B(LdaSmi), I8(1), /* 1094 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(180), - /* 1101 S> */ B(LdaSmi), U8(1), + /* 1101 S> */ B(LdaSmi), I8(1), /* 1106 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(182), - /* 1113 S> */ B(LdaSmi), U8(1), + /* 1113 S> */ B(LdaSmi), I8(1), /* 1118 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(184), - /* 1125 S> */ B(LdaSmi), U8(1), + /* 1125 S> */ B(LdaSmi), I8(1), /* 1130 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(186), - /* 1137 S> */ B(LdaSmi), U8(1), + /* 1137 S> */ B(LdaSmi), I8(1), /* 1142 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(188), - /* 1149 S> */ B(LdaSmi), U8(1), + /* 1149 S> */ B(LdaSmi), I8(1), /* 1154 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(190), - /* 1161 S> */ B(LdaSmi), U8(1), + /* 1161 S> */ B(LdaSmi), I8(1), /* 1166 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(192), - /* 1173 S> */ B(LdaSmi), U8(1), + /* 1173 S> */ B(LdaSmi), I8(1), /* 1178 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(194), - /* 1185 S> */ B(LdaSmi), U8(1), + /* 1185 S> */ B(LdaSmi), I8(1), /* 1190 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(196), - /* 1197 S> */ B(LdaSmi), U8(1), + /* 1197 S> */ B(LdaSmi), I8(1), /* 1202 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(198), - /* 1209 S> */ B(LdaSmi), U8(1), + /* 1209 S> */ B(LdaSmi), I8(1), /* 1214 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(200), - /* 1221 S> */ B(LdaSmi), U8(1), + /* 1221 S> */ B(LdaSmi), I8(1), /* 1226 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(202), - /* 1233 S> */ B(LdaSmi), U8(1), + /* 1233 S> */ B(LdaSmi), I8(1), /* 1238 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(204), - /* 1245 S> */ B(LdaSmi), U8(1), + /* 1245 S> */ B(LdaSmi), I8(1), /* 1250 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(206), - /* 1257 S> */ B(LdaSmi), U8(1), + /* 1257 S> */ B(LdaSmi), I8(1), /* 1262 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(208), - /* 1269 S> */ B(LdaSmi), U8(1), + /* 1269 S> */ B(LdaSmi), I8(1), /* 1274 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(210), - /* 1281 S> */ B(LdaSmi), U8(1), + /* 1281 S> */ B(LdaSmi), I8(1), /* 1286 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(212), - /* 1293 S> */ B(LdaSmi), U8(1), + /* 1293 S> */ B(LdaSmi), I8(1), /* 1298 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(214), - /* 1305 S> */ B(LdaSmi), U8(1), + /* 1305 S> */ B(LdaSmi), I8(1), /* 1310 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(216), - /* 1317 S> */ B(LdaSmi), U8(1), + /* 1317 S> */ B(LdaSmi), I8(1), /* 1322 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(218), - /* 1329 S> */ B(LdaSmi), U8(1), + /* 1329 S> */ B(LdaSmi), I8(1), /* 1334 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(220), - /* 1341 S> */ B(LdaSmi), U8(1), + /* 1341 S> */ B(LdaSmi), I8(1), /* 1346 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(222), - /* 1353 S> */ B(LdaSmi), U8(1), + /* 1353 S> */ B(LdaSmi), I8(1), /* 1358 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(224), - /* 1365 S> */ B(LdaSmi), U8(1), + /* 1365 S> */ B(LdaSmi), I8(1), /* 1370 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(226), - /* 1377 S> */ B(LdaSmi), U8(1), + /* 1377 S> */ B(LdaSmi), I8(1), /* 1382 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(228), - /* 1389 S> */ B(LdaSmi), U8(1), + /* 1389 S> */ B(LdaSmi), I8(1), /* 1394 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(230), - /* 1401 S> */ B(LdaSmi), U8(1), + /* 1401 S> */ B(LdaSmi), I8(1), /* 1406 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(232), - /* 1413 S> */ B(LdaSmi), U8(1), + /* 1413 S> */ B(LdaSmi), I8(1), /* 1418 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(234), - /* 1425 S> */ B(LdaSmi), U8(1), + /* 1425 S> */ B(LdaSmi), I8(1), /* 1430 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(236), - /* 1437 S> */ B(LdaSmi), U8(1), + /* 1437 S> */ B(LdaSmi), I8(1), /* 1442 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(238), - /* 1449 S> */ B(LdaSmi), U8(1), + /* 1449 S> */ B(LdaSmi), I8(1), /* 1454 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(240), - /* 1461 S> */ B(LdaSmi), U8(1), + /* 1461 S> */ B(LdaSmi), I8(1), /* 1466 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(242), - /* 1473 S> */ B(LdaSmi), U8(1), + /* 1473 S> */ B(LdaSmi), I8(1), /* 1478 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(244), - /* 1485 S> */ B(LdaSmi), U8(1), + /* 1485 S> */ B(LdaSmi), I8(1), /* 1490 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(246), - /* 1497 S> */ B(LdaSmi), U8(1), + /* 1497 S> */ B(LdaSmi), I8(1), /* 1502 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(248), - /* 1509 S> */ B(LdaSmi), U8(1), + /* 1509 S> */ B(LdaSmi), I8(1), /* 1514 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(250), - /* 1521 S> */ B(LdaSmi), U8(1), + /* 1521 S> */ B(LdaSmi), I8(1), /* 1526 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(252), - /* 1533 S> */ B(LdaSmi), U8(1), + /* 1533 S> */ B(LdaSmi), I8(1), /* 1538 E> */ B(StaKeyedPropertySloppy), R(arg0), R(arg1), U8(254), - /* 1545 S> */ B(LdaSmi), U8(1), + /* 1545 S> */ B(LdaSmi), I8(1), /* 1550 E> */ B(Wide), B(StaKeyedPropertySloppy), R16(arg0), R16(arg1), U16(256), - /* 1557 S> */ B(LdaSmi), U8(2), + /* 1557 S> */ B(LdaSmi), I8(2), /* 1562 E> */ B(Wide), B(StaKeyedPropertySloppy), R16(arg0), R16(arg1), U16(258), B(LdaUndefined), /* 1567 S> */ B(Return), @@ -1521,263 +1521,263 @@ parameter count: 3 bytecode array length: 785 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 37 S> */ B(LdaSmi), U8(1), + /* 37 S> */ B(LdaSmi), I8(1), /* 42 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(2), - /* 49 S> */ B(LdaSmi), U8(1), + /* 49 S> */ B(LdaSmi), I8(1), /* 54 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(4), - /* 61 S> */ B(LdaSmi), U8(1), + /* 61 S> */ B(LdaSmi), I8(1), /* 66 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(6), - /* 73 S> */ B(LdaSmi), U8(1), + /* 73 S> */ B(LdaSmi), I8(1), /* 78 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(8), - /* 85 S> */ B(LdaSmi), U8(1), + /* 85 S> */ B(LdaSmi), I8(1), /* 90 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(10), - /* 97 S> */ B(LdaSmi), U8(1), + /* 97 S> */ B(LdaSmi), I8(1), /* 102 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(12), - /* 109 S> */ B(LdaSmi), U8(1), + /* 109 S> */ B(LdaSmi), I8(1), /* 114 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(14), - /* 121 S> */ B(LdaSmi), U8(1), + /* 121 S> */ B(LdaSmi), I8(1), /* 126 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(16), - /* 133 S> */ B(LdaSmi), U8(1), + /* 133 S> */ B(LdaSmi), I8(1), /* 138 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(18), - /* 145 S> */ B(LdaSmi), U8(1), + /* 145 S> */ B(LdaSmi), I8(1), /* 150 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(20), - /* 157 S> */ B(LdaSmi), U8(1), + /* 157 S> */ B(LdaSmi), I8(1), /* 162 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(22), - /* 169 S> */ B(LdaSmi), U8(1), + /* 169 S> */ B(LdaSmi), I8(1), /* 174 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(24), - /* 181 S> */ B(LdaSmi), U8(1), + /* 181 S> */ B(LdaSmi), I8(1), /* 186 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(26), - /* 193 S> */ B(LdaSmi), U8(1), + /* 193 S> */ B(LdaSmi), I8(1), /* 198 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(28), - /* 205 S> */ B(LdaSmi), U8(1), + /* 205 S> */ B(LdaSmi), I8(1), /* 210 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(30), - /* 217 S> */ B(LdaSmi), U8(1), + /* 217 S> */ B(LdaSmi), I8(1), /* 222 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(32), - /* 229 S> */ B(LdaSmi), U8(1), + /* 229 S> */ B(LdaSmi), I8(1), /* 234 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(34), - /* 241 S> */ B(LdaSmi), U8(1), + /* 241 S> */ B(LdaSmi), I8(1), /* 246 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(36), - /* 253 S> */ B(LdaSmi), U8(1), + /* 253 S> */ B(LdaSmi), I8(1), /* 258 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(38), - /* 265 S> */ B(LdaSmi), U8(1), + /* 265 S> */ B(LdaSmi), I8(1), /* 270 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(40), - /* 277 S> */ B(LdaSmi), U8(1), + /* 277 S> */ B(LdaSmi), I8(1), /* 282 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(42), - /* 289 S> */ B(LdaSmi), U8(1), + /* 289 S> */ B(LdaSmi), I8(1), /* 294 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(44), - /* 301 S> */ B(LdaSmi), U8(1), + /* 301 S> */ B(LdaSmi), I8(1), /* 306 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(46), - /* 313 S> */ B(LdaSmi), U8(1), + /* 313 S> */ B(LdaSmi), I8(1), /* 318 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(48), - /* 325 S> */ B(LdaSmi), U8(1), + /* 325 S> */ B(LdaSmi), I8(1), /* 330 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(50), - /* 337 S> */ B(LdaSmi), U8(1), + /* 337 S> */ B(LdaSmi), I8(1), /* 342 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(52), - /* 349 S> */ B(LdaSmi), U8(1), + /* 349 S> */ B(LdaSmi), I8(1), /* 354 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(54), - /* 361 S> */ B(LdaSmi), U8(1), + /* 361 S> */ B(LdaSmi), I8(1), /* 366 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(56), - /* 373 S> */ B(LdaSmi), U8(1), + /* 373 S> */ B(LdaSmi), I8(1), /* 378 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(58), - /* 385 S> */ B(LdaSmi), U8(1), + /* 385 S> */ B(LdaSmi), I8(1), /* 390 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(60), - /* 397 S> */ B(LdaSmi), U8(1), + /* 397 S> */ B(LdaSmi), I8(1), /* 402 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(62), - /* 409 S> */ B(LdaSmi), U8(1), + /* 409 S> */ B(LdaSmi), I8(1), /* 414 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(64), - /* 421 S> */ B(LdaSmi), U8(1), + /* 421 S> */ B(LdaSmi), I8(1), /* 426 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(66), - /* 433 S> */ B(LdaSmi), U8(1), + /* 433 S> */ B(LdaSmi), I8(1), /* 438 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(68), - /* 445 S> */ B(LdaSmi), U8(1), + /* 445 S> */ B(LdaSmi), I8(1), /* 450 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(70), - /* 457 S> */ B(LdaSmi), U8(1), + /* 457 S> */ B(LdaSmi), I8(1), /* 462 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(72), - /* 469 S> */ B(LdaSmi), U8(1), + /* 469 S> */ B(LdaSmi), I8(1), /* 474 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(74), - /* 481 S> */ B(LdaSmi), U8(1), + /* 481 S> */ B(LdaSmi), I8(1), /* 486 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(76), - /* 493 S> */ B(LdaSmi), U8(1), + /* 493 S> */ B(LdaSmi), I8(1), /* 498 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(78), - /* 505 S> */ B(LdaSmi), U8(1), + /* 505 S> */ B(LdaSmi), I8(1), /* 510 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(80), - /* 517 S> */ B(LdaSmi), U8(1), + /* 517 S> */ B(LdaSmi), I8(1), /* 522 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(82), - /* 529 S> */ B(LdaSmi), U8(1), + /* 529 S> */ B(LdaSmi), I8(1), /* 534 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(84), - /* 541 S> */ B(LdaSmi), U8(1), + /* 541 S> */ B(LdaSmi), I8(1), /* 546 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(86), - /* 553 S> */ B(LdaSmi), U8(1), + /* 553 S> */ B(LdaSmi), I8(1), /* 558 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(88), - /* 565 S> */ B(LdaSmi), U8(1), + /* 565 S> */ B(LdaSmi), I8(1), /* 570 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(90), - /* 577 S> */ B(LdaSmi), U8(1), + /* 577 S> */ B(LdaSmi), I8(1), /* 582 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(92), - /* 589 S> */ B(LdaSmi), U8(1), + /* 589 S> */ B(LdaSmi), I8(1), /* 594 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(94), - /* 601 S> */ B(LdaSmi), U8(1), + /* 601 S> */ B(LdaSmi), I8(1), /* 606 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(96), - /* 613 S> */ B(LdaSmi), U8(1), + /* 613 S> */ B(LdaSmi), I8(1), /* 618 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(98), - /* 625 S> */ B(LdaSmi), U8(1), + /* 625 S> */ B(LdaSmi), I8(1), /* 630 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(100), - /* 637 S> */ B(LdaSmi), U8(1), + /* 637 S> */ B(LdaSmi), I8(1), /* 642 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(102), - /* 649 S> */ B(LdaSmi), U8(1), + /* 649 S> */ B(LdaSmi), I8(1), /* 654 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(104), - /* 661 S> */ B(LdaSmi), U8(1), + /* 661 S> */ B(LdaSmi), I8(1), /* 666 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(106), - /* 673 S> */ B(LdaSmi), U8(1), + /* 673 S> */ B(LdaSmi), I8(1), /* 678 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(108), - /* 685 S> */ B(LdaSmi), U8(1), + /* 685 S> */ B(LdaSmi), I8(1), /* 690 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(110), - /* 697 S> */ B(LdaSmi), U8(1), + /* 697 S> */ B(LdaSmi), I8(1), /* 702 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(112), - /* 709 S> */ B(LdaSmi), U8(1), + /* 709 S> */ B(LdaSmi), I8(1), /* 714 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(114), - /* 721 S> */ B(LdaSmi), U8(1), + /* 721 S> */ B(LdaSmi), I8(1), /* 726 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(116), - /* 733 S> */ B(LdaSmi), U8(1), + /* 733 S> */ B(LdaSmi), I8(1), /* 738 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(118), - /* 745 S> */ B(LdaSmi), U8(1), + /* 745 S> */ B(LdaSmi), I8(1), /* 750 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(120), - /* 757 S> */ B(LdaSmi), U8(1), + /* 757 S> */ B(LdaSmi), I8(1), /* 762 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(122), - /* 769 S> */ B(LdaSmi), U8(1), + /* 769 S> */ B(LdaSmi), I8(1), /* 774 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(124), - /* 781 S> */ B(LdaSmi), U8(1), + /* 781 S> */ B(LdaSmi), I8(1), /* 786 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(126), - /* 793 S> */ B(LdaSmi), U8(1), + /* 793 S> */ B(LdaSmi), I8(1), /* 798 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(128), - /* 805 S> */ B(LdaSmi), U8(1), + /* 805 S> */ B(LdaSmi), I8(1), /* 810 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(130), - /* 817 S> */ B(LdaSmi), U8(1), + /* 817 S> */ B(LdaSmi), I8(1), /* 822 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(132), - /* 829 S> */ B(LdaSmi), U8(1), + /* 829 S> */ B(LdaSmi), I8(1), /* 834 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(134), - /* 841 S> */ B(LdaSmi), U8(1), + /* 841 S> */ B(LdaSmi), I8(1), /* 846 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(136), - /* 853 S> */ B(LdaSmi), U8(1), + /* 853 S> */ B(LdaSmi), I8(1), /* 858 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(138), - /* 865 S> */ B(LdaSmi), U8(1), + /* 865 S> */ B(LdaSmi), I8(1), /* 870 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(140), - /* 877 S> */ B(LdaSmi), U8(1), + /* 877 S> */ B(LdaSmi), I8(1), /* 882 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(142), - /* 889 S> */ B(LdaSmi), U8(1), + /* 889 S> */ B(LdaSmi), I8(1), /* 894 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(144), - /* 901 S> */ B(LdaSmi), U8(1), + /* 901 S> */ B(LdaSmi), I8(1), /* 906 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(146), - /* 913 S> */ B(LdaSmi), U8(1), + /* 913 S> */ B(LdaSmi), I8(1), /* 918 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(148), - /* 925 S> */ B(LdaSmi), U8(1), + /* 925 S> */ B(LdaSmi), I8(1), /* 930 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(150), - /* 937 S> */ B(LdaSmi), U8(1), + /* 937 S> */ B(LdaSmi), I8(1), /* 942 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(152), - /* 949 S> */ B(LdaSmi), U8(1), + /* 949 S> */ B(LdaSmi), I8(1), /* 954 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(154), - /* 961 S> */ B(LdaSmi), U8(1), + /* 961 S> */ B(LdaSmi), I8(1), /* 966 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(156), - /* 973 S> */ B(LdaSmi), U8(1), + /* 973 S> */ B(LdaSmi), I8(1), /* 978 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(158), - /* 985 S> */ B(LdaSmi), U8(1), + /* 985 S> */ B(LdaSmi), I8(1), /* 990 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(160), - /* 997 S> */ B(LdaSmi), U8(1), + /* 997 S> */ B(LdaSmi), I8(1), /* 1002 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(162), - /* 1009 S> */ B(LdaSmi), U8(1), + /* 1009 S> */ B(LdaSmi), I8(1), /* 1014 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(164), - /* 1021 S> */ B(LdaSmi), U8(1), + /* 1021 S> */ B(LdaSmi), I8(1), /* 1026 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(166), - /* 1033 S> */ B(LdaSmi), U8(1), + /* 1033 S> */ B(LdaSmi), I8(1), /* 1038 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(168), - /* 1045 S> */ B(LdaSmi), U8(1), + /* 1045 S> */ B(LdaSmi), I8(1), /* 1050 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(170), - /* 1057 S> */ B(LdaSmi), U8(1), + /* 1057 S> */ B(LdaSmi), I8(1), /* 1062 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(172), - /* 1069 S> */ B(LdaSmi), U8(1), + /* 1069 S> */ B(LdaSmi), I8(1), /* 1074 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(174), - /* 1081 S> */ B(LdaSmi), U8(1), + /* 1081 S> */ B(LdaSmi), I8(1), /* 1086 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(176), - /* 1093 S> */ B(LdaSmi), U8(1), + /* 1093 S> */ B(LdaSmi), I8(1), /* 1098 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(178), - /* 1105 S> */ B(LdaSmi), U8(1), + /* 1105 S> */ B(LdaSmi), I8(1), /* 1110 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(180), - /* 1117 S> */ B(LdaSmi), U8(1), + /* 1117 S> */ B(LdaSmi), I8(1), /* 1122 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(182), - /* 1129 S> */ B(LdaSmi), U8(1), + /* 1129 S> */ B(LdaSmi), I8(1), /* 1134 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(184), - /* 1141 S> */ B(LdaSmi), U8(1), + /* 1141 S> */ B(LdaSmi), I8(1), /* 1146 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(186), - /* 1153 S> */ B(LdaSmi), U8(1), + /* 1153 S> */ B(LdaSmi), I8(1), /* 1158 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(188), - /* 1165 S> */ B(LdaSmi), U8(1), + /* 1165 S> */ B(LdaSmi), I8(1), /* 1170 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(190), - /* 1177 S> */ B(LdaSmi), U8(1), + /* 1177 S> */ B(LdaSmi), I8(1), /* 1182 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(192), - /* 1189 S> */ B(LdaSmi), U8(1), + /* 1189 S> */ B(LdaSmi), I8(1), /* 1194 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(194), - /* 1201 S> */ B(LdaSmi), U8(1), + /* 1201 S> */ B(LdaSmi), I8(1), /* 1206 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(196), - /* 1213 S> */ B(LdaSmi), U8(1), + /* 1213 S> */ B(LdaSmi), I8(1), /* 1218 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(198), - /* 1225 S> */ B(LdaSmi), U8(1), + /* 1225 S> */ B(LdaSmi), I8(1), /* 1230 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(200), - /* 1237 S> */ B(LdaSmi), U8(1), + /* 1237 S> */ B(LdaSmi), I8(1), /* 1242 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(202), - /* 1249 S> */ B(LdaSmi), U8(1), + /* 1249 S> */ B(LdaSmi), I8(1), /* 1254 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(204), - /* 1261 S> */ B(LdaSmi), U8(1), + /* 1261 S> */ B(LdaSmi), I8(1), /* 1266 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(206), - /* 1273 S> */ B(LdaSmi), U8(1), + /* 1273 S> */ B(LdaSmi), I8(1), /* 1278 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(208), - /* 1285 S> */ B(LdaSmi), U8(1), + /* 1285 S> */ B(LdaSmi), I8(1), /* 1290 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(210), - /* 1297 S> */ B(LdaSmi), U8(1), + /* 1297 S> */ B(LdaSmi), I8(1), /* 1302 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(212), - /* 1309 S> */ B(LdaSmi), U8(1), + /* 1309 S> */ B(LdaSmi), I8(1), /* 1314 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(214), - /* 1321 S> */ B(LdaSmi), U8(1), + /* 1321 S> */ B(LdaSmi), I8(1), /* 1326 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(216), - /* 1333 S> */ B(LdaSmi), U8(1), + /* 1333 S> */ B(LdaSmi), I8(1), /* 1338 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(218), - /* 1345 S> */ B(LdaSmi), U8(1), + /* 1345 S> */ B(LdaSmi), I8(1), /* 1350 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(220), - /* 1357 S> */ B(LdaSmi), U8(1), + /* 1357 S> */ B(LdaSmi), I8(1), /* 1362 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(222), - /* 1369 S> */ B(LdaSmi), U8(1), + /* 1369 S> */ B(LdaSmi), I8(1), /* 1374 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(224), - /* 1381 S> */ B(LdaSmi), U8(1), + /* 1381 S> */ B(LdaSmi), I8(1), /* 1386 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(226), - /* 1393 S> */ B(LdaSmi), U8(1), + /* 1393 S> */ B(LdaSmi), I8(1), /* 1398 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(228), - /* 1405 S> */ B(LdaSmi), U8(1), + /* 1405 S> */ B(LdaSmi), I8(1), /* 1410 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(230), - /* 1417 S> */ B(LdaSmi), U8(1), + /* 1417 S> */ B(LdaSmi), I8(1), /* 1422 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(232), - /* 1429 S> */ B(LdaSmi), U8(1), + /* 1429 S> */ B(LdaSmi), I8(1), /* 1434 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(234), - /* 1441 S> */ B(LdaSmi), U8(1), + /* 1441 S> */ B(LdaSmi), I8(1), /* 1446 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(236), - /* 1453 S> */ B(LdaSmi), U8(1), + /* 1453 S> */ B(LdaSmi), I8(1), /* 1458 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(238), - /* 1465 S> */ B(LdaSmi), U8(1), + /* 1465 S> */ B(LdaSmi), I8(1), /* 1470 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(240), - /* 1477 S> */ B(LdaSmi), U8(1), + /* 1477 S> */ B(LdaSmi), I8(1), /* 1482 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(242), - /* 1489 S> */ B(LdaSmi), U8(1), + /* 1489 S> */ B(LdaSmi), I8(1), /* 1494 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(244), - /* 1501 S> */ B(LdaSmi), U8(1), + /* 1501 S> */ B(LdaSmi), I8(1), /* 1506 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(246), - /* 1513 S> */ B(LdaSmi), U8(1), + /* 1513 S> */ B(LdaSmi), I8(1), /* 1518 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(248), - /* 1525 S> */ B(LdaSmi), U8(1), + /* 1525 S> */ B(LdaSmi), I8(1), /* 1530 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(250), - /* 1537 S> */ B(LdaSmi), U8(1), + /* 1537 S> */ B(LdaSmi), I8(1), /* 1542 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(252), - /* 1549 S> */ B(LdaSmi), U8(1), + /* 1549 S> */ B(LdaSmi), I8(1), /* 1554 E> */ B(StaKeyedPropertyStrict), R(arg0), R(arg1), U8(254), - /* 1561 S> */ B(LdaSmi), U8(1), + /* 1561 S> */ B(LdaSmi), I8(1), /* 1566 E> */ B(Wide), B(StaKeyedPropertyStrict), R16(arg0), R16(arg1), U16(256), - /* 1573 S> */ B(LdaSmi), U8(2), + /* 1573 S> */ B(LdaSmi), I8(2), /* 1578 E> */ B(Wide), B(StaKeyedPropertyStrict), R16(arg0), R16(arg1), U16(258), B(LdaUndefined), /* 1583 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/RemoveRedundantLdar.golden b/test/cctest/interpreter/bytecode_expectations/RemoveRedundantLdar.golden index 348af5276c..4fb7fbe420 100644 --- a/test/cctest/interpreter/bytecode_expectations/RemoveRedundantLdar.golden +++ b/test/cctest/interpreter/bytecode_expectations/RemoveRedundantLdar.golden @@ -19,17 +19,17 @@ parameter count: 1 bytecode array length: 28 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 45 S> */ B(LdaSmi), U8(1), + /* 45 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 48 E> */ B(StackCheck), /* 64 S> */ B(Ldar), R(0), /* 76 E> */ B(Add), R(0), U8(2), B(Star), R(0), - /* 86 S> */ B(LdaSmi), U8(10), + /* 86 S> */ B(LdaSmi), I8(10), /* 95 E> */ B(TestGreaterThan), R(0), U8(3), B(JumpIfFalse), U8(4), /* 101 S> */ B(Jump), U8(5), - B(JumpLoop), U8(17), U8(0), + B(JumpLoop), U8(17), I8(0), /* 110 S> */ B(Ldar), R(0), /* 123 S> */ B(Return), ] @@ -52,13 +52,13 @@ parameter count: 1 bytecode array length: 24 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 45 S> */ B(LdaSmi), U8(1), + /* 45 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 48 E> */ B(StackCheck), /* 55 S> */ B(Nop), /* 67 E> */ B(Add), R(0), U8(2), B(Star), R(0), - /* 77 S> */ B(LdaSmi), U8(10), + /* 77 S> */ B(LdaSmi), I8(10), /* 86 E> */ B(TestGreaterThan), R(0), U8(3), B(JumpIfFalse), U8(4), /* 92 S> */ B(Jump), U8(2), @@ -81,7 +81,7 @@ parameter count: 1 bytecode array length: 13 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 45 S> */ B(LdaSmi), U8(1), + /* 45 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 50 S> */ B(Nop), /* 62 E> */ B(Add), R(0), U8(2), diff --git a/test/cctest/interpreter/bytecode_expectations/StoreGlobal.golden b/test/cctest/interpreter/bytecode_expectations/StoreGlobal.golden index 422fa12cb1..4e0330ede3 100644 --- a/test/cctest/interpreter/bytecode_expectations/StoreGlobal.golden +++ b/test/cctest/interpreter/bytecode_expectations/StoreGlobal.golden @@ -17,7 +17,7 @@ parameter count: 1 bytecode array length: 8 bytecodes: [ /* 21 E> */ B(StackCheck), - /* 26 S> */ B(LdaSmi), U8(2), + /* 26 S> */ B(LdaSmi), I8(2), /* 28 E> */ B(StaGlobalSloppy), U8(0), U8(2), B(LdaUndefined), /* 33 S> */ B(Return), @@ -60,7 +60,7 @@ parameter count: 1 bytecode array length: 8 bytecodes: [ /* 35 E> */ B(StackCheck), - /* 40 S> */ B(LdaSmi), U8(2), + /* 40 S> */ B(LdaSmi), I8(2), /* 42 E> */ B(StaGlobalStrict), U8(0), U8(2), B(LdaUndefined), /* 47 S> */ B(Return), @@ -82,7 +82,7 @@ parameter count: 1 bytecode array length: 8 bytecodes: [ /* 17 E> */ B(StackCheck), - /* 22 S> */ B(LdaSmi), U8(2), + /* 22 S> */ B(LdaSmi), I8(2), /* 24 E> */ B(StaGlobalSloppy), U8(0), U8(2), B(LdaUndefined), /* 29 S> */ B(Return), @@ -490,7 +490,7 @@ bytecodes: [ /* 1286 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(254), /* 1295 S> */ B(Nop), /* 1296 E> */ B(Wide), B(LdaNamedProperty), R16(arg0), U16(0), U16(256), - /* 1305 S> */ B(LdaSmi), U8(2), + /* 1305 S> */ B(LdaSmi), I8(2), /* 1307 E> */ B(Wide), B(StaGlobalSloppy), U16(1), U16(258), B(LdaUndefined), /* 1312 S> */ B(Return), @@ -900,7 +900,7 @@ bytecodes: [ /* 1302 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(254), /* 1311 S> */ B(Nop), /* 1312 E> */ B(Wide), B(LdaNamedProperty), R16(arg0), U16(0), U16(256), - /* 1321 S> */ B(LdaSmi), U8(2), + /* 1321 S> */ B(LdaSmi), I8(2), /* 1323 E> */ B(Wide), B(StaGlobalStrict), U16(1), U16(258), B(LdaUndefined), /* 1328 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden b/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden index 133e4b9f27..c05740ea04 100644 --- a/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden +++ b/test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden @@ -63,7 +63,7 @@ bytecodes: [ /* 128 E> */ B(StackCheck), /* 140 S> */ B(Ldar), R(1), B(GetSuperConstructor), R(3), - B(LdaSmi), U8(1), + B(LdaSmi), I8(1), B(Star), R(4), B(Ldar), R(0), B(Mov), R(2), R(5), diff --git a/test/cctest/interpreter/bytecode_expectations/Switch.golden b/test/cctest/interpreter/bytecode_expectations/Switch.golden index 77bee13e14..a1025e5ba4 100644 --- a/test/cctest/interpreter/bytecode_expectations/Switch.golden +++ b/test/cctest/interpreter/bytecode_expectations/Switch.golden @@ -18,20 +18,20 @@ parameter count: 1 bytecode array length: 34 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), B(Star), R(1), - /* 45 S> */ B(LdaSmi), U8(1), + /* 45 S> */ B(LdaSmi), I8(1), B(TestEqualStrict), R(1), U8(2), B(Mov), R(0), R(2), B(JumpIfToBooleanTrue), U8(11), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(2), U8(3), B(JumpIfTrue), U8(7), B(Jump), U8(8), - /* 66 S> */ B(LdaSmi), U8(2), + /* 66 S> */ B(LdaSmi), I8(2), /* 97 S> */ B(Return), - /* 85 S> */ B(LdaSmi), U8(3), + /* 85 S> */ B(LdaSmi), I8(3), /* 97 S> */ B(Return), B(LdaUndefined), /* 97 S> */ B(Return), @@ -54,21 +54,21 @@ parameter count: 1 bytecode array length: 40 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), B(Star), R(1), - /* 45 S> */ B(LdaSmi), U8(1), + /* 45 S> */ B(LdaSmi), I8(1), B(TestEqualStrict), R(1), U8(2), B(Mov), R(0), R(2), B(JumpIfToBooleanTrue), U8(11), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(2), U8(3), B(JumpIfTrue), U8(10), B(Jump), U8(14), - /* 66 S> */ B(LdaSmi), U8(2), + /* 66 S> */ B(LdaSmi), I8(2), B(Star), R(0), /* 73 S> */ B(Jump), U8(8), - /* 89 S> */ B(LdaSmi), U8(3), + /* 89 S> */ B(LdaSmi), I8(3), B(Star), R(0), /* 96 S> */ B(Jump), U8(2), B(LdaUndefined), @@ -92,20 +92,20 @@ parameter count: 1 bytecode array length: 38 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), B(Star), R(1), - /* 45 S> */ B(LdaSmi), U8(1), + /* 45 S> */ B(LdaSmi), I8(1), B(TestEqualStrict), R(1), U8(2), B(Mov), R(0), R(2), B(JumpIfToBooleanTrue), U8(11), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(2), U8(3), B(JumpIfTrue), U8(8), B(Jump), U8(12), - /* 66 S> */ B(LdaSmi), U8(2), + /* 66 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 98 S> */ B(LdaSmi), U8(3), + /* 98 S> */ B(LdaSmi), I8(3), B(Star), R(0), /* 105 S> */ B(Jump), U8(2), B(LdaUndefined), @@ -130,20 +130,20 @@ parameter count: 1 bytecode array length: 38 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), B(Star), R(1), - /* 45 S> */ B(LdaSmi), U8(2), + /* 45 S> */ B(LdaSmi), I8(2), B(TestEqualStrict), R(1), U8(2), B(Mov), R(0), R(2), B(JumpIfToBooleanTrue), U8(11), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(TestEqualStrict), R(2), U8(3), B(JumpIfTrue), U8(6), B(Jump), U8(6), /* 66 S> */ B(Jump), U8(10), /* 82 S> */ B(Jump), U8(8), - /* 99 S> */ B(LdaSmi), U8(1), + /* 99 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 106 S> */ B(Jump), U8(2), B(LdaUndefined), @@ -168,25 +168,25 @@ parameter count: 1 bytecode array length: 47 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 42 E> */ B(TypeOf), B(Star), R(1), - /* 45 S> */ B(LdaSmi), U8(2), + /* 45 S> */ B(LdaSmi), I8(2), B(TestEqualStrict), R(1), U8(2), B(Mov), R(1), R(2), B(JumpIfToBooleanTrue), U8(11), - B(LdaSmi), U8(3), + B(LdaSmi), I8(3), B(TestEqualStrict), R(2), U8(3), B(JumpIfTrue), U8(10), B(Jump), U8(14), - /* 74 S> */ B(LdaSmi), U8(1), + /* 74 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 81 S> */ B(Jump), U8(14), - /* 97 S> */ B(LdaSmi), U8(2), + /* 97 S> */ B(LdaSmi), I8(2), B(Star), R(0), /* 104 S> */ B(Jump), U8(8), - /* 121 S> */ B(LdaSmi), U8(3), + /* 121 S> */ B(LdaSmi), I8(3), B(Star), R(0), /* 128 S> */ B(Jump), U8(2), B(LdaUndefined), @@ -210,7 +210,7 @@ parameter count: 1 bytecode array length: 32 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), B(Star), R(1), /* 45 S> */ B(TypeOf), @@ -218,10 +218,10 @@ bytecodes: [ B(Mov), R(0), R(2), B(JumpIfToBooleanTrue), U8(4), B(Jump), U8(8), - /* 74 S> */ B(LdaSmi), U8(1), + /* 74 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 81 S> */ B(Jump), U8(8), - /* 98 S> */ B(LdaSmi), U8(2), + /* 98 S> */ B(LdaSmi), I8(2), B(Star), R(0), /* 105 S> */ B(Jump), U8(2), B(LdaUndefined), @@ -312,147 +312,147 @@ parameter count: 1 bytecode array length: 292 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), B(Star), R(1), - /* 45 S> */ B(LdaSmi), U8(1), + /* 45 S> */ B(LdaSmi), I8(1), B(TestEqualStrict), R(1), U8(2), B(Mov), R(0), R(2), B(JumpIfToBooleanTrue), U8(11), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(2), U8(3), B(JumpIfTrueConstant), U8(0), B(JumpConstant), U8(1), - /* 68 S> */ B(LdaSmi), U8(2), + /* 68 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 77 S> */ B(LdaSmi), U8(2), + /* 77 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 86 S> */ B(LdaSmi), U8(2), + /* 86 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 95 S> */ B(LdaSmi), U8(2), + /* 95 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 104 S> */ B(LdaSmi), U8(2), + /* 104 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 113 S> */ B(LdaSmi), U8(2), + /* 113 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 122 S> */ B(LdaSmi), U8(2), + /* 122 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 131 S> */ B(LdaSmi), U8(2), + /* 131 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 140 S> */ B(LdaSmi), U8(2), + /* 140 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 149 S> */ B(LdaSmi), U8(2), + /* 149 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 158 S> */ B(LdaSmi), U8(2), + /* 158 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 167 S> */ B(LdaSmi), U8(2), + /* 167 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 176 S> */ B(LdaSmi), U8(2), + /* 176 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 185 S> */ B(LdaSmi), U8(2), + /* 185 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 194 S> */ B(LdaSmi), U8(2), + /* 194 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 203 S> */ B(LdaSmi), U8(2), + /* 203 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 212 S> */ B(LdaSmi), U8(2), + /* 212 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 221 S> */ B(LdaSmi), U8(2), + /* 221 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 230 S> */ B(LdaSmi), U8(2), + /* 230 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 239 S> */ B(LdaSmi), U8(2), + /* 239 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 248 S> */ B(LdaSmi), U8(2), + /* 248 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 257 S> */ B(LdaSmi), U8(2), + /* 257 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 266 S> */ B(LdaSmi), U8(2), + /* 266 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 275 S> */ B(LdaSmi), U8(2), + /* 275 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 284 S> */ B(LdaSmi), U8(2), + /* 284 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 293 S> */ B(LdaSmi), U8(2), + /* 293 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 302 S> */ B(LdaSmi), U8(2), + /* 302 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 311 S> */ B(LdaSmi), U8(2), + /* 311 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 320 S> */ B(LdaSmi), U8(2), + /* 320 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 329 S> */ B(LdaSmi), U8(2), + /* 329 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 338 S> */ B(LdaSmi), U8(2), + /* 338 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 347 S> */ B(LdaSmi), U8(2), + /* 347 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 356 S> */ B(LdaSmi), U8(2), + /* 356 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 365 S> */ B(LdaSmi), U8(2), + /* 365 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 374 S> */ B(LdaSmi), U8(2), + /* 374 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 383 S> */ B(LdaSmi), U8(2), + /* 383 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 392 S> */ B(LdaSmi), U8(2), + /* 392 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 401 S> */ B(LdaSmi), U8(2), + /* 401 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 410 S> */ B(LdaSmi), U8(2), + /* 410 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 419 S> */ B(LdaSmi), U8(2), + /* 419 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 428 S> */ B(LdaSmi), U8(2), + /* 428 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 437 S> */ B(LdaSmi), U8(2), + /* 437 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 446 S> */ B(LdaSmi), U8(2), + /* 446 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 455 S> */ B(LdaSmi), U8(2), + /* 455 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 464 S> */ B(LdaSmi), U8(2), + /* 464 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 473 S> */ B(LdaSmi), U8(2), + /* 473 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 482 S> */ B(LdaSmi), U8(2), + /* 482 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 491 S> */ B(LdaSmi), U8(2), + /* 491 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 500 S> */ B(LdaSmi), U8(2), + /* 500 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 509 S> */ B(LdaSmi), U8(2), + /* 509 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 518 S> */ B(LdaSmi), U8(2), + /* 518 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 527 S> */ B(LdaSmi), U8(2), + /* 527 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 536 S> */ B(LdaSmi), U8(2), + /* 536 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 545 S> */ B(LdaSmi), U8(2), + /* 545 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 554 S> */ B(LdaSmi), U8(2), + /* 554 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 563 S> */ B(LdaSmi), U8(2), + /* 563 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 572 S> */ B(LdaSmi), U8(2), + /* 572 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 581 S> */ B(LdaSmi), U8(2), + /* 581 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 590 S> */ B(LdaSmi), U8(2), + /* 590 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 599 S> */ B(LdaSmi), U8(2), + /* 599 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 608 S> */ B(LdaSmi), U8(2), + /* 608 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 617 S> */ B(LdaSmi), U8(2), + /* 617 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 626 S> */ B(LdaSmi), U8(2), + /* 626 S> */ B(LdaSmi), I8(2), B(Star), R(0), - /* 635 S> */ B(LdaSmi), U8(2), + /* 635 S> */ B(LdaSmi), I8(2), B(Star), R(0), /* 644 S> */ B(Jump), U8(8), - /* 662 S> */ B(LdaSmi), U8(3), + /* 662 S> */ B(LdaSmi), I8(3), B(Star), R(0), /* 671 S> */ B(Jump), U8(2), B(LdaUndefined), @@ -482,31 +482,31 @@ parameter count: 1 bytecode array length: 62 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), B(Star), R(2), - /* 45 S> */ B(LdaSmi), U8(1), + /* 45 S> */ B(LdaSmi), I8(1), B(TestEqualStrict), R(2), U8(5), B(Mov), R(0), R(3), B(JumpIfToBooleanTrue), U8(11), - B(LdaSmi), U8(2), + B(LdaSmi), I8(2), B(TestEqualStrict), R(3), U8(6), B(JumpIfTrue), U8(34), B(Jump), U8(36), - /* 79 E> */ B(AddSmi), U8(1), R(0), U8(2), + /* 79 E> */ B(AddSmi), I8(1), R(0), U8(2), B(Star), R(1), - /* 70 S> */ B(LdaSmi), U8(2), + /* 70 S> */ B(LdaSmi), I8(2), B(TestEqualStrict), R(1), U8(3), B(Mov), R(1), R(4), B(JumpIfToBooleanTrue), U8(4), B(Jump), U8(8), - /* 101 S> */ B(LdaSmi), U8(1), + /* 101 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 108 S> */ B(Jump), U8(8), - /* 131 S> */ B(LdaSmi), U8(2), + /* 131 S> */ B(LdaSmi), I8(2), B(Star), R(0), /* 138 S> */ B(Jump), U8(2), - /* 176 S> */ B(LdaSmi), U8(3), + /* 176 S> */ B(LdaSmi), I8(3), B(Star), R(0), B(LdaUndefined), /* 185 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/Throw.golden b/test/cctest/interpreter/bytecode_expectations/Throw.golden index 15afe2f4eb..73e203a60b 100644 --- a/test/cctest/interpreter/bytecode_expectations/Throw.golden +++ b/test/cctest/interpreter/bytecode_expectations/Throw.golden @@ -14,7 +14,7 @@ parameter count: 1 bytecode array length: 4 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 34 S> */ B(LdaSmi), U8(1), + /* 34 S> */ B(LdaSmi), I8(1), /* 34 E> */ B(Throw), ] constant pool: [ @@ -49,7 +49,7 @@ parameter count: 1 bytecode array length: 12 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), /* 45 S> */ B(JumpIfToBooleanFalse), U8(5), /* 54 S> */ B(LdaConstant), U8(0), diff --git a/test/cctest/interpreter/bytecode_expectations/TryCatch.golden b/test/cctest/interpreter/bytecode_expectations/TryCatch.golden index b687ed24ca..93f906c287 100644 --- a/test/cctest/interpreter/bytecode_expectations/TryCatch.golden +++ b/test/cctest/interpreter/bytecode_expectations/TryCatch.golden @@ -15,7 +15,7 @@ bytecode array length: 32 bytecodes: [ /* 30 E> */ B(StackCheck), B(Mov), R(context), R(1), - /* 40 S> */ B(LdaSmi), U8(1), + /* 40 S> */ B(LdaSmi), I8(1), /* 75 S> */ B(Return), B(Jump), U8(23), B(Star), R(2), @@ -26,7 +26,7 @@ bytecodes: [ B(SetPendingMessage), B(Ldar), R(1), B(PushContext), R(0), - /* 63 S> */ B(LdaSmi), U8(2), + /* 63 S> */ B(LdaSmi), I8(2), B(PopContext), R(0), /* 75 S> */ B(Return), B(LdaUndefined), @@ -52,7 +52,7 @@ bytecode array length: 61 bytecodes: [ /* 30 E> */ B(StackCheck), B(Mov), R(context), R(2), - /* 47 S> */ B(LdaSmi), U8(1), + /* 47 S> */ B(LdaSmi), I8(1), B(Star), R(0), B(Jump), U8(20), B(Star), R(3), @@ -65,7 +65,7 @@ bytecodes: [ B(PushContext), R(1), B(PopContext), R(1), B(Mov), R(context), R(2), - /* 75 S> */ B(LdaSmi), U8(2), + /* 75 S> */ B(LdaSmi), I8(2), B(Star), R(0), B(Jump), U8(24), B(Star), R(3), @@ -76,7 +76,7 @@ bytecodes: [ B(SetPendingMessage), B(Ldar), R(2), B(PushContext), R(1), - /* 95 S> */ B(LdaSmi), U8(3), + /* 95 S> */ B(LdaSmi), I8(3), B(Star), R(0), B(PopContext), R(1), B(LdaUndefined), diff --git a/test/cctest/interpreter/bytecode_expectations/TryFinally.golden b/test/cctest/interpreter/bytecode_expectations/TryFinally.golden index b85ae8c51a..eaad3bb8bb 100644 --- a/test/cctest/interpreter/bytecode_expectations/TryFinally.golden +++ b/test/cctest/interpreter/bytecode_expectations/TryFinally.golden @@ -15,12 +15,12 @@ parameter count: 1 bytecode array length: 47 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), B(Mov), R(context), R(3), - /* 51 S> */ B(LdaSmi), U8(2), + /* 51 S> */ B(LdaSmi), I8(2), B(Star), R(0), - B(LdaSmi), U8(-1), + B(LdaSmi), I8(-1), B(Star), R(1), B(Jump), U8(7), B(Star), R(2), @@ -29,7 +29,7 @@ bytecodes: [ B(LdaTheHole), /* 53 E> */ B(SetPendingMessage), B(Star), R(3), - /* 70 S> */ B(LdaSmi), U8(3), + /* 70 S> */ B(LdaSmi), I8(3), B(Star), R(0), B(Ldar), R(3), /* 72 E> */ B(SetPendingMessage), @@ -58,11 +58,11 @@ parameter count: 1 bytecode array length: 74 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(1), + /* 42 S> */ B(LdaSmi), I8(1), B(Star), R(0), B(Mov), R(context), R(4), B(Mov), R(context), R(5), - /* 51 S> */ B(LdaSmi), U8(2), + /* 51 S> */ B(LdaSmi), I8(2), B(Star), R(0), B(Jump), U8(24), B(Star), R(6), @@ -73,10 +73,10 @@ bytecodes: [ B(SetPendingMessage), B(Ldar), R(5), B(PushContext), R(1), - /* 71 S> */ B(LdaSmi), U8(20), + /* 71 S> */ B(LdaSmi), I8(20), B(Star), R(0), B(PopContext), R(1), - B(LdaSmi), U8(-1), + B(LdaSmi), I8(-1), B(Star), R(2), B(Jump), U8(7), B(Star), R(3), @@ -85,7 +85,7 @@ bytecodes: [ B(LdaTheHole), /* 73 E> */ B(SetPendingMessage), B(Star), R(4), - /* 90 S> */ B(LdaSmi), U8(3), + /* 90 S> */ B(LdaSmi), I8(3), B(Star), R(0), B(Ldar), R(4), /* 92 E> */ B(SetPendingMessage), @@ -121,7 +121,7 @@ bytecodes: [ B(Mov), R(context), R(4), B(Mov), R(context), R(5), B(Mov), R(context), R(6), - /* 55 S> */ B(LdaSmi), U8(1), + /* 55 S> */ B(LdaSmi), I8(1), B(Star), R(0), B(Jump), U8(24), B(Star), R(7), @@ -132,7 +132,7 @@ bytecodes: [ B(SetPendingMessage), B(Ldar), R(6), B(PushContext), R(1), - /* 74 S> */ B(LdaSmi), U8(2), + /* 74 S> */ B(LdaSmi), I8(2), B(Star), R(0), B(PopContext), R(1), B(Jump), U8(24), @@ -144,10 +144,10 @@ bytecodes: [ B(SetPendingMessage), B(Ldar), R(5), B(PushContext), R(1), - /* 95 S> */ B(LdaSmi), U8(20), + /* 95 S> */ B(LdaSmi), I8(20), B(Star), R(0), B(PopContext), R(1), - B(LdaSmi), U8(-1), + B(LdaSmi), I8(-1), B(Star), R(2), B(Jump), U8(7), B(Star), R(3), @@ -156,7 +156,7 @@ bytecodes: [ B(LdaTheHole), /* 97 E> */ B(SetPendingMessage), B(Star), R(4), - /* 114 S> */ B(LdaSmi), U8(3), + /* 114 S> */ B(LdaSmi), I8(3), B(Star), R(0), B(Ldar), R(4), /* 116 E> */ B(SetPendingMessage), diff --git a/test/cctest/interpreter/bytecode_expectations/Typeof.golden b/test/cctest/interpreter/bytecode_expectations/Typeof.golden index d5ab090594..ecf9ed6d64 100644 --- a/test/cctest/interpreter/bytecode_expectations/Typeof.golden +++ b/test/cctest/interpreter/bytecode_expectations/Typeof.golden @@ -19,7 +19,7 @@ parameter count: 1 bytecode array length: 7 bytecodes: [ /* 10 E> */ B(StackCheck), - /* 24 S> */ B(LdaSmi), U8(13), + /* 24 S> */ B(LdaSmi), I8(13), B(Star), R(0), /* 29 S> */ B(TypeOf), /* 47 S> */ B(Return), diff --git a/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden b/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden index 9bf63ce8a0..b94144d76b 100644 --- a/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden +++ b/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden @@ -20,14 +20,14 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(LdaZero), B(Star), R(0), - /* 54 S> */ B(LdaSmi), U8(10), + /* 54 S> */ B(LdaSmi), I8(10), /* 54 E> */ B(TestEqual), R(0), U8(2), B(JumpIfTrue), U8(13), /* 45 E> */ B(StackCheck), - /* 65 S> */ B(LdaSmi), U8(10), + /* 65 S> */ B(LdaSmi), I8(10), /* 71 E> */ B(Add), R(0), U8(3), B(Star), R(0), - B(JumpLoop), U8(15), U8(0), + B(JumpLoop), U8(15), I8(0), /* 79 S> */ B(Ldar), R(0), /* 89 S> */ B(Return), ] @@ -58,7 +58,7 @@ bytecodes: [ /* 74 S> */ B(LdaFalse), /* 74 E> */ B(TestEqual), R(0), U8(2), B(JumpIfFalse), U8(5), - B(JumpLoop), U8(12), U8(0), + B(JumpLoop), U8(12), I8(0), /* 85 S> */ B(Ldar), R(0), /* 95 S> */ B(Return), ] @@ -77,9 +77,9 @@ parameter count: 1 bytecode array length: 12 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(101), + /* 42 S> */ B(LdaSmi), I8(101), B(Star), R(0), - /* 47 S> */ B(LdaSmi), U8(3), + /* 47 S> */ B(LdaSmi), I8(3), /* 61 E> */ B(Mul), R(0), U8(2), B(LdaUndefined), /* 67 S> */ B(Return), @@ -100,12 +100,12 @@ parameter count: 1 bytecode array length: 22 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(Wide), B(LdaSmi), U16(1234), + /* 42 S> */ B(Wide), B(LdaSmi), I16(1234), B(Star), R(0), /* 56 S> */ B(Nop), /* 64 E> */ B(Mul), R(0), U8(2), B(Star), R(2), - /* 68 E> */ B(SubSmi), U8(1), R(2), U8(3), + /* 68 E> */ B(SubSmi), I8(1), R(2), U8(3), B(LdaUndefined), B(Star), R(1), /* 74 S> */ B(Nop), @@ -126,9 +126,9 @@ parameter count: 1 bytecode array length: 11 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(13), + /* 42 S> */ B(LdaSmi), I8(13), B(Star), R(0), - /* 46 S> */ B(LdaSmi), U8(-1), + /* 46 S> */ B(LdaSmi), I8(-1), /* 53 E> */ B(BitwiseXor), R(0), U8(2), /* 57 S> */ B(Return), ] @@ -147,9 +147,9 @@ parameter count: 1 bytecode array length: 11 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(13), + /* 42 S> */ B(LdaSmi), I8(13), B(Star), R(0), - /* 46 S> */ B(LdaSmi), U8(1), + /* 46 S> */ B(LdaSmi), I8(1), /* 53 E> */ B(Mul), R(0), U8(2), /* 57 S> */ B(Return), ] @@ -168,9 +168,9 @@ parameter count: 1 bytecode array length: 11 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(LdaSmi), U8(13), + /* 42 S> */ B(LdaSmi), I8(13), B(Star), R(0), - /* 46 S> */ B(LdaSmi), U8(-1), + /* 46 S> */ B(LdaSmi), I8(-1), /* 53 E> */ B(Mul), R(0), U8(2), /* 57 S> */ B(Return), ] diff --git a/test/cctest/interpreter/bytecode_expectations/WideRegisters.golden b/test/cctest/interpreter/bytecode_expectations/WideRegisters.golden index a2211e6f37..402b9aea80 100644 --- a/test/cctest/interpreter/bytecode_expectations/WideRegisters.golden +++ b/test/cctest/interpreter/bytecode_expectations/WideRegisters.golden @@ -524,7 +524,7 @@ parameter count: 1 bytecode array length: 18 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 1494 S> */ B(LdaSmi), U8(3), + /* 1494 S> */ B(LdaSmi), I8(3), /* 1501 E> */ B(TestGreaterThan), R(2), U8(2), B(JumpIfFalse), U8(7), /* 1508 S> */ B(Wide), B(Ldar), R16(129), @@ -708,12 +708,12 @@ bytecodes: [ /* 30 E> */ B(StackCheck), /* 1503 S> */ B(LdaZero), B(Star), R(0), - /* 1506 S> */ B(LdaSmi), U8(3), + /* 1506 S> */ B(LdaSmi), I8(3), /* 1515 E> */ B(Wide), B(TestEqual), R16(129), U16(2), B(JumpIfFalse), U8(10), /* 1534 S> */ B(Wide), B(Mov), R16(0), R16(129), B(Ldar), R(0), - /* 1540 S> */ B(LdaSmi), U8(3), + /* 1540 S> */ B(LdaSmi), I8(3), /* 1547 E> */ B(TestGreaterThan), R(2), U8(3), B(JumpIfFalse), U8(5), /* 1554 S> */ B(Ldar), R(0), @@ -900,7 +900,7 @@ bytecodes: [ B(Star), R(1), /* 1523 S> */ B(LdaZero), B(Wide), B(Star), R16(128), - /* 1538 S> */ B(LdaSmi), U8(64), + /* 1538 S> */ B(LdaSmi), I8(64), /* 1538 E> */ B(Wide), B(TestLessThan), R16(128), U16(2), B(JumpIfFalse), U8(31), /* 1518 E> */ B(StackCheck), @@ -911,7 +911,7 @@ bytecodes: [ /* 1548 S> */ B(Wide), B(Ldar), R16(128), B(Inc), U8(3), B(Wide), B(Star), R16(128), - B(JumpLoop), U8(36), U8(0), + B(JumpLoop), U8(36), I8(0), /* 1567 S> */ B(Wide), B(Ldar), R16(128), /* 1580 S> */ B(Return), ] @@ -1088,7 +1088,7 @@ parameter count: 1 bytecode array length: 85 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 1503 S> */ B(Wide), B(LdaSmi), U16(1234), + /* 1503 S> */ B(Wide), B(LdaSmi), I16(1234), B(Star), R(0), /* 1518 S> */ B(LdaZero), B(Star), R(1), @@ -1111,7 +1111,7 @@ bytecodes: [ B(Star), R(1), /* 1544 E> */ B(Wide), B(ForInStep), R16(161), B(Wide), B(Star), R16(161), - B(JumpLoop), U8(48), U8(0), + B(JumpLoop), U8(48), I8(0), /* 1553 S> */ B(Ldar), R(1), /* 1564 S> */ B(Return), ]