Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: src/ia32/lithium-ia32.cc

Issue 532473002: InterfaceDescriptor becomes CallInterfaceDescriptor. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ports. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/interface-descriptors.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_IA32 7 #if V8_TARGET_ARCH_IA32
8 8
9 #include "src/hydrogen-osr.h" 9 #include "src/hydrogen-osr.h"
10 #include "src/ia32/lithium-codegen-ia32.h" 10 #include "src/ia32/lithium-codegen-ia32.h"
(...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 LOperand* function = UseFixed(instr->function(), edi); 1117 LOperand* function = UseFixed(instr->function(), edi);
1118 1118
1119 LCallJSFunction* result = new(zone()) LCallJSFunction(function); 1119 LCallJSFunction* result = new(zone()) LCallJSFunction(function);
1120 1120
1121 return MarkAsCall(DefineFixed(result, eax), instr, CANNOT_DEOPTIMIZE_EAGERLY); 1121 return MarkAsCall(DefineFixed(result, eax), instr, CANNOT_DEOPTIMIZE_EAGERLY);
1122 } 1122 }
1123 1123
1124 1124
1125 LInstruction* LChunkBuilder::DoCallWithDescriptor( 1125 LInstruction* LChunkBuilder::DoCallWithDescriptor(
1126 HCallWithDescriptor* instr) { 1126 HCallWithDescriptor* instr) {
1127 const InterfaceDescriptor* descriptor = instr->descriptor(); 1127 const CallInterfaceDescriptor* descriptor = instr->descriptor();
1128 LOperand* target = UseRegisterOrConstantAtStart(instr->target()); 1128 LOperand* target = UseRegisterOrConstantAtStart(instr->target());
1129 ZoneList<LOperand*> ops(instr->OperandCount(), zone()); 1129 ZoneList<LOperand*> ops(instr->OperandCount(), zone());
1130 ops.Add(target, zone()); 1130 ops.Add(target, zone());
1131 for (int i = 1; i < instr->OperandCount(); i++) { 1131 for (int i = 1; i < instr->OperandCount(); i++) {
1132 LOperand* op = UseFixed(instr->OperandAt(i), 1132 LOperand* op = UseFixed(instr->OperandAt(i),
1133 descriptor->GetParameterRegister(i - 1)); 1133 descriptor->GetParameterRegister(i - 1));
1134 ops.Add(op, zone()); 1134 ops.Add(op, zone());
1135 } 1135 }
1136 1136
1137 LCallWithDescriptor* result = new(zone()) LCallWithDescriptor( 1137 LCallWithDescriptor* result = new(zone()) LCallWithDescriptor(
(...skipping 1563 matching lines...) Expand 10 before | Expand all | Expand 10 after
2701 LOperand* function = UseRegisterAtStart(instr->function()); 2701 LOperand* function = UseRegisterAtStart(instr->function());
2702 LAllocateBlockContext* result = 2702 LAllocateBlockContext* result =
2703 new(zone()) LAllocateBlockContext(context, function); 2703 new(zone()) LAllocateBlockContext(context, function);
2704 return MarkAsCall(DefineFixed(result, esi), instr); 2704 return MarkAsCall(DefineFixed(result, esi), instr);
2705 } 2705 }
2706 2706
2707 2707
2708 } } // namespace v8::internal 2708 } } // namespace v8::internal
2709 2709
2710 #endif // V8_TARGET_ARCH_IA32 2710 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/interface-descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698