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

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

Issue 1129853002: Removing FLAG_vector_ics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Comment response. Created 5 years, 7 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/ia32/lithium-ia32.h ('k') | src/ic/access-compiler.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 <sstream> 5 #include <sstream>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_IA32 9 #if V8_TARGET_ARCH_IA32
10 10
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 UseFixed(instr->OperandAt(i), descriptor.GetParameterRegister(i - 1)); 1139 UseFixed(instr->OperandAt(i), descriptor.GetParameterRegister(i - 1));
1140 ops.Add(op, zone()); 1140 ops.Add(op, zone());
1141 } 1141 }
1142 1142
1143 LCallWithDescriptor* result = new(zone()) LCallWithDescriptor( 1143 LCallWithDescriptor* result = new(zone()) LCallWithDescriptor(
1144 descriptor, ops, zone()); 1144 descriptor, ops, zone());
1145 return MarkAsCall(DefineFixed(result, eax), instr, CANNOT_DEOPTIMIZE_EAGERLY); 1145 return MarkAsCall(DefineFixed(result, eax), instr, CANNOT_DEOPTIMIZE_EAGERLY);
1146 } 1146 }
1147 1147
1148 1148
1149 LInstruction* LChunkBuilder::DoTailCallThroughMegamorphicCache(
1150 HTailCallThroughMegamorphicCache* instr) {
1151 LOperand* context = UseFixed(instr->context(), esi);
1152 LOperand* receiver_register =
1153 UseFixed(instr->receiver(), LoadDescriptor::ReceiverRegister());
1154 LOperand* name_register =
1155 UseFixed(instr->name(), LoadDescriptor::NameRegister());
1156
1157 // Not marked as call. It can't deoptimize, and it never returns.
1158 return new (zone()) LTailCallThroughMegamorphicCache(
1159 context, receiver_register, name_register);
1160 }
1161
1162
1163 LInstruction* LChunkBuilder::DoInvokeFunction(HInvokeFunction* instr) { 1149 LInstruction* LChunkBuilder::DoInvokeFunction(HInvokeFunction* instr) {
1164 LOperand* context = UseFixed(instr->context(), esi); 1150 LOperand* context = UseFixed(instr->context(), esi);
1165 LOperand* function = UseFixed(instr->function(), edi); 1151 LOperand* function = UseFixed(instr->function(), edi);
1166 LInvokeFunction* result = new(zone()) LInvokeFunction(context, function); 1152 LInvokeFunction* result = new(zone()) LInvokeFunction(context, function);
1167 return MarkAsCall(DefineFixed(result, eax), instr, CANNOT_DEOPTIMIZE_EAGERLY); 1153 return MarkAsCall(DefineFixed(result, eax), instr, CANNOT_DEOPTIMIZE_EAGERLY);
1168 } 1154 }
1169 1155
1170 1156
1171 LInstruction* LChunkBuilder::DoUnaryMathOperation(HUnaryMathOperation* instr) { 1157 LInstruction* LChunkBuilder::DoUnaryMathOperation(HUnaryMathOperation* instr) {
1172 switch (instr->op()) { 1158 switch (instr->op()) {
(...skipping 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after
2745 LOperand* function = UseRegisterAtStart(instr->function()); 2731 LOperand* function = UseRegisterAtStart(instr->function());
2746 LAllocateBlockContext* result = 2732 LAllocateBlockContext* result =
2747 new(zone()) LAllocateBlockContext(context, function); 2733 new(zone()) LAllocateBlockContext(context, function);
2748 return MarkAsCall(DefineFixed(result, esi), instr); 2734 return MarkAsCall(DefineFixed(result, esi), instr);
2749 } 2735 }
2750 2736
2751 2737
2752 } } // namespace v8::internal 2738 } } // namespace v8::internal
2753 2739
2754 #endif // V8_TARGET_ARCH_IA32 2740 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/ic/access-compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698