Chromium Code Reviews| Index: src/a64/macro-assembler-a64.cc |
| diff --git a/src/a64/macro-assembler-a64.cc b/src/a64/macro-assembler-a64.cc |
| index 84269cf6f07b6cc21fdb20655577feb273d837fc..6713b248b27ec04553d705fb76c4249d49900709 100644 |
| --- a/src/a64/macro-assembler-a64.cc |
| +++ b/src/a64/macro-assembler-a64.cc |
| @@ -1340,7 +1340,7 @@ void MacroAssembler::CallApiFunctionAndReturn( |
| next_address); |
| ASSERT(function_address.Is(x3)); |
| - ASSERT(!AreAliased(function_address, thunk_last_arg, x1, x2)); |
| + ASSERT(thunk_last_arg.is(x1) || thunk_last_arg.is(x2)); |
|
ulan
2014/02/10 16:38:51
I took this assert from the ARM port, which also u
|
| // TODO(all): Why do we care about aliasing x2? (This function uses x1 as a |
| // scratch regiser.) |