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. |