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

Unified Diff: src/source-position.h

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/runtime/runtime-debug.cc ('k') | src/typing-asm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/source-position.h
diff --git a/src/source-position.h b/src/source-position.h
index 46ee9820b2cd1fa708ca785ffe03864fb3634795..2d36e97521a9d0fe7673f1b32f8eb8ff71219ee7 100644
--- a/src/source-position.h
+++ b/src/source-position.h
@@ -7,8 +7,8 @@
#include <ostream>
-#include "src/assembler.h"
#include "src/flags.h"
+#include "src/globals.h"
#include "src/utils.h"
namespace v8 {
@@ -49,8 +49,7 @@ class SourcePosition {
uint32_t raw() const { return value_; }
private:
- static const uint32_t kNoPosition =
- static_cast<uint32_t>(RelocInfo::kNoPosition);
+ static const uint32_t kNoPosition = static_cast<uint32_t>(kNoSourcePosition);
typedef BitField<uint32_t, 0, 9> InliningIdField;
// Offset from the start of the inlined function.
« no previous file with comments | « src/runtime/runtime-debug.cc ('k') | src/typing-asm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698