Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: runtime/vm/stack_frame_x64.h

Issue 317773002: Fix Win64 build of Dart VM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add fix for http://dartbug.com/19213 Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..a684d19aa0cc99f6661ed846db680469c27610be 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
siva 2014/06/05 17:21:18 #endif // defined(_WIN64)
Vyacheslav Egorov (Google) 2014/06/05 18:05:55 Done.
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698