| Index: src/x64/assembler-x64.cc
|
| diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc
|
| index 597aa31f54d86c59d0cb5fe3dccae6334c716aa3..3ce420e3e7bdb8122f88a0c2d2f053d9ed092d8b 100644
|
| --- a/src/x64/assembler-x64.cc
|
| +++ b/src/x64/assembler-x64.cc
|
| @@ -485,7 +485,7 @@ void Assembler::emit_operand(int code, const Operand& adr) {
|
| // Recognize RIP relative addressing.
|
| if (adr.buf_[0] == 5) {
|
| DCHECK_EQ(9u, length);
|
| - Label* label = *reinterpret_cast<Label* const*>(&adr.buf_[1]);
|
| + Label* label = *bit_cast<Label* const*>(&adr.buf_[1]);
|
| if (label->is_bound()) {
|
| int offset = label->pos() - pc_offset() - sizeof(int32_t);
|
| DCHECK_GE(0, offset);
|
|
|