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

Side by Side Diff: src/crankshaft/arm/lithium-arm.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/compiler/wasm-compiler.cc ('k') | src/crankshaft/arm64/lithium-arm64.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/arm/lithium-arm.h" 5 #include "src/crankshaft/arm/lithium-arm.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/arm/lithium-codegen-arm.h" 9 #include "src/crankshaft/arm/lithium-codegen-arm.h"
10 #include "src/crankshaft/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 2431 matching lines...) Expand 10 before | Expand all | Expand 10 after
2442 } 2442 }
2443 2443
2444 2444
2445 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { 2445 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) {
2446 LParameter* result = new(zone()) LParameter; 2446 LParameter* result = new(zone()) LParameter;
2447 if (instr->kind() == HParameter::STACK_PARAMETER) { 2447 if (instr->kind() == HParameter::STACK_PARAMETER) {
2448 int spill_index = chunk()->GetParameterStackSlot(instr->index()); 2448 int spill_index = chunk()->GetParameterStackSlot(instr->index());
2449 return DefineAsSpilled(result, spill_index); 2449 return DefineAsSpilled(result, spill_index);
2450 } else { 2450 } else {
2451 DCHECK(info()->IsStub()); 2451 DCHECK(info()->IsStub());
2452 CallInterfaceDescriptor descriptor = 2452 CallInterfaceDescriptor descriptor = graph()->descriptor();
2453 info()->code_stub()->GetCallInterfaceDescriptor();
2454 int index = static_cast<int>(instr->index()); 2453 int index = static_cast<int>(instr->index());
2455 Register reg = descriptor.GetRegisterParameter(index); 2454 Register reg = descriptor.GetRegisterParameter(index);
2456 return DefineFixed(result, reg); 2455 return DefineFixed(result, reg);
2457 } 2456 }
2458 } 2457 }
2459 2458
2460 2459
2461 LInstruction* LChunkBuilder::DoUnknownOSRValue(HUnknownOSRValue* instr) { 2460 LInstruction* LChunkBuilder::DoUnknownOSRValue(HUnknownOSRValue* instr) {
2462 // Use an index that corresponds to the location in the unoptimized frame, 2461 // Use an index that corresponds to the location in the unoptimized frame,
2463 // which the optimized frame will subsume. 2462 // which the optimized frame will subsume.
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
2627 HAllocateBlockContext* instr) { 2626 HAllocateBlockContext* instr) {
2628 LOperand* context = UseFixed(instr->context(), cp); 2627 LOperand* context = UseFixed(instr->context(), cp);
2629 LOperand* function = UseRegisterAtStart(instr->function()); 2628 LOperand* function = UseRegisterAtStart(instr->function());
2630 LAllocateBlockContext* result = 2629 LAllocateBlockContext* result =
2631 new(zone()) LAllocateBlockContext(context, function); 2630 new(zone()) LAllocateBlockContext(context, function);
2632 return MarkAsCall(DefineFixed(result, cp), instr); 2631 return MarkAsCall(DefineFixed(result, cp), instr);
2633 } 2632 }
2634 2633
2635 } // namespace internal 2634 } // namespace internal
2636 } // namespace v8 2635 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/crankshaft/arm64/lithium-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698