Mercurial > projects > ldc
changeset 578:8caa9adce5ae
Fix (?) rt_stackBottom for Windows.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 04 Sep 2008 20:58:25 +0200 |
parents | 68be7408a0db |
children | 20c065c46b38 |
files | runtime/internal/memory.d |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/internal/memory.d Thu Sep 04 18:57:03 2008 +0200 +++ b/runtime/internal/memory.d Thu Sep 04 20:58:25 2008 +0200 @@ -77,12 +77,13 @@ { version( Win32 ) { + void* bottom; asm { - naked; - mov EAX,FS:4; - ret; + mov EAX, FS:4; + mov bottom, EAX; } + return bottom; } else version( linux ) {