diff src/os/windows/vm/os_windows.cpp @ 5903:da4be62fb889

7147740: add assertions to check stack alignment on VM entry from generated code (x64) Summary: check stack alignment on VM entry on x64. Reviewed-by: kvn, never
author roland
date Mon, 27 Feb 2012 09:17:44 +0100
parents 379b22e03c32
children ec15e8f6e4f1
line wrap: on
line diff
--- a/src/os/windows/vm/os_windows.cpp	Fri Feb 24 12:33:31 2012 -0800
+++ b/src/os/windows/vm/os_windows.cpp	Mon Feb 27 09:17:44 2012 +0100
@@ -324,16 +324,6 @@
   os::breakpoint();
 }
 
-// Returns an estimate of the current stack pointer. Result must be guaranteed
-// to point into the calling threads stack, and be no lower than the current
-// stack pointer.
-
-address os::current_stack_pointer() {
-  int dummy;
-  address sp = (address)&dummy;
-  return sp;
-}
-
 // os::current_stack_base()
 //
 //   Returns the base of the stack, which is the stack's