[arm] [simulator] Fix compile error on mac
The return type of {CallFPImpl} differs between declaration and definition (int32_t vs intptr_t). Even though our bots seem to be fine with this, I got a compile error on mac. R=mstarzinger@chromium.org Change-Id: I4fb26cbe712c090d08dfcd2614a7af78de09e448 Reviewed-on: https://chromium-review.googlesource.com/909428 Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#51196}
This commit is contained in:
parent
cfaf90f21d
commit
489c686a48
@ -5822,7 +5822,7 @@ intptr_t Simulator::CallImpl(byte* entry, int argument_count,
|
||||
return get_register(r0);
|
||||
}
|
||||
|
||||
int32_t Simulator::CallFPImpl(byte* entry, double d0, double d1) {
|
||||
intptr_t Simulator::CallFPImpl(byte* entry, double d0, double d1) {
|
||||
if (use_eabi_hardfloat()) {
|
||||
set_d_register_from_double(0, d0);
|
||||
set_d_register_from_double(1, d1);
|
||||
|
Loading…
Reference in New Issue
Block a user