Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index da4ab78eb6eaf6caa5a8c94dca7fefdc8dc4ecd2..3bda70cdc68d36c5e1c4d9c6bd1d0c4ea5e5250c 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1260,8 +1260,7 @@ MaybeHandle<JSFunction> Compiler::GetFunctionFromEval( |
} |
script->set_origin_options(options); |
script->set_compilation_type(Script::COMPILATION_TYPE_EVAL); |
- script->set_eval_from_shared(*outer_info); |
- script->set_eval_from_position(eval_position); |
+ Script::SetEvalOrigin(script, outer_info, eval_position); |
Zone zone(isolate->allocator()); |
ParseInfo parse_info(&zone, script); |