Commit a52ee2f5 authored by Bill Budge's avatar Bill Budge Committed by Commit Bot

[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/1073505Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Commit-Queue: Bill Budge <bbudge@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53373}
parent a1269d68
......@@ -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 __
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment