Index: test/cctest/interpreter/bytecode_expectations/Switch.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/Switch.golden b/test/cctest/interpreter/bytecode_expectations/Switch.golden |
index 7a27134adbf5f97a0ce8090999f32be5b3b36c20..798edd2f7946c4a544b5c83719c50dc2bf4ade12 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/Switch.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/Switch.golden |
@@ -23,11 +23,11 @@ bytecodes: [ |
B(Star), R(0), |
B(Star), R(1), |
/* 45 S> */ B(LdaSmi), U8(1), |
- B(TestEqualStrict), R(1), U8(1), |
+ B(TestEqualStrict), R(1), U8(2), |
B(Mov), R(0), R(2), |
B(JumpIfToBooleanTrue), U8(11), |
B(LdaSmi), U8(2), |
- B(TestEqualStrict), R(2), U8(2), |
+ B(TestEqualStrict), R(2), U8(3), |
B(JumpIfTrue), U8(7), |
B(Jump), U8(8), |
/* 66 S> */ B(LdaSmi), U8(2), |
@@ -59,11 +59,11 @@ bytecodes: [ |
B(Star), R(0), |
B(Star), R(1), |
/* 45 S> */ B(LdaSmi), U8(1), |
- B(TestEqualStrict), R(1), U8(1), |
+ B(TestEqualStrict), R(1), U8(2), |
B(Mov), R(0), R(2), |
B(JumpIfToBooleanTrue), U8(11), |
B(LdaSmi), U8(2), |
- B(TestEqualStrict), R(2), U8(2), |
+ B(TestEqualStrict), R(2), U8(3), |
B(JumpIfTrue), U8(10), |
B(Jump), U8(14), |
/* 66 S> */ B(LdaSmi), U8(2), |
@@ -97,11 +97,11 @@ bytecodes: [ |
B(Star), R(0), |
B(Star), R(1), |
/* 45 S> */ B(LdaSmi), U8(1), |
- B(TestEqualStrict), R(1), U8(1), |
+ B(TestEqualStrict), R(1), U8(2), |
B(Mov), R(0), R(2), |
B(JumpIfToBooleanTrue), U8(11), |
B(LdaSmi), U8(2), |
- B(TestEqualStrict), R(2), U8(2), |
+ B(TestEqualStrict), R(2), U8(3), |
B(JumpIfTrue), U8(8), |
B(Jump), U8(12), |
/* 66 S> */ B(LdaSmi), U8(2), |
@@ -135,11 +135,11 @@ bytecodes: [ |
B(Star), R(0), |
B(Star), R(1), |
/* 45 S> */ B(LdaSmi), U8(2), |
- B(TestEqualStrict), R(1), U8(1), |
+ B(TestEqualStrict), R(1), U8(2), |
B(Mov), R(0), R(2), |
B(JumpIfToBooleanTrue), U8(11), |
B(LdaSmi), U8(3), |
- B(TestEqualStrict), R(2), U8(2), |
+ B(TestEqualStrict), R(2), U8(3), |
B(JumpIfTrue), U8(6), |
B(Jump), U8(6), |
/* 66 S> */ B(Jump), U8(10), |
@@ -174,11 +174,11 @@ bytecodes: [ |
/* 42 E> */ B(TypeOf), |
B(Star), R(1), |
/* 45 S> */ B(LdaSmi), U8(2), |
- B(TestEqualStrict), R(1), U8(1), |
+ B(TestEqualStrict), R(1), U8(2), |
B(Mov), R(1), R(2), |
B(JumpIfToBooleanTrue), U8(11), |
B(LdaSmi), U8(3), |
- B(TestEqualStrict), R(2), U8(2), |
+ B(TestEqualStrict), R(2), U8(3), |
B(JumpIfTrue), U8(10), |
B(Jump), U8(14), |
/* 74 S> */ B(LdaSmi), U8(1), |
@@ -215,7 +215,7 @@ bytecodes: [ |
B(Star), R(0), |
B(Star), R(1), |
/* 45 S> */ B(TypeOf), |
- B(TestEqualStrict), R(1), U8(1), |
+ B(TestEqualStrict), R(1), U8(2), |
B(Mov), R(0), R(2), |
B(JumpIfToBooleanTrue), U8(4), |
B(Jump), U8(8), |
@@ -317,11 +317,11 @@ bytecodes: [ |
B(Star), R(0), |
B(Star), R(1), |
/* 45 S> */ B(LdaSmi), U8(1), |
- B(TestEqualStrict), R(1), U8(1), |
+ B(TestEqualStrict), R(1), U8(2), |
B(Mov), R(0), R(2), |
B(JumpIfToBooleanTrue), U8(11), |
B(LdaSmi), U8(2), |
- B(TestEqualStrict), R(2), U8(2), |
+ B(TestEqualStrict), R(2), U8(3), |
B(JumpIfTrueConstant), U8(0), |
B(JumpConstant), U8(1), |
/* 68 S> */ B(LdaSmi), U8(2), |
@@ -487,17 +487,17 @@ bytecodes: [ |
B(Star), R(0), |
B(Star), R(2), |
/* 45 S> */ B(LdaSmi), U8(1), |
- B(TestEqualStrict), R(2), U8(4), |
+ B(TestEqualStrict), R(2), U8(5), |
B(Mov), R(0), R(3), |
B(JumpIfToBooleanTrue), U8(11), |
B(LdaSmi), U8(2), |
- B(TestEqualStrict), R(3), U8(5), |
+ B(TestEqualStrict), R(3), U8(6), |
B(JumpIfTrue), U8(34), |
B(Jump), U8(36), |
- /* 77 E> */ B(AddSmi), U8(1), R(0), U8(1), |
+ /* 77 E> */ B(AddSmi), U8(1), R(0), U8(2), |
B(Star), R(1), |
/* 70 S> */ B(LdaSmi), U8(2), |
- B(TestEqualStrict), R(1), U8(2), |
+ B(TestEqualStrict), R(1), U8(3), |
B(Mov), R(1), R(4), |
B(JumpIfToBooleanTrue), U8(4), |
B(Jump), U8(8), |