Author: Stephan <step...@stzal.com>
Branch: 
Changeset: r374:81e6e06fb4aa
Date: 2013-03-21 16:35 +0100
http://bitbucket.org/pypy/lang-js/changeset/81e6e06fb4aa/

Log:    backed out of 9e9af1fdf61d due to performance issues

diff --git a/js/jsobj.py b/js/jsobj.py
--- a/js/jsobj.py
+++ b/js/jsobj.py
@@ -1187,6 +1187,7 @@
 
 
 @enforceargs(int)
+@jit.elidable
 def int32(n):
     if n & (1 << (32 - 1)):
         res = n | ~MASK_32
@@ -1197,11 +1198,13 @@
 
 
 @enforceargs(int)
+@jit.elidable
 def uint32(n):
     return n & MASK_32
 
 
 @enforceargs(int)
+@jit.elidable
 def uint16(n):
     return n & MASK_16
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to