summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn van Groningen2011-05-16 14:22:07 +0000
committerJohn van Groningen2011-05-16 14:22:07 +0000
commitd071e5c7dddac5fbc534ee9de8dae8fc6dcbcc12 (patch)
treed8f6614ab709773c15b4f92e83e0af1ace965494
parentdetermine application path on Intel Mac OS X (diff)
fix 64 bit profiler
-rw-r--r--aprofile.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/aprofile.asm b/aprofile.asm
index 9d8d7e9..889b6eb 100644
--- a/aprofile.asm
+++ b/aprofile.asm
@@ -351,7 +351,7 @@ profile_n_:
add rax,rdx
inc qword ptr n_profiler_calls[rbp]
- add rax,qword ptr time[rbp]
+ add qword ptr time[rbp],rax
mov rax,qword ptr global_n_words_free
mov qword ptr global_n_words_free,r15