Index: src/crankshaft/mips/lithium-mips.h |
diff --git a/src/crankshaft/mips/lithium-mips.h b/src/crankshaft/mips/lithium-mips.h |
index a8279a9a27b2252db3ffb60aecd608f9585de00c..3bc89533b9b23667ac8f50a295fe126b4d29bd16 100644 |
--- a/src/crankshaft/mips/lithium-mips.h |
+++ b/src/crankshaft/mips/lithium-mips.h |
@@ -221,6 +221,13 @@ class LInstruction : public ZoneObject { |
void MarkAsCall() { bit_field_ = IsCallBits::update(bit_field_, true); } |
bool IsCall() const { return IsCallBits::decode(bit_field_); } |
+ void MarkAsSyntacticTailCall() { |
+ bit_field_ = IsSyntacticTailCallBits::update(bit_field_, true); |
+ } |
+ bool IsSyntacticTailCall() const { |
+ return IsSyntacticTailCallBits::decode(bit_field_); |
+ } |
+ |
// Interface to the register allocator and iterators. |
bool ClobbersTemps() const { return IsCall(); } |
bool ClobbersRegisters() const { return IsCall(); } |
@@ -255,6 +262,8 @@ class LInstruction : public ZoneObject { |
virtual LOperand* TempAt(int i) = 0; |
class IsCallBits: public BitField<bool, 0, 1> {}; |
+ class IsSyntacticTailCallBits : public BitField<bool, IsCallBits::kNext, 1> { |
+ }; |
LEnvironment* environment_; |
SetOncePointer<LPointerMap> pointer_map_; |