Index: src/mips64/lithium-mips64.h |
diff --git a/src/mips64/lithium-mips64.h b/src/mips64/lithium-mips64.h |
index 13f351ea908e0a1ef961a416b21ea2011912e468..464cfa95ad7aaa1ece79c786e538231f5fc49186 100644 |
--- a/src/mips64/lithium-mips64.h |
+++ b/src/mips64/lithium-mips64.h |
@@ -151,6 +151,7 @@ class LCodeGen; |
V(StringCompareAndBranch) \ |
V(SubI) \ |
V(TaggedToI) \ |
+ V(TailCallThroughMegamorphicCache) \ |
V(ThisFunction) \ |
V(ToFastProperties) \ |
V(TransitionElementsKind) \ |
@@ -480,6 +481,27 @@ class LCallStub FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
+class LTailCallThroughMegamorphicCache FINAL |
+ : public LTemplateInstruction<0, 3, 0> { |
+ public: |
+ explicit LTailCallThroughMegamorphicCache(LOperand* context, |
+ LOperand* receiver, |
+ LOperand* name) { |
+ inputs_[0] = context; |
+ inputs_[1] = receiver; |
+ inputs_[2] = name; |
+ } |
+ |
+ LOperand* context() { return inputs_[0]; } |
+ LOperand* receiver() { return inputs_[1]; } |
+ LOperand* name() { return inputs_[2]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, |
+ "tail-call-through-megamorphic-cache") |
+ DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) |
+}; |
+ |
+ |
class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { |
public: |
virtual bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { |