| Index: src/arm64/simulator-arm64.cc
|
| diff --git a/src/arm64/simulator-arm64.cc b/src/arm64/simulator-arm64.cc
|
| index da569625ca95ae26351c373a5bc502ef6f307649..29d3ea2419f724924ccb1c172b587317a023251d 100644
|
| --- a/src/arm64/simulator-arm64.cc
|
| +++ b/src/arm64/simulator-arm64.cc
|
| @@ -490,7 +490,7 @@ class Redirection {
|
| static Redirection* FromHltInstruction(Instruction* redirect_call) {
|
| char* addr_of_hlt = reinterpret_cast<char*>(redirect_call);
|
| char* addr_of_redirection =
|
| - addr_of_hlt - OFFSET_OF(Redirection, redirect_call_);
|
| + addr_of_hlt - offsetof(Redirection, redirect_call_);
|
| return reinterpret_cast<Redirection*>(addr_of_redirection);
|
| }
|
|
|
|
|