Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 1ac37fb6d3b870af7eb0f696ee8a9fe047f125c0..95b8ddebf3e857bba3af09053494c16e7551397a 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -815,7 +815,7 @@ TEST(SnapshotDataBlobWithWarmup) { |
// Running the warmup script has effect on whether functions are |
// pre-compiled, but does not pollute the context. |
CHECK(IsCompiled("Math.abs")); |
- CHECK(!IsCompiled("Number.parseInt")); |
+ CHECK(!IsCompiled("String.raw")); |
CHECK(CompileRun("Math.random")->IsFunction()); |
} |
isolate->Dispose(); |
@@ -825,7 +825,7 @@ TEST(CustomSnapshotDataBlobWithWarmup) { |
DisableTurbofan(); |
const char* source = |
"function f() { return Math.abs(1); }\n" |
- "function g() { return Number.parseInt(1); }\n" |
+ "function g() { return String.raw(1); }\n" |
"Object.valueOf(1);" |
"var a = 5"; |
const char* warmup = "a = f()"; |
@@ -850,7 +850,7 @@ TEST(CustomSnapshotDataBlobWithWarmup) { |
CHECK(IsCompiled("f")); |
CHECK(IsCompiled("Math.abs")); |
CHECK(!IsCompiled("g")); |
- CHECK(!IsCompiled("Number.parseInt")); |
+ CHECK(!IsCompiled("String.raw")); |
CHECK(!IsCompiled("Object.valueOf")); |
CHECK_EQ(5, CompileRun("a")->Int32Value(context).FromJust()); |
} |