Index: src/arm64/instructions-arm64.h |
diff --git a/src/arm64/instructions-arm64.h b/src/arm64/instructions-arm64.h |
index bd4e753779467abf2caa39a2e869987f1b58fb91..9f3c20f702c5a376a888ce34d20d7d1c96f0ecff 100644 |
--- a/src/arm64/instructions-arm64.h |
+++ b/src/arm64/instructions-arm64.h |
@@ -352,9 +352,9 @@ class Instruction { |
// Patch a literal load instruction to load from 'source'. |
void SetImmLLiteral(Instruction* source); |
- uint8_t* LiteralAddress() { |
+ uintptr_t LiteralAddress() { |
int offset = ImmLLiteral() << kLoadLiteralScaleLog2; |
- return reinterpret_cast<uint8_t*>(this) + offset; |
+ return reinterpret_cast<uintptr_t>(this) + offset; |
} |
enum CheckAlignment { NO_CHECK, CHECK_ALIGNMENT }; |