Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 997103f18f83c40c314f4cc8fc0abdd7873c8662..55880814e81ca14aa94c8c00eccc2151c00d6e64 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -20,6 +20,7 @@ |
#include "src/deoptimizer.h" |
#include "src/frames-inl.h" |
#include "src/full-codegen/full-codegen.h" |
+#include "src/globals.h" |
#include "src/interpreter/interpreter.h" |
#include "src/isolate-inl.h" |
#include "src/log-inl.h" |
@@ -1099,7 +1100,7 @@ Handle<SharedFunctionInfo> CompileToplevel(CompilationInfo* info) { |
TRACE_EVENT0("v8", parse_info->is_eval() ? "V8.CompileEval" : "V8.Compile"); |
// Allocate a shared function info object. |
- DCHECK_EQ(RelocInfo::kNoPosition, lit->function_token_position()); |
+ DCHECK_EQ(kNoSourcePosition, lit->function_token_position()); |
result = NewSharedFunctionInfoForLiteral(isolate, lit, script); |
result->set_is_toplevel(true); |
if (parse_info->is_eval()) { |