From 353b4f09db70020c3004b3f1d6c91af44d1ee83b Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 16 Apr 1998 06:05:39 +0000 Subject: [PATCH] Tweak inline assembly code for Visual C++. --- v7/src/microcode/ntgui.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/v7/src/microcode/ntgui.c b/v7/src/microcode/ntgui.c index f32b1ca23..d1bcba4ff 100644 --- a/v7/src/microcode/ntgui.c +++ b/v7/src/microcode/ntgui.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: ntgui.c,v 1.21 1998/04/14 05:13:19 cph Exp $ +$Id: ntgui.c,v 1.22 1998/04/16 06:05:39 cph Exp $ Copyright (c) 1993-98 Massachusetts Institute of Technology @@ -674,10 +674,7 @@ call_ff_really (void) = (scheme_object_to_windows_object (STACK_LOCATIVE_PUSH (argument_scan))); #ifdef CL386 - __asm - { - push dword ptr [arg] - } + __asm push arg #else /* not CL386 */ #ifdef __WATCOMC__ { @@ -691,9 +688,9 @@ call_ff_really (void) #ifdef CL386 __asm { - mov eax, dword ptr [function_address] + mov eax, function_address call eax - mov dword ptr [result], eax + mov result, eax } #else /* not CL386 */ #ifdef __WATCOMC__ -- 2.25.1