| Index: src/x87/lithium-x87.h
|
| diff --git a/src/x87/lithium-x87.h b/src/x87/lithium-x87.h
|
| index ebf463f7e60efa35a3a71f77af905ca9a5ba0001..245af490d3bab14254b7a38d82df42fd4d80fa16 100644
|
| --- a/src/x87/lithium-x87.h
|
| +++ b/src/x87/lithium-x87.h
|
| @@ -1878,11 +1878,11 @@ 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)
|
| - : 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);
|
| }
|
|
|
|
|