From 1d620f350b35dea968c72f38f09a4632be897be9 Mon Sep 17 00:00:00 2001 From: twisti Date: Sun, 9 Nov 2003 20:12:53 +0000 Subject: [PATCH] Pass method to reg_init() --- jit/powerpc/codegen.c | 4 ++-- src/vm/jit/powerpc/codegen.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jit/powerpc/codegen.c b/jit/powerpc/codegen.c index 092d98f2d..22177891f 100644 --- a/jit/powerpc/codegen.c +++ b/jit/powerpc/codegen.c @@ -28,7 +28,7 @@ Authors: Andreas Krall Stefan Ring - $Id: codegen.c 598 2003-11-09 20:12:22Z twisti $ + $Id: codegen.c 599 2003-11-09 20:12:53Z twisti $ */ @@ -3156,7 +3156,7 @@ u1 *createnativestub (functionptr f, methodinfo *m) } #endif - reg_init(); + reg_init(m); M_MOV (argintregs[6],argintregs[7]); M_MOV (argintregs[5],argintregs[6]); diff --git a/src/vm/jit/powerpc/codegen.c b/src/vm/jit/powerpc/codegen.c index 092d98f2d..22177891f 100644 --- a/src/vm/jit/powerpc/codegen.c +++ b/src/vm/jit/powerpc/codegen.c @@ -28,7 +28,7 @@ Authors: Andreas Krall Stefan Ring - $Id: codegen.c 598 2003-11-09 20:12:22Z twisti $ + $Id: codegen.c 599 2003-11-09 20:12:53Z twisti $ */ @@ -3156,7 +3156,7 @@ u1 *createnativestub (functionptr f, methodinfo *m) } #endif - reg_init(); + reg_init(m); M_MOV (argintregs[6],argintregs[7]); M_MOV (argintregs[5],argintregs[6]); -- 2.25.1