Index: src/x64/frames-x64.h |
diff --git a/src/x64/frames-x64.h b/src/x64/frames-x64.h |
index a92b248d886f4ecc26608dc91d63baabea24af55..9991981a79849ba97b3e879bf292d6b0f8d0e8a0 100644 |
--- a/src/x64/frames-x64.h |
+++ b/src/x64/frames-x64.h |
@@ -56,7 +56,11 @@ class StackHandlerConstants : public AllStatic { |
class EntryFrameConstants : public AllStatic { |
public: |
+#ifdef _WIN64 |
static const int kCallerFPOffset = -10 * kPointerSize; |
+#else |
+ static const int kCallerFPOffset = -8 * kPointerSize; |
+#endif |
static const int kArgvOffset = 6 * kPointerSize; |
}; |