Index: test/cctest/interpreter/bytecode-expectations-printer.cc |
diff --git a/test/cctest/interpreter/bytecode-expectations-printer.cc b/test/cctest/interpreter/bytecode-expectations-printer.cc |
index 8f34308ee0e839ead35ce31ec9d5726a47f77924..dcc4883058960d6c4273ce05fa3b88945d8c565e 100644 |
--- a/test/cctest/interpreter/bytecode-expectations-printer.cc |
+++ b/test/cctest/interpreter/bytecode-expectations-printer.cc |
@@ -70,7 +70,11 @@ v8::Local<v8::Script> BytecodeExpectationsPrinter::CompileScript( |
v8::Local<v8::Module> BytecodeExpectationsPrinter::CompileModule( |
const char* program) const { |
- v8::ScriptCompiler::Source source(V8StringFromUTF8(program)); |
+ ScriptOrigin origin( |
+ Local<v8::Value>(), Local<v8::Integer>(), Local<v8::Integer>(), |
+ Local<v8::Boolean>(), Local<v8::Integer>(), Local<v8::Value>(), |
+ Local<v8::Boolean>(), Local<v8::Boolean>(), True(isolate_)); |
+ v8::ScriptCompiler::Source source(V8StringFromUTF8(program), origin); |
return v8::ScriptCompiler::CompileModule(isolate_, &source).ToLocalChecked(); |
} |