Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: src/compilation-cache.cc

Issue 2109773004: Move RelocInfo::kNoPosition. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@removedead
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/builtins.cc ('k') | src/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « src/builtins.cc ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698