Index: runtime/vm/stack_frame_x64.h |
diff --git a/runtime/vm/stack_frame_x64.h b/runtime/vm/stack_frame_x64.h |
index d85e8ec0ebff07d33ea0691bea4bd365f19f5d0a..125735ddf2f2456e03329bcf22f4febef5535605 100644 |
--- a/runtime/vm/stack_frame_x64.h |
+++ b/runtime/vm/stack_frame_x64.h |
@@ -45,9 +45,15 @@ static const int kCallerSpSlotFromFp = 2; |
static const int kSavedAboveReturnAddress = 3; // Saved above return address. |
// Entry and exit frame layout. |
+#if defined(_WIN64) |
+static const int kSavedContextSlotFromEntryFp = -32; |
+static const int kExitLinkSlotFromEntryFp = -31; |
+static const int kSavedVMTagSlotFromEntryFp = -30; |
+#else |
static const int kSavedContextSlotFromEntryFp = -10; |
static const int kExitLinkSlotFromEntryFp = -9; |
static const int kSavedVMTagSlotFromEntryFp = -8; |
+#endif // defined(_WIN64) |
} // namespace dart |