Index: test/cctest/interpreter/bytecode_expectations/Generators.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/Generators.golden b/test/cctest/interpreter/bytecode_expectations/Generators.golden |
index 1c9be825cb4317cb29dbacc184d06f6b26827836..31252c95daf0bcec1db20eb7d693a54612eb682e 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), |