Commits

Alex Gaynor committed 0263e80

(fijal, alex): fix tests and translation (sort of)

Comments (0)

Files changed (2)

pypy/module/_lsprof/test/test_cprofile.py

         f()
         profiler.disable()
         stats = profiler.getstats()
-        xxx
+        assert stats
 
     def test_cprofile(self):
         import sys, os

pypy/translator/c/src/timer.h

 
 /* XXX Some overlap with the stuff in debug_print
  */
+#define OP_LL_READ_TIMESTAMP(v) v = pypy_read_timestamp();
 
 #ifndef PYPY_NOT_MAIN_FILE
 /* implementations */
 
-#define OP_LL_READ_TIMESTAMP(v) v = pypy_read_timestamp();
-
 #ifdef _WIN32
 long long pypy_read_timestamp(void) {
     long long timestamp;