Index: test/unittests/interpreter/bytecodes-unittest.cc |
diff --git a/test/unittests/interpreter/bytecodes-unittest.cc b/test/unittests/interpreter/bytecodes-unittest.cc |
index 9125175179e97e142b48f8063ece5fb538fbf4fb..73b4187a9dcea78799c0e1c9cad9f659bedffa14 100644 |
--- a/test/unittests/interpreter/bytecodes-unittest.cc |
+++ b/test/unittests/interpreter/bytecodes-unittest.cc |
@@ -182,21 +182,21 @@ TEST(Bytecodes, DecodeBytecodeAndOperands) { |
}; |
const BytecodesAndResult cases[] = { |
- {{B(LdaSmi), U8(0x01)}, 2, 0, " LdaSmi [1]"}, |
+ {{B(LdaSmi), U8(1)}, 2, 0, " LdaSmi [1]"}, |
{{B(Wide), B(LdaSmi), U16(1000)}, 4, 0, " LdaSmi.Wide [1000]"}, |
{{B(ExtraWide), B(LdaSmi), U32(100000)}, |
6, |
0, |
"LdaSmi.ExtraWide [100000]"}, |
- {{B(LdaSmi), 0xff}, 2, 0, " LdaSmi [-1]"}, |
- {{B(Wide), B(LdaSmi), 0x18, 0xfc}, 4, 0, " LdaSmi.Wide [-1000]"}, |
+ {{B(LdaSmi), U8(-1)}, 2, 0, " LdaSmi [-1]"}, |
+ {{B(Wide), B(LdaSmi), U16(-1000)}, 4, 0, " LdaSmi.Wide [-1000]"}, |
{{B(ExtraWide), B(LdaSmi), U32(-100000)}, |
6, |
0, |
"LdaSmi.ExtraWide [-100000]"}, |
{{B(Star), R8(5)}, 2, 0, " Star r5"}, |
{{B(Wide), B(Star), R16(136)}, 4, 0, " Star.Wide r136"}, |
- {{B(Wide), B(Call), R16(134), R16(135), U16(0x02), U16(177)}, |
+ {{B(Wide), B(Call), R16(134), R16(135), U16(2), U16(177)}, |
10, |
0, |
"Call.Wide r134, r135, #2, [177]"}, |