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 71be858279fd2e7a627f77553ba0f5d87a0a7055..c55a59fbb8d708ce3f3f7dfa70da5e9589e7c28a 100644 |
| --- a/src/a64/macro-assembler-a64.cc |
| +++ b/src/a64/macro-assembler-a64.cc |
| @@ -1338,9 +1338,7 @@ void MacroAssembler::CallApiFunctionAndReturn( |
| ExternalReference::handle_scope_level_address(isolate()), |
| next_address); |
| - ASSERT(!AreAliased(function_address, x1, x2)); |
| - // TODO(all): Why do we care about aliasing x2? (This function uses x1 as a |
| - // scratch regiser.) |
| + ASSERT(function_address.is(x1) || function_address.is(x2)); |
|
ulan
2014/02/10 19:28:41
This is from https://codereview.chromium.org/15900
|
| Label profiler_disabled; |
| Label end_profiler_check; |