From a52ee2f5f5486fa9f370990d879ff0c10b7db923 Mon Sep 17 00:00:00 2001 From: Bill Budge Date: Fri, 25 May 2018 11:42:04 -0700 Subject: [PATCH] [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 Commit-Queue: Bill Budge Cr-Commit-Position: refs/heads/master@{#53373} --- src/wasm/wasm-code-manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wasm/wasm-code-manager.cc b/src/wasm/wasm-code-manager.cc index 44dd0335eb..8b97d6b70d 100644 --- a/src/wasm/wasm-code-manager.cc +++ b/src/wasm/wasm-code-manager.cc @@ -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(target)); + __ Mov(scratch, static_cast(target)); __ Br(scratch); } #undef __