Index: test/cctest/test-strings.cc |
=================================================================== |
--- test/cctest/test-strings.cc (revision 5696) |
+++ test/cctest/test-strings.cc (working copy) |
@@ -476,7 +476,7 @@ |
CHECK_EQ(results[i]->IsUndefined(), result->IsUndefined()); |
CHECK_EQ(results[i]->IsNumber(), result->IsNumber()); |
if (result->IsNumber()) { |
- CHECK_EQ(Smi::cast(results[i]->ToSmi())->value(), |
+ CHECK_EQ(Smi::cast(results[i]->ToSmi()->ToObjectChecked())->value(), |
result->ToInt32()->Value()); |
} |
} |