From: weiliang.lin@intel.com Date: Tue, 2 Sep 2014 03:43:04 +0000 (+0000) Subject: X87: InterfaceDescriptor becomes CallInterfaceDescriptor. X-Git-Tag: upstream/4.7.83~7235 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d763dfdc9122d6ea57347d7de496ccbaf20793e;p=platform%2Fupstream%2Fv8.git X87: InterfaceDescriptor becomes CallInterfaceDescriptor. port r23560. original commit message: InterfaceDescriptor becomes CallInterfaceDescriptor. There was no difference between these two classes in a hierarchical relationship. BUG= R=weiliang.lin@intel.com Review URL: https://codereview.chromium.org/530903002 Patch from Chunyang Dai . git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23576 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/x87/lithium-x87.cc b/src/x87/lithium-x87.cc index 5204d9b..0ad936e 100644 --- a/src/x87/lithium-x87.cc +++ b/src/x87/lithium-x87.cc @@ -1119,7 +1119,7 @@ LInstruction* LChunkBuilder::DoCallJSFunction( LInstruction* LChunkBuilder::DoCallWithDescriptor( HCallWithDescriptor* instr) { - const InterfaceDescriptor* descriptor = instr->descriptor(); + const CallInterfaceDescriptor* descriptor = instr->descriptor(); LOperand* target = UseRegisterOrConstantAtStart(instr->target()); ZoneList ops(instr->OperandCount(), zone()); ops.Add(target, zone()); diff --git a/src/x87/lithium-x87.h b/src/x87/lithium-x87.h index 56d7c64..6466a73 100644 --- a/src/x87/lithium-x87.h +++ b/src/x87/lithium-x87.h @@ -1906,10 +1906,9 @@ class LCallJSFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> { class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> { public: - LCallWithDescriptor(const InterfaceDescriptor* descriptor, - const ZoneList& operands, - Zone* zone) - : inputs_(descriptor->GetRegisterParameterCount() + 1, zone) { + LCallWithDescriptor(const CallInterfaceDescriptor* descriptor, + const ZoneList& operands, Zone* zone) + : inputs_(descriptor->GetRegisterParameterCount() + 1, zone) { DCHECK(descriptor->GetRegisterParameterCount() + 1 == operands.length()); inputs_.AddAll(operands, zone); }