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

Unified Diff: runtime/vm/os_win.cc

Issue 415513002: - Fix a lot of warnings generated by -Wshorten-64-to-32 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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
« no previous file with comments | « runtime/vm/os_test.cc ('k') | runtime/vm/port_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_win.cc
===================================================================
--- runtime/vm/os_win.cc (revision 38492)
+++ runtime/vm/os_win.cc (working copy)
@@ -137,7 +137,7 @@
}
-word OS::ActivationFrameAlignment() {
+intptr_t OS::ActivationFrameAlignment() {
#ifdef _WIN64
// Windows 64-bit ABI requires the stack to be 16-byte aligned.
return 16;
@@ -148,20 +148,12 @@
}
-word OS::PreferredCodeAlignment() {
+intptr_t OS::PreferredCodeAlignment() {
ASSERT(32 <= OS::kMaxPreferredCodeAlignment);
return 32;
}
-uword OS::GetStackSizeLimit() {
- // TODO(ager): Can you programatically determine the actual stack
- // size limit on Windows? The 2MB limit is set at link time. Maybe
- // that value should be propagated here?
- return 2 * MB;
-}
-
-
bool OS::AllowStackFrameIteratorFromAnotherThread() {
return true;
}
« no previous file with comments | « runtime/vm/os_test.cc ('k') | runtime/vm/port_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698