[pypy-svn] pypy jit-lsprofile: Minor tweaks in includes

fijal commits-noreply at bitbucket.org
Wed Mar 23 01:58:44 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jit-lsprofile
Changeset: r42857:a953ba795f6c
Date: 2011-03-22 18:58 -0600
http://bitbucket.org/pypy/pypy/changeset/a953ba795f6c/

Log:	Minor tweaks in includes

diff --git a/pypy/translator/c/src/timer.h b/pypy/translator/c/src/timer.h
--- a/pypy/translator/c/src/timer.h
+++ b/pypy/translator/c/src/timer.h
@@ -1,7 +1,7 @@
 #ifndef PYPY_TIMER_H
 #define PYPY_TIMER_H
 
-/* XXX Some overlap with the stuff in debug_print
+/* XXX Some overlap with the stuff in asm_gcc_x86
  */
 #define OP_LL_READ_TIMESTAMP(v) v = pypy_read_timestamp();
 

diff --git a/pypy/translator/c/src/g_include.h b/pypy/translator/c/src/g_include.h
--- a/pypy/translator/c/src/g_include.h
+++ b/pypy/translator/c/src/g_include.h
@@ -10,7 +10,6 @@
 #  include "traceback.h"
 #  include "marshal.h"
 #  include "eval.h"
-#  include "timer.h"
 #else
 #  include <stdlib.h>
 #  include <assert.h>
@@ -39,6 +38,7 @@
 
 #include "src/instrument.h"
 #include "src/asm.h"
+#include "src/timer.h"
 
 
 /*** modules ***/


More information about the Pypy-commit mailing list