Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 41074d08d31954875ad7f21276d77f8e0d2857d5..de7a27dc516fb89bd305ee7e719dd6909b0366c6 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -14811,7 +14811,7 @@ TEST(PreCompileSerialization) { |
const char* script = "function foo(a) { return a+1; }"; |
v8::ScriptCompiler::Source source(v8_str(script)); |
v8::ScriptCompiler::Compile(isolate, &source, |
- v8::ScriptCompiler::kProduceDataToCache); |
+ v8::ScriptCompiler::kProduceParserCache); |
// Serialize. |
const v8::ScriptCompiler::CachedData* cd = source.GetCachedData(); |
i::byte* serialized_data = i::NewArray<i::byte>(cd->length); |