| Index: src/mips/lithium-mips.h
|
| diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h
|
| index 6964fc5904f4dced91fd5eed41a99ef00aee158f..8c2a00a3dbc0301d09d7664e63a53952860aa6ba 100644
|
| --- a/src/mips/lithium-mips.h
|
| +++ b/src/mips/lithium-mips.h
|
| @@ -1811,18 +1811,18 @@ class LCallJSFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
|
|
| class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> {
|
| public:
|
| - LCallWithDescriptor(const CallInterfaceDescriptor* descriptor,
|
| + LCallWithDescriptor(const InterfaceDescriptor* descriptor,
|
| const ZoneList<LOperand*>& operands,
|
| Zone* zone)
|
| : descriptor_(descriptor),
|
| - inputs_(descriptor->environment_length() + 1, zone) {
|
| - ASSERT(descriptor->environment_length() + 1 == operands.length());
|
| + inputs_(descriptor->GetRegisterParameterCount() + 1, zone) {
|
| + ASSERT(descriptor->GetRegisterParameterCount() + 1 == operands.length());
|
| inputs_.AddAll(operands, zone);
|
| }
|
|
|
| LOperand* target() const { return inputs_[0]; }
|
|
|
| - const CallInterfaceDescriptor* descriptor() { return descriptor_; }
|
| + const InterfaceDescriptor* descriptor() { return descriptor_; }
|
|
|
| private:
|
| DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor")
|
| @@ -1832,7 +1832,7 @@ class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> {
|
|
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
|
|
| - const CallInterfaceDescriptor* descriptor_;
|
| + const InterfaceDescriptor* descriptor_;
|
| ZoneList<LOperand*> inputs_;
|
|
|
| // Iterator support.
|
|
|