[pypy-svn] pypy jit-lsprofile: small fixes

fijal commits-noreply at bitbucket.org
Sun Mar 13 19:42:32 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jit-lsprofile
Changeset: r42567:c602437bcdc8
Date: 2011-03-13 14:41 -0400
http://bitbucket.org/pypy/pypy/changeset/c602437bcdc8/

Log:	small fixes

diff --git a/pypy/rlib/rtimer.py b/pypy/rlib/rtimer.py
--- a/pypy/rlib/rtimer.py
+++ b/pypy/rlib/rtimer.py
@@ -25,10 +25,10 @@
 class ReadTimestampEntry(ExtRegistryEntry):
     _about_ = read_timestamp
 
-    def compute_annotation(self):
+    def compute_result_annotation(self):
         from pypy.annotation.model import SomeInteger
         return SomeInteger(knowntype=r_longlong)
 
     def specialize_call(self, hop):
         hop.exception_cannot_occur()
-        return hop.genop("ll_read_timestamp")
\ No newline at end of file
+        return hop.genop("ll_read_timestamp", [], resulttype=rffi.LONGLONG)


More information about the Pypy-commit mailing list