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 --- macho/_startupProfile.o | Bin 80208 -> 80208 bytes macho/pprofile.a | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'macho') 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) -- cgit v1.2.3