From d5c92ea9de211beb596d73a967c3f3798ead3689 Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Fri, 26 Sep 2003 14:01:27 +0000 Subject: fix bug in n_profiler_calls counters, fix #defines for classic --- _startupProfile.cxo | Bin 99967 -> 91493 bytes _startupProfile.xo | Bin 99967 -> 99967 bytes _startupProfile601.cxo | Bin 100075 -> 91601 bytes macho/_startupProfile.o | Bin 80208 -> 80208 bytes macho/pprofile.a | 6 +++--- pprofile.a | 8 ++++---- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_startupProfile.cxo b/_startupProfile.cxo index 7ce17a7..a3e71cd 100644 Binary files a/_startupProfile.cxo and b/_startupProfile.cxo differ diff --git a/_startupProfile.xo b/_startupProfile.xo index 930f8a6..022b419 100644 Binary files a/_startupProfile.xo and b/_startupProfile.xo differ diff --git a/_startupProfile601.cxo b/_startupProfile601.cxo index c29aedd..ec5ec4e 100644 Binary files a/_startupProfile601.cxo and b/_startupProfile601.cxo differ diff --git a/macho/_startupProfile.o b/macho/_startupProfile.o index 8eab7b2..550794d 100644 Binary files a/macho/_startupProfile.o and b/macho/_startupProfile.o differ diff --git a/macho/pprofile.a b/macho/pprofile.a index 0146418..17abb93 100644 --- a/macho/pprofile.a +++ b/macho/pprofile.a @@ -650,7 +650,7 @@ profile_n_: subis r9,r8,hi1e9 cmpwi 0,r9,lo1e9 - lwz r6,FunctionProfile_n_profiler_calls(r4) + lwz r6,FunctionProfile_n_profiler_calls(r3) blt+ @no_carry @@ -660,13 +660,13 @@ profile_n_: @no_carry: .else addc r8,r8,r10 - lwz r6,FunctionProfile_n_profiler_calls(r4) + lwz r6,FunctionProfile_n_profiler_calls(r3) adde r7,r7,r9 .endif addi r6,r6,1 stw r7,FunctionProfile_time_hi(r3) stw r8,FunctionProfile_time_lo(r3) - stw r6,FunctionProfile_n_profiler_calls(r4) + stw r6,FunctionProfile_n_profiler_calls(r3) .if ALLOCATION_PROFILE lwz r11,Globals_n_words_free(r5) diff --git a/pprofile.a b/pprofile.a index 34079c0..a3cd825 100644 --- a/pprofile.a +++ b/pprofile.a @@ -6,7 +6,7 @@ lwz &r,&a{TC}(RTOC) endm -MACOSX set 1 +; MACOSX set 1 ; POWER601 set 1 ALLOCATION_PROFILE set 1 USE_TEMPORARY_MEMORY set 1 @@ -627,7 +627,7 @@ profile_n_: subis r9,r8,hi1e9 cmpwi 0,r9,lo1e9 - lwz r6,FunctionProfile.n_profiler_calls(r4) + lwz r6,FunctionProfile.n_profiler_calls(r3) blt+ @no_carry @@ -637,13 +637,13 @@ profile_n_: @no_carry: else addc r8,r8,r10 - lwz r6,FunctionProfile.n_profiler_calls(r4) + lwz r6,FunctionProfile.n_profiler_calls(r3) adde r7,r7,r9 endif addi r6,r6,1 stw r7,FunctionProfile.time_hi(r3) stw r8,FunctionProfile.time_lo(r3) - stw r6,FunctionProfile.n_profiler_calls(r4) + stw r6,FunctionProfile.n_profiler_calls(r3) if ALLOCATION_PROFILE lwz r11,Globals.n_words_free(r5) -- cgit v1.2.3