Index: src/compilation-cache.cc |
diff --git a/src/compilation-cache.cc b/src/compilation-cache.cc |
index 53e2190b2dc144f6b33d86d14a1c1ce4f23e1fb4..af9fbb573499d18df351c01f780b3baa577baf28 100644 |
--- a/src/compilation-cache.cc |
+++ b/src/compilation-cache.cc |
@@ -4,9 +4,9 @@ |
#include "src/compilation-cache.h" |
-#include "src/assembler.h" |
#include "src/counters.h" |
#include "src/factory.h" |
+#include "src/globals.h" |
#include "src/objects-inl.h" |
namespace v8 { |
@@ -308,7 +308,7 @@ MaybeHandle<SharedFunctionInfo> CompilationCache::LookupEval( |
result = |
eval_global_.Lookup(source, outer_info, language_mode, scope_position); |
} else { |
- DCHECK(scope_position != RelocInfo::kNoPosition); |
+ DCHECK(scope_position != kNoSourcePosition); |
result = eval_contextual_.Lookup(source, outer_info, language_mode, |
scope_position); |
} |
@@ -345,7 +345,7 @@ void CompilationCache::PutEval(Handle<String> source, |
if (context->IsNativeContext()) { |
eval_global_.Put(source, outer_info, function_info, scope_position); |
} else { |
- DCHECK(scope_position != RelocInfo::kNoPosition); |
+ DCHECK(scope_position != kNoSourcePosition); |
eval_contextual_.Put(source, outer_info, function_info, scope_position); |
} |
} |