Author: Stephan <[email protected]>
Branch: 
Changeset: r367:937cc2089ea1
Date: 2013-03-20 16:21 +0100
http://bitbucket.org/pypy/lang-js/changeset/937cc2089ea1/

Log:    use _idx_put in LOAD_ARRAY

diff --git a/js/opcodes.py b/js/opcodes.py
--- a/js/opcodes.py
+++ b/js/opcodes.py
@@ -179,7 +179,7 @@
 
         list_w = ctx.stack_pop_n(self.counter)  # [:] # pop_n returns a 
non-resizable list
         for index, el in enumerate(list_w):
-            array.put(unicode(str(index)), el)
+            array._idx_put(index, el, False)
         ctx.stack_append(array)
 
     def stack_change(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to