[wasm] Fix compile for Arm64 on OSX
R=ahaas@chromium.org Also-by: ahaas@chromium.org Change-Id: Ieb7e20dedcbd3def7e6c4f42e6392306ac3ed1f7 Reviewed-on: https://chromium-review.googlesource.com/1073505 Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Bill Budge <bbudge@chromium.org> Cr-Commit-Position: refs/heads/master@{#53373}
This commit is contained in:
parent
a1269d684c
commit
a52ee2f5f5
@ -67,7 +67,7 @@ constexpr bool kModuleCanAllocateMoreMemory = false;
|
||||
void GenerateJumpTrampoline(MacroAssembler* masm, Address target) {
|
||||
UseScratchRegisterScope temps(masm);
|
||||
Register scratch = temps.AcquireX();
|
||||
__ Mov(scratch, reinterpret_cast<uint64_t>(target));
|
||||
__ Mov(scratch, static_cast<uint64_t>(target));
|
||||
__ Br(scratch);
|
||||
}
|
||||
#undef __
|
||||
|
Loading…
Reference in New Issue
Block a user