Index: src/ppc/simulator-ppc.cc |
diff --git a/src/ppc/simulator-ppc.cc b/src/ppc/simulator-ppc.cc |
index 118741bc323303410e411903dbaf1c8c6cf096af..261982c0b3f0abdb17468710b1a107815bb8c6f9 100644 |
--- a/src/ppc/simulator-ppc.cc |
+++ b/src/ppc/simulator-ppc.cc |
@@ -880,7 +880,7 @@ class Redirection { |
static Redirection* FromSwiInstruction(Instruction* swi_instruction) { |
char* addr_of_swi = reinterpret_cast<char*>(swi_instruction); |
char* addr_of_redirection = |
- addr_of_swi - OFFSET_OF(Redirection, swi_instruction_); |
+ addr_of_swi - offsetof(Redirection, swi_instruction_); |
return reinterpret_cast<Redirection*>(addr_of_redirection); |
} |