Author: Raffael Tfirst <[email protected]>
Branch: py3.5
Changeset: r84984:86822511a36a
Date: 2016-06-07 00:22 +0200
http://bitbucket.org/pypy/pypy/changeset/86822511a36a/

Log:    prepare vars for build_map_unpack_with_call

diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -1351,9 +1351,14 @@
             itemcount -= 1
         self.pushvalue(w_sum)
         
+    #TODO
+    #get intersection, store as setentry
     def BUILD_MAP_UNPACK_WITH_CALL(self, itemcount, next_instr):
         w_sum = self.space.newset()
+        num_maps = itemcount & 0xff
+        function_location = (itemcount >> 8) & 0xff
         for i in range(itemcount, 0, -1):
+            arg = self.space.peek(i)
             self.space.call_method(w_sum, 'update', self.space.peek(i))
         while itemcount != 0:
             self.popvalue()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to