From: Ivan Maidanski Date: Fri, 30 Sep 2011 13:27:35 +0000 (+0400) Subject: mach_dep.c: Replace C++ style comments with C ones X-Git-Tag: gc7_3alpha2~326 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8220ca8c2c44b1e8fcb8c2682ba338c6f4e34d2f;p=gc mach_dep.c: Replace C++ style comments with C ones --- 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 }