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

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

Issue 1081883002: Remove unnecessary options from HTailCallThroughMegamorphicCache (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. 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/mips64/lithium-mips64.h ('k') | src/x64/lithium-codegen-x64.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 <sstream> 5 #include <sstream>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after
1110 } 1110 }
1111 1111
1112 1112
1113 LInstruction* LChunkBuilder::DoTailCallThroughMegamorphicCache( 1113 LInstruction* LChunkBuilder::DoTailCallThroughMegamorphicCache(
1114 HTailCallThroughMegamorphicCache* instr) { 1114 HTailCallThroughMegamorphicCache* instr) {
1115 LOperand* context = UseFixed(instr->context(), cp); 1115 LOperand* context = UseFixed(instr->context(), cp);
1116 LOperand* receiver_register = 1116 LOperand* receiver_register =
1117 UseFixed(instr->receiver(), LoadDescriptor::ReceiverRegister()); 1117 UseFixed(instr->receiver(), LoadDescriptor::ReceiverRegister());
1118 LOperand* name_register = 1118 LOperand* name_register =
1119 UseFixed(instr->name(), LoadDescriptor::NameRegister()); 1119 UseFixed(instr->name(), LoadDescriptor::NameRegister());
1120 LOperand* slot = NULL;
1121 LOperand* vector = NULL;
1122 if (FLAG_vector_ics) {
1123 slot = UseFixed(instr->slot(), VectorLoadICDescriptor::SlotRegister());
1124 vector =
1125 UseFixed(instr->vector(), VectorLoadICDescriptor::VectorRegister());
1126 }
1127 1120
1128 // Not marked as call. It can't deoptimize, and it never returns. 1121 // Not marked as call. It can't deoptimize, and it never returns.
1129 return new (zone()) LTailCallThroughMegamorphicCache( 1122 return new (zone()) LTailCallThroughMegamorphicCache(
1130 context, receiver_register, name_register, slot, vector); 1123 context, receiver_register, name_register);
1131 } 1124 }
1132 1125
1133 1126
1134 LInstruction* LChunkBuilder::DoInvokeFunction(HInvokeFunction* instr) { 1127 LInstruction* LChunkBuilder::DoInvokeFunction(HInvokeFunction* instr) {
1135 LOperand* context = UseFixed(instr->context(), cp); 1128 LOperand* context = UseFixed(instr->context(), cp);
1136 LOperand* function = UseFixed(instr->function(), a1); 1129 LOperand* function = UseFixed(instr->function(), a1);
1137 LInvokeFunction* result = new(zone()) LInvokeFunction(context, function); 1130 LInvokeFunction* result = new(zone()) LInvokeFunction(context, function);
1138 return MarkAsCall(DefineFixed(result, v0), instr, CANNOT_DEOPTIMIZE_EAGERLY); 1131 return MarkAsCall(DefineFixed(result, v0), instr, CANNOT_DEOPTIMIZE_EAGERLY);
1139 } 1132 }
1140 1133
(...skipping 1464 matching lines...) Expand 10 before | Expand all | Expand 10 after
2605 LOperand* function = UseRegisterAtStart(instr->function()); 2598 LOperand* function = UseRegisterAtStart(instr->function());
2606 LAllocateBlockContext* result = 2599 LAllocateBlockContext* result =
2607 new(zone()) LAllocateBlockContext(context, function); 2600 new(zone()) LAllocateBlockContext(context, function);
2608 return MarkAsCall(DefineFixed(result, cp), instr); 2601 return MarkAsCall(DefineFixed(result, cp), instr);
2609 } 2602 }
2610 2603
2611 2604
2612 } } // namespace v8::internal 2605 } } // namespace v8::internal
2613 2606
2614 #endif // V8_TARGET_ARCH_MIPS64 2607 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/lithium-mips64.h ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698