Index: test/cctest/compiler/test-run-machops.cc |
diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc |
index 06885a4921431fb571f6dccaebeae2b150845f98..bfb8cb18787b6ec8ab7d36e48cace1dcd6f19a29 100644 |
--- a/test/cctest/compiler/test-run-machops.cc |
+++ b/test/cctest/compiler/test-run-machops.cc |
@@ -2511,7 +2511,9 @@ static void RunLoadImmIndex(MachineRepresentation rep) { |
Node* index = m.Int32Constant((offset + i) * sizeof(buffer[0])); |
m.Return(m.Load(rep, base, index)); |
- CHECK_EQ(static_cast<Type>(buffer[i]), m.Call()); |
+ Type expected = buffer[i]; |
+ Type actual = static_cast<CType>(m.Call()); |
+ CHECK_EQ(expected, actual); |
printf("XXX\n"); |
} |
} |