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

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

Issue 1604543002: [compiler] Remove CodeStub from CompilationInfo (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 4 years, 11 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/crankshaft/mips/lithium-mips.cc ('k') | src/crankshaft/ppc/lithium-ppc.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/crankshaft/mips64/lithium-mips64.h" 5 #include "src/crankshaft/mips64/lithium-mips64.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 2383 matching lines...) Expand 10 before | Expand all | Expand 10 after
2394 } 2394 }
2395 2395
2396 2396
2397 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { 2397 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) {
2398 LParameter* result = new(zone()) LParameter; 2398 LParameter* result = new(zone()) LParameter;
2399 if (instr->kind() == HParameter::STACK_PARAMETER) { 2399 if (instr->kind() == HParameter::STACK_PARAMETER) {
2400 int spill_index = chunk()->GetParameterStackSlot(instr->index()); 2400 int spill_index = chunk()->GetParameterStackSlot(instr->index());
2401 return DefineAsSpilled(result, spill_index); 2401 return DefineAsSpilled(result, spill_index);
2402 } else { 2402 } else {
2403 DCHECK(info()->IsStub()); 2403 DCHECK(info()->IsStub());
2404 CallInterfaceDescriptor descriptor = 2404 CallInterfaceDescriptor descriptor = graph()->descriptor();
2405 info()->code_stub()->GetCallInterfaceDescriptor();
2406 int index = static_cast<int>(instr->index()); 2405 int index = static_cast<int>(instr->index());
2407 Register reg = descriptor.GetRegisterParameter(index); 2406 Register reg = descriptor.GetRegisterParameter(index);
2408 return DefineFixed(result, reg); 2407 return DefineFixed(result, reg);
2409 } 2408 }
2410 } 2409 }
2411 2410
2412 2411
2413 LInstruction* LChunkBuilder::DoUnknownOSRValue(HUnknownOSRValue* instr) { 2412 LInstruction* LChunkBuilder::DoUnknownOSRValue(HUnknownOSRValue* instr) {
2414 // Use an index that corresponds to the location in the unoptimized frame, 2413 // Use an index that corresponds to the location in the unoptimized frame,
2415 // which the optimized frame will subsume. 2414 // which the optimized frame will subsume.
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
2582 LAllocateBlockContext* result = 2581 LAllocateBlockContext* result =
2583 new(zone()) LAllocateBlockContext(context, function); 2582 new(zone()) LAllocateBlockContext(context, function);
2584 return MarkAsCall(DefineFixed(result, cp), instr); 2583 return MarkAsCall(DefineFixed(result, cp), instr);
2585 } 2584 }
2586 2585
2587 2586
2588 } // namespace internal 2587 } // namespace internal
2589 } // namespace v8 2588 } // namespace v8
2590 2589
2591 #endif // V8_TARGET_ARCH_MIPS64 2590 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/crankshaft/mips/lithium-mips.cc ('k') | src/crankshaft/ppc/lithium-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698