[pypy-commit] pypy vmprof: try to please C

fijal noreply at buildbot.pypy.org
Mon Feb 23 13:00:32 CET 2015


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: vmprof
Changeset: r76066:2833fe32547c
Date: 2015-02-23 13:59 +0200
http://bitbucket.org/pypy/pypy/changeset/2833fe32547c/

Log:	try to please C

diff --git a/rpython/jit/backend/llsupport/codemap.py b/rpython/jit/backend/llsupport/codemap.py
--- a/rpython/jit/backend/llsupport/codemap.py
+++ b/rpython/jit/backend/llsupport/codemap.py
@@ -34,9 +34,11 @@
 _codemap = None
 
 eci = ExternalCompilationInfo(post_include_bits=["""
+RPY_EXTERN volatile int pypy_codemap_currently_invalid;
+RPY_EXTERN void pypy_codemap_invalid_set(int);
+"""], separate_module_sources=["""
 volatile int pypy_codemap_currently_invalid = 0;
-void pypy_codemap_invalid_set(int);
-"""], separate_module_sources=["""
+
 void pypy_codemap_invalid_set(int value)
 {
     pypy_codemap_currently_invalid = value;


More information about the pypy-commit mailing list