[pypy-commit] lang-js default: added annotation

stepahn noreply at buildbot.pypy.org
Thu Mar 21 16:34:03 CET 2013


Author: Stephan <stephan at stzal.com>
Branch: 
Changeset: r372:1d6b0ccb866f
Date: 2013-03-20 17:46 +0100
http://bitbucket.org/pypy/lang-js/changeset/1d6b0ccb866f/

Log:	added annotation

diff --git a/js/jsobj.py b/js/jsobj.py
--- a/js/jsobj.py
+++ b/js/jsobj.py
@@ -956,6 +956,7 @@
         from js.object_space import object_space
         _map = object_space.new_obj()
         mapped_names = new_map()
+        jit.promote(_len)
         indx = _len - 1
         while indx >= 0:
             val = args[indx]


More information about the pypy-commit mailing list