Index: test/cctest/interpreter/bytecode_expectations/ForOf.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/ForOf.golden b/test/cctest/interpreter/bytecode_expectations/ForOf.golden |
index 892b544ee3519a1381e804418986c7a9b51242e8..5b85b3207e5b93b611cc9bfd25bd8b3f5fda228d 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), |