Index: src/arm64/lithium-arm64.h |
diff --git a/src/arm64/lithium-arm64.h b/src/arm64/lithium-arm64.h |
index f7be2ed4967843feea51c88a0e210e1832ca6bf7..771b625ecf8698c7dc44ec42c2d9a91af2f13d40 100644 |
--- a/src/arm64/lithium-arm64.h |
+++ b/src/arm64/lithium-arm64.h |
@@ -1519,18 +1519,18 @@ class LInteger32ToDouble 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") |
@@ -1540,7 +1540,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. |