diff options
| author | 2017-09-26 09:15:35 +0000 | |
|---|---|---|
| committer | 2017-09-26 09:15:35 +0000 | |
| commit | 4894cdd8ebd4624f0f09c1545c1bbf7ff0bb5bc3 (patch) | |
| tree | d2e2cc57dd046e2bd06cb3cc67e2e9f6950dac87 /compiler/optimizing/parallel_move_resolver.cc | |
| parent | d796c61d303424798c8cd35fabb77760255ea2aa (diff) | |
| parent | 0ebe0d83138bba1996e9c8007969b5381d972b32 (diff) | |
Merge "ART: Introduce compiler data type."
Diffstat (limited to 'compiler/optimizing/parallel_move_resolver.cc')
| -rw-r--r-- | compiler/optimizing/parallel_move_resolver.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/optimizing/parallel_move_resolver.cc b/compiler/optimizing/parallel_move_resolver.cc index be470ccb7d..2036b4a370 100644 --- a/compiler/optimizing/parallel_move_resolver.cc +++ b/compiler/optimizing/parallel_move_resolver.cc @@ -457,7 +457,7 @@ void ParallelMoveResolverNoSwap::PerformMove(size_t index) { DCHECK_NE(kind, Location::kConstant); Location scratch = AllocateScratchLocationFor(kind); // We only care about the move size. - Primitive::Type type = move->Is64BitMove() ? Primitive::kPrimLong : Primitive::kPrimInt; + DataType::Type type = move->Is64BitMove() ? DataType::Type::kInt64 : DataType::Type::kInt32; // Perform (C -> scratch) move->SetDestination(scratch); EmitMove(index); @@ -521,7 +521,8 @@ void ParallelMoveResolverNoSwap::UpdateMoveSource(Location from, Location to) { } void ParallelMoveResolverNoSwap::AddPendingMove(Location source, - Location destination, Primitive::Type type) { + Location destination, + DataType::Type type) { pending_moves_.push_back(new (allocator_) MoveOperands(source, destination, type, nullptr)); } |