[pypy-commit] pypy reflex-support: fix warning about promote being ignored
wlav
noreply at buildbot.pypy.org
Sun Apr 21 03:53:19 CEST 2013
Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: reflex-support
Changeset: r63532:cd56cc493b68
Date: 2013-04-19 10:46 -0700
http://bitbucket.org/pypy/pypy/changeset/cd56cc493b68/
Log: fix warning about promote being ignored
diff --git a/pypy/module/cppyy/capi/builtin_capi.py b/pypy/module/cppyy/capi/builtin_capi.py
--- a/pypy/module/cppyy/capi/builtin_capi.py
+++ b/pypy/module/cppyy/capi/builtin_capi.py
@@ -296,12 +296,11 @@
threadsafe=ts_reflect,
compilation_info=backend.eci,
elidable_function=True)
- at jit.elidable_promote()
+ at jit.elidable_promote('1,2,4')
def c_base_offset(space, derived, base, address, direction):
if derived == base:
return 0
return _c_base_offset(derived.handle, base.handle, address, direction)
- at jit.elidable_promote()
def c_base_offset1(space, derived_h, base, address, direction):
return _c_base_offset(derived_h, base.handle, address, direction)
More information about the pypy-commit
mailing list