[pypy-commit] pypy jit-leaner-frontend: specialize untag
fijal
pypy.commits at gmail.com
Fri Mar 25 08:24:53 EDT 2016
Author: fijal
Branch: jit-leaner-frontend
Changeset: r83353:cd2f966ad0ed
Date: 2016-03-25 14:24 +0200
http://bitbucket.org/pypy/pypy/changeset/cd2f966ad0ed/
Log: specialize untag
diff --git a/rpython/jit/metainterp/opencoder.py b/rpython/jit/metainterp/opencoder.py
--- a/rpython/jit/metainterp/opencoder.py
+++ b/rpython/jit/metainterp/opencoder.py
@@ -11,7 +11,7 @@
ResOperation, oparity, rop, opwithdescr, GuardResOp, IntOp, FloatOp, RefOp,\
opclasses
from rpython.rlib.rarithmetic import intmask, r_uint
-from rpython.rlib.objectmodel import we_are_translated
+from rpython.rlib.objectmodel import we_are_translated, specialize
from rpython.rtyper.lltypesystem import rffi, lltype, llmemory
from rpython.jit.metainterp.typesystem import llhelper
@@ -474,5 +474,6 @@
# raise some error
return (pos << TAGSHIFT) | kind
+ at specialize.ll()
def untag(tagged):
return intmask(tagged) & TAGMASK, intmask(tagged) >> TAGSHIFT
More information about the pypy-commit
mailing list