| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index ec50f5bdfd2733c3ab9b8d96159c15c2e37e4865..146848f264b3105bbb6eb7427b29c7489f07f8df 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -2321,11 +2321,10 @@ class HCallJSFunction V8_FINAL : public HCall<1> {
|
|
|
| class HCallWithDescriptor V8_FINAL : public HInstruction {
|
| public:
|
| - static HCallWithDescriptor* New(Zone* zone, HValue* context,
|
| - HValue* target,
|
| - int argument_count,
|
| - const InterfaceDescriptor* descriptor,
|
| - const Vector<HValue*>& operands) {
|
| + static HCallWithDescriptor* New(Zone* zone, HValue* context, HValue* target,
|
| + int argument_count,
|
| + const CallInterfaceDescriptor* descriptor,
|
| + const Vector<HValue*>& operands) {
|
| DCHECK(operands.length() == descriptor->GetEnvironmentLength());
|
| HCallWithDescriptor* res =
|
| new(zone) HCallWithDescriptor(target, argument_count,
|
| @@ -2365,9 +2364,7 @@ class HCallWithDescriptor V8_FINAL : public HInstruction {
|
| return -argument_count_;
|
| }
|
|
|
| - const InterfaceDescriptor* descriptor() const {
|
| - return descriptor_;
|
| - }
|
| + const CallInterfaceDescriptor* descriptor() const { return descriptor_; }
|
|
|
| HValue* target() {
|
| return OperandAt(0);
|
| @@ -2377,13 +2374,11 @@ class HCallWithDescriptor V8_FINAL : public HInstruction {
|
|
|
| private:
|
| // The argument count includes the receiver.
|
| - HCallWithDescriptor(HValue* target,
|
| - int argument_count,
|
| - const InterfaceDescriptor* descriptor,
|
| - const Vector<HValue*>& operands,
|
| - Zone* zone)
|
| - : descriptor_(descriptor),
|
| - values_(descriptor->GetEnvironmentLength() + 1, zone) {
|
| + HCallWithDescriptor(HValue* target, int argument_count,
|
| + const CallInterfaceDescriptor* descriptor,
|
| + const Vector<HValue*>& operands, Zone* zone)
|
| + : descriptor_(descriptor),
|
| + values_(descriptor->GetEnvironmentLength() + 1, zone) {
|
| argument_count_ = argument_count;
|
| AddOperand(target, zone);
|
| for (int i = 0; i < operands.length(); i++) {
|
| @@ -2403,7 +2398,7 @@ class HCallWithDescriptor V8_FINAL : public HInstruction {
|
| values_[index] = value;
|
| }
|
|
|
| - const InterfaceDescriptor* descriptor_;
|
| + const CallInterfaceDescriptor* descriptor_;
|
| ZoneList<HValue*> values_;
|
| int argument_count_;
|
| };
|
|
|