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

Side by Side Diff: src/crankshaft/arm64/lithium-arm64.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/arm/lithium-arm.cc ('k') | src/crankshaft/hydrogen.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/arm64/lithium-arm64.h" 5 #include "src/crankshaft/arm64/lithium-arm64.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" 9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h"
10 #include "src/crankshaft/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 1948 matching lines...) Expand 10 before | Expand all | Expand 10 after
1959 } 1959 }
1960 1960
1961 1961
1962 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { 1962 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) {
1963 LParameter* result = new(zone()) LParameter; 1963 LParameter* result = new(zone()) LParameter;
1964 if (instr->kind() == HParameter::STACK_PARAMETER) { 1964 if (instr->kind() == HParameter::STACK_PARAMETER) {
1965 int spill_index = chunk_->GetParameterStackSlot(instr->index()); 1965 int spill_index = chunk_->GetParameterStackSlot(instr->index());
1966 return DefineAsSpilled(result, spill_index); 1966 return DefineAsSpilled(result, spill_index);
1967 } else { 1967 } else {
1968 DCHECK(info()->IsStub()); 1968 DCHECK(info()->IsStub());
1969 CallInterfaceDescriptor descriptor = 1969 CallInterfaceDescriptor descriptor = graph()->descriptor();
1970 info()->code_stub()->GetCallInterfaceDescriptor();
1971 int index = static_cast<int>(instr->index()); 1970 int index = static_cast<int>(instr->index());
1972 Register reg = descriptor.GetRegisterParameter(index); 1971 Register reg = descriptor.GetRegisterParameter(index);
1973 return DefineFixed(result, reg); 1972 return DefineFixed(result, reg);
1974 } 1973 }
1975 } 1974 }
1976 1975
1977 1976
1978 LInstruction* LChunkBuilder::DoPower(HPower* instr) { 1977 LInstruction* LChunkBuilder::DoPower(HPower* instr) {
1979 DCHECK(instr->representation().IsDouble()); 1978 DCHECK(instr->representation().IsDouble());
1980 // We call a C function for double power. It can't trigger a GC. 1979 // We call a C function for double power. It can't trigger a GC.
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
2724 LOperand* context = UseFixed(instr->context(), cp); 2723 LOperand* context = UseFixed(instr->context(), cp);
2725 LOperand* function = UseRegisterAtStart(instr->function()); 2724 LOperand* function = UseRegisterAtStart(instr->function());
2726 LAllocateBlockContext* result = 2725 LAllocateBlockContext* result =
2727 new(zone()) LAllocateBlockContext(context, function); 2726 new(zone()) LAllocateBlockContext(context, function);
2728 return MarkAsCall(DefineFixed(result, cp), instr); 2727 return MarkAsCall(DefineFixed(result, cp), instr);
2729 } 2728 }
2730 2729
2731 2730
2732 } // namespace internal 2731 } // namespace internal
2733 } // namespace v8 2732 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/arm/lithium-arm.cc ('k') | src/crankshaft/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698