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

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

Issue 1088573002: PPC: Remove unnecessary options from HTailCallThroughMegamorphicCache (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « src/ppc/lithium-ppc.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 <sstream> 5 #include <sstream>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/hydrogen-osr.h" 9 #include "src/hydrogen-osr.h"
10 #include "src/lithium-inl.h" 10 #include "src/lithium-inl.h"
(...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1111 } 1111 }
1112 1112
1113 1113
1114 LInstruction* LChunkBuilder::DoTailCallThroughMegamorphicCache( 1114 LInstruction* LChunkBuilder::DoTailCallThroughMegamorphicCache(
1115 HTailCallThroughMegamorphicCache* instr) { 1115 HTailCallThroughMegamorphicCache* instr) {
1116 LOperand* context = UseFixed(instr->context(), cp); 1116 LOperand* context = UseFixed(instr->context(), cp);
1117 LOperand* receiver_register = 1117 LOperand* receiver_register =
1118 UseFixed(instr->receiver(), LoadDescriptor::ReceiverRegister()); 1118 UseFixed(instr->receiver(), LoadDescriptor::ReceiverRegister());
1119 LOperand* name_register = 1119 LOperand* name_register =
1120 UseFixed(instr->name(), LoadDescriptor::NameRegister()); 1120 UseFixed(instr->name(), LoadDescriptor::NameRegister());
1121 LOperand* slot = NULL;
1122 LOperand* vector = NULL;
1123 if (FLAG_vector_ics) {
1124 slot = UseFixed(instr->slot(), VectorLoadICDescriptor::SlotRegister());
1125 vector =
1126 UseFixed(instr->vector(), VectorLoadICDescriptor::VectorRegister());
1127 }
1128 1121
1129 // Not marked as call. It can't deoptimize, and it never returns. 1122 // Not marked as call. It can't deoptimize, and it never returns.
1130 return new (zone()) LTailCallThroughMegamorphicCache( 1123 return new (zone()) LTailCallThroughMegamorphicCache(
1131 context, receiver_register, name_register, slot, vector); 1124 context, receiver_register, name_register);
1132 } 1125 }
1133 1126
1134 1127
1135 LInstruction* LChunkBuilder::DoInvokeFunction(HInvokeFunction* instr) { 1128 LInstruction* LChunkBuilder::DoInvokeFunction(HInvokeFunction* instr) {
1136 LOperand* context = UseFixed(instr->context(), cp); 1129 LOperand* context = UseFixed(instr->context(), cp);
1137 LOperand* function = UseFixed(instr->function(), r4); 1130 LOperand* function = UseFixed(instr->function(), r4);
1138 LInvokeFunction* result = new (zone()) LInvokeFunction(context, function); 1131 LInvokeFunction* result = new (zone()) LInvokeFunction(context, function);
1139 return MarkAsCall(DefineFixed(result, r3), instr, CANNOT_DEOPTIMIZE_EAGERLY); 1132 return MarkAsCall(DefineFixed(result, r3), instr, CANNOT_DEOPTIMIZE_EAGERLY);
1140 } 1133 }
1141 1134
(...skipping 1464 matching lines...) Expand 10 before | Expand all | Expand 10 after
2606 LInstruction* LChunkBuilder::DoAllocateBlockContext( 2599 LInstruction* LChunkBuilder::DoAllocateBlockContext(
2607 HAllocateBlockContext* instr) { 2600 HAllocateBlockContext* instr) {
2608 LOperand* context = UseFixed(instr->context(), cp); 2601 LOperand* context = UseFixed(instr->context(), cp);
2609 LOperand* function = UseRegisterAtStart(instr->function()); 2602 LOperand* function = UseRegisterAtStart(instr->function());
2610 LAllocateBlockContext* result = 2603 LAllocateBlockContext* result =
2611 new (zone()) LAllocateBlockContext(context, function); 2604 new (zone()) LAllocateBlockContext(context, function);
2612 return MarkAsCall(DefineFixed(result, cp), instr); 2605 return MarkAsCall(DefineFixed(result, cp), instr);
2613 } 2606 }
2614 } 2607 }
2615 } // namespace v8::internal 2608 } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ppc/lithium-ppc.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698