diff options
author | 2015-04-15 11:56:51 +0100 | |
---|---|---|
committer | 2015-04-15 12:53:42 +0100 | |
commit | 9021825d1e73998b99c81e89c73796f6f2845471 (patch) | |
tree | 13e1038931cbb8bf8b8d0f4e3f51553ba1bfa983 /compiler/optimizing/intrinsics_x86.cc | |
parent | 858d28ca2e73a785977f53141e775a7d4841b89d (diff) |
Type MoveOperands.
The ParallelMoveResolver implementation needs to know if a move
is for 64bits or not, to handle swaps correctly.
Bug found, and test case courtesy of Serguei I. Katkov.
Change-Id: I9a0917a1cfed398c07e57ad6251aea8c9b0b8506
Diffstat (limited to 'compiler/optimizing/intrinsics_x86.cc')
-rw-r--r-- | compiler/optimizing/intrinsics_x86.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/intrinsics_x86.cc b/compiler/optimizing/intrinsics_x86.cc index aec2d19b1d..3c7a2660db 100644 --- a/compiler/optimizing/intrinsics_x86.cc +++ b/compiler/optimizing/intrinsics_x86.cc @@ -128,7 +128,7 @@ static void MoveArguments(HInvoke* invoke, ArenaAllocator* arena, CodeGeneratorX Location cc_loc = calling_convention_visitor.GetNextLocation(input->GetType()); Location actual_loc = locations->InAt(i); - parallel_move.AddMove(actual_loc, cc_loc, nullptr); + parallel_move.AddMove(actual_loc, cc_loc, input->GetType(), nullptr); } codegen->GetMoveResolver()->EmitNativeCode(¶llel_move); |