| Index: src/mips/lithium-mips.h
|
| diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h
|
| index 1f0776bcbbc1dc6590b9b66bd34f799deab83109..3f18a17927053ddb65466a15ff9a02659782ba6f 100644
|
| --- a/src/mips/lithium-mips.h
|
| +++ b/src/mips/lithium-mips.h
|
| @@ -152,6 +152,7 @@ class LCodeGen;
|
| V(StringCompareAndBranch) \
|
| V(SubI) \
|
| V(TaggedToI) \
|
| + V(TailCallThroughMegamorphicCache) \
|
| V(ThisFunction) \
|
| V(ToFastProperties) \
|
| V(TransitionElementsKind) \
|
| @@ -481,6 +482,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 {
|
|
|