Index: src/compiler/x87/code-generator-x87.cc |
diff --git a/src/compiler/x87/code-generator-x87.cc b/src/compiler/x87/code-generator-x87.cc |
index b73787b6d50be0f17d41f26289e8a411e4cd7e4b..0e9c50ec057e3392a8e13ffcd6bb3b0b324c0e52 100644 |
--- a/src/compiler/x87/code-generator-x87.cc |
+++ b/src/compiler/x87/code-generator-x87.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/x87/assembler-x87.h" |
#include "src/x87/frames-x87.h" |
#include "src/x87/macro-assembler-x87.h" |
@@ -50,7 +51,7 @@ class X87OperandConverter : 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()); |
} |