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

Side by Side Diff: src/arm/lithium-arm.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/arm/lithium-arm.h ('k') | src/arm64/interface-descriptors-arm64.cc » ('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 #include "src/arm/lithium-codegen-arm.h" 7 #include "src/arm/lithium-codegen-arm.h"
8 #include "src/hydrogen-osr.h" 8 #include "src/hydrogen-osr.h"
9 #include "src/lithium-inl.h" 9 #include "src/lithium-inl.h"
10 10
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
1075 LOperand* function = UseFixed(instr->function(), r1); 1075 LOperand* function = UseFixed(instr->function(), r1);
1076 1076
1077 LCallJSFunction* result = new(zone()) LCallJSFunction(function); 1077 LCallJSFunction* result = new(zone()) LCallJSFunction(function);
1078 1078
1079 return MarkAsCall(DefineFixed(result, r0), instr); 1079 return MarkAsCall(DefineFixed(result, r0), instr);
1080 } 1080 }
1081 1081
1082 1082
1083 LInstruction* LChunkBuilder::DoCallWithDescriptor( 1083 LInstruction* LChunkBuilder::DoCallWithDescriptor(
1084 HCallWithDescriptor* instr) { 1084 HCallWithDescriptor* instr) {
1085 const InterfaceDescriptor* descriptor = instr->descriptor(); 1085 const CallInterfaceDescriptor* descriptor = instr->descriptor();
1086 1086
1087 LOperand* target = UseRegisterOrConstantAtStart(instr->target()); 1087 LOperand* target = UseRegisterOrConstantAtStart(instr->target());
1088 ZoneList<LOperand*> ops(instr->OperandCount(), zone()); 1088 ZoneList<LOperand*> ops(instr->OperandCount(), zone());
1089 ops.Add(target, zone()); 1089 ops.Add(target, zone());
1090 for (int i = 1; i < instr->OperandCount(); i++) { 1090 for (int i = 1; i < instr->OperandCount(); i++) {
1091 LOperand* op = UseFixed(instr->OperandAt(i), 1091 LOperand* op = UseFixed(instr->OperandAt(i),
1092 descriptor->GetParameterRegister(i - 1)); 1092 descriptor->GetParameterRegister(i - 1));
1093 ops.Add(op, zone()); 1093 ops.Add(op, zone());
1094 } 1094 }
1095 1095
(...skipping 1528 matching lines...) Expand 10 before | Expand all | Expand 10 after
2624 LInstruction* LChunkBuilder::DoAllocateBlockContext( 2624 LInstruction* LChunkBuilder::DoAllocateBlockContext(
2625 HAllocateBlockContext* instr) { 2625 HAllocateBlockContext* instr) {
2626 LOperand* context = UseFixed(instr->context(), cp); 2626 LOperand* context = UseFixed(instr->context(), cp);
2627 LOperand* function = UseRegisterAtStart(instr->function()); 2627 LOperand* function = UseRegisterAtStart(instr->function());
2628 LAllocateBlockContext* result = 2628 LAllocateBlockContext* result =
2629 new(zone()) LAllocateBlockContext(context, function); 2629 new(zone()) LAllocateBlockContext(context, function);
2630 return MarkAsCall(DefineFixed(result, cp), instr); 2630 return MarkAsCall(DefineFixed(result, cp), instr);
2631 } 2631 }
2632 2632
2633 } } // namespace v8::internal 2633 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm64/interface-descriptors-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698