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

Side by Side Diff: src/crankshaft/ia32/lithium-ia32.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/hydrogen.cc ('k') | src/crankshaft/mips/lithium-mips.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/ia32/lithium-ia32.h" 5 #include "src/crankshaft/ia32/lithium-ia32.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_IA32 9 #if V8_TARGET_ARCH_IA32
10 10
(...skipping 2474 matching lines...) Expand 10 before | Expand all | Expand 10 after
2485 } 2485 }
2486 2486
2487 2487
2488 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { 2488 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) {
2489 LParameter* result = new(zone()) LParameter; 2489 LParameter* result = new(zone()) LParameter;
2490 if (instr->kind() == HParameter::STACK_PARAMETER) { 2490 if (instr->kind() == HParameter::STACK_PARAMETER) {
2491 int spill_index = chunk()->GetParameterStackSlot(instr->index()); 2491 int spill_index = chunk()->GetParameterStackSlot(instr->index());
2492 return DefineAsSpilled(result, spill_index); 2492 return DefineAsSpilled(result, spill_index);
2493 } else { 2493 } else {
2494 DCHECK(info()->IsStub()); 2494 DCHECK(info()->IsStub());
2495 CallInterfaceDescriptor descriptor = 2495 CallInterfaceDescriptor descriptor = graph()->descriptor();
2496 info()->code_stub()->GetCallInterfaceDescriptor();
2497 int index = static_cast<int>(instr->index()); 2496 int index = static_cast<int>(instr->index());
2498 Register reg = descriptor.GetRegisterParameter(index); 2497 Register reg = descriptor.GetRegisterParameter(index);
2499 return DefineFixed(result, reg); 2498 return DefineFixed(result, reg);
2500 } 2499 }
2501 } 2500 }
2502 2501
2503 2502
2504 LInstruction* LChunkBuilder::DoUnknownOSRValue(HUnknownOSRValue* instr) { 2503 LInstruction* LChunkBuilder::DoUnknownOSRValue(HUnknownOSRValue* instr) {
2505 // Use an index that corresponds to the location in the unoptimized frame, 2504 // Use an index that corresponds to the location in the unoptimized frame,
2506 // which the optimized frame will subsume. 2505 // which the optimized frame will subsume.
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
2687 LAllocateBlockContext* result = 2686 LAllocateBlockContext* result =
2688 new(zone()) LAllocateBlockContext(context, function); 2687 new(zone()) LAllocateBlockContext(context, function);
2689 return MarkAsCall(DefineFixed(result, esi), instr); 2688 return MarkAsCall(DefineFixed(result, esi), instr);
2690 } 2689 }
2691 2690
2692 2691
2693 } // namespace internal 2692 } // namespace internal
2694 } // namespace v8 2693 } // namespace v8
2695 2694
2696 #endif // V8_TARGET_ARCH_IA32 2695 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/crankshaft/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698