Index: src/crankshaft/lithium-codegen.cc |
diff --git a/src/crankshaft/lithium-codegen.cc b/src/crankshaft/lithium-codegen.cc |
index c2401b2400d50c58753a2126397a3a17c57b8bbd..0f7c511dc14e4927ff013e0512eafeb9d0ee8109 100644 |
--- a/src/crankshaft/lithium-codegen.cc |
+++ b/src/crankshaft/lithium-codegen.cc |
@@ -37,6 +37,8 @@ |
#error Unsupported target architecture. |
#endif |
+#include "src/globals.h" |
+ |
namespace v8 { |
namespace internal { |
@@ -137,7 +139,7 @@ void LCodeGenBase::CheckEnvironmentUsage() { |
} |
void LCodeGenBase::RecordAndWritePosition(int pos) { |
- if (pos == RelocInfo::kNoPosition) return; |
+ if (pos == kNoSourcePosition) return; |
source_position_table_builder_.AddPosition(masm_->pc_offset(), pos, false); |
} |