Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index d166c2a14baef9cf3d3426a622c2f344cb83a30b..2d9e52a8e3e23de7e30c25f766cb43b58aec5b39 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -35,8 +35,6 @@ |
namespace v8 { |
namespace internal { |
-static const int kPrologueOffsetNotSet = -1; |
- |
class ScriptDataImpl; |
class HydrogenCodeStub; |
@@ -269,12 +267,12 @@ class CompilationInfo { |
void set_bailout_reason(BailoutReason reason) { bailout_reason_ = reason; } |
int prologue_offset() const { |
- ASSERT_NE(kPrologueOffsetNotSet, prologue_offset_); |
+ ASSERT_NE(Code::kPrologueOffsetNotSet, prologue_offset_); |
return prologue_offset_; |
} |
void set_prologue_offset(int prologue_offset) { |
- ASSERT_EQ(kPrologueOffsetNotSet, prologue_offset_); |
+ ASSERT_EQ(Code::kPrologueOffsetNotSet, prologue_offset_); |
prologue_offset_ = prologue_offset; |
} |