Index: src/ic/arm64/ic-arm64.cc |
diff --git a/src/ic/arm64/ic-arm64.cc b/src/ic/arm64/ic-arm64.cc |
index 09a07bc4ce5c2d40007e14e5b2cac72f2d641007..f77bb8af5b40f9fb0f6d580bf54731a877fdb8c1 100644 |
--- a/src/ic/arm64/ic-arm64.cc |
+++ b/src/ic/arm64/ic-arm64.cc |
@@ -71,7 +71,7 @@ void PatchInlinedSmiCode(Isolate* isolate, Address address, |
// to |
// tb(!n)z test_reg, #0, <target> |
Instruction* to_patch = info.SmiCheck(); |
- PatchingAssembler patcher(isolate, to_patch, 1); |
+ PatchingAssembler patcher(isolate, reinterpret_cast<byte*>(to_patch), 1); |
DCHECK(to_patch->IsTestBranch()); |
DCHECK(to_patch->ImmTestBranchBit5() == 0); |
DCHECK(to_patch->ImmTestBranchBit40() == 0); |