Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 37992fa7e79b24e9eed0b02bca2631ace8decc59..5e0b7b3c7af377f928a4ff1c1871ddf357bfe75c 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -826,7 +826,7 @@ TEST(CustomSnapshotDataBlobWithWarmup) { |
const char* source = |
"function f() { return Math.abs(1); }\n" |
"function g() { return Number.parseInt(1); }\n" |
- "Number.parseFloat(1);" |
+ "Object.valueOf(1);" |
"var a = 5"; |
const char* warmup = "a = f()"; |
@@ -851,7 +851,7 @@ TEST(CustomSnapshotDataBlobWithWarmup) { |
CHECK(IsCompiled("Math.abs")); |
CHECK(!IsCompiled("g")); |
CHECK(!IsCompiled("Number.parseInt")); |
- CHECK(!IsCompiled("Number.parseFloat")); |
+ CHECK(!IsCompiled("Object.valueOf")); |
CHECK_EQ(5, CompileRun("a")->Int32Value(context).FromJust()); |
} |
isolate->Dispose(); |