Index: src/compiler/ia32/code-generator-ia32.cc |
diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc |
index 944632e04fe9aa796ec739dd152f8dd376c1b8dc..555667afaef848cc1b5dceb3b892aea41938368c 100644 |
--- a/src/compiler/ia32/code-generator-ia32.cc |
+++ b/src/compiler/ia32/code-generator-ia32.cc |
@@ -9,6 +9,7 @@ |
#include "src/compiler/gap-resolver.h" |
#include "src/compiler/node-matchers.h" |
#include "src/compiler/osr.h" |
+#include "src/frames.h" |
#include "src/ia32/assembler-ia32.h" |
#include "src/ia32/frames-ia32.h" |
#include "src/ia32/macro-assembler-ia32.h" |
@@ -56,7 +57,7 @@ class IA32OperandConverter : public InstructionOperandConverter { |
Operand ToMaterializableOperand(int materializable_offset) { |
FrameOffset offset = frame_access_state()->GetFrameOffset( |
- Frame::FPOffsetToSlot(materializable_offset)); |
+ FPOffsetToFrameSlot(materializable_offset)); |
return Operand(offset.from_stack_pointer() ? esp : ebp, offset.offset()); |
} |