From 8220ca8c2c44b1e8fcb8c2682ba338c6f4e34d2f Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Fri, 30 Sep 2011 17:27:35 +0400 Subject: [PATCH] mach_dep.c: Replace C++ style comments with C ones --- mach_dep.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mach_dep.c b/mach_dep.c index 7b038dc7..0eda3835 100644 --- a/mach_dep.c +++ b/mach_dep.c @@ -34,7 +34,7 @@ asm static void PushMacRegisters() { - sub.w #4,sp // reserve space for one parameter. + sub.w #4,sp /* reserve space for one parameter */ move.l a2,(sp) jsr GC_push_one move.l a3,(sp) @@ -42,11 +42,11 @@ asm static void PushMacRegisters() move.l a4,(sp) jsr GC_push_one # if !__option(a6frames) - // perhaps a6 should be pushed if stack frames are not being used. + /* perhaps a6 should be pushed if stack frames are not being used */ move.l a6,(sp) jsr GC_push_one # endif - // skip a5 (globals), a6 (frame pointer), and a7 (stack pointer) + /* skip a5 (globals), a6 (frame pointer), and a7 (stack pointer) */ move.l d2,(sp) jsr GC_push_one move.l d3,(sp) @@ -59,7 +59,7 @@ asm static void PushMacRegisters() jsr GC_push_one move.l d7,(sp) jsr GC_push_one - add.w #4,sp // fix stack. + add.w #4,sp /* fix stack */ rts } -- 2.40.0