Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 7268eee4dce7d300a2c8ffcf8b7f40d176041076..becc51380f90da75fbaf1e086f0082826b049d97 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -38,6 +38,7 @@ |
#include "src/execution.h" |
#include "src/gdb-jit.h" |
#include "src/global-handles.h" |
+#include "src/globals.h" |
#include "src/icu_util.h" |
#include "src/isolate-inl.h" |
#include "src/json-parser.h" |
@@ -2112,7 +2113,7 @@ MaybeLocal<Function> ScriptCompiler::CompileFunctionInContext( |
i::Handle<i::Object> name_obj; |
int eval_scope_position = 0; |
- int eval_position = i::RelocInfo::kNoPosition; |
+ int eval_position = i::kNoSourcePosition; |
int line_offset = 0; |
int column_offset = 0; |
if (!source->resource_name.IsEmpty()) { |