Commits

Armin Rigo  committed 9a21fc7

Tweaks

  • Participants
  • Parent commits b138acc
  • Branches no-failargs

Comments (0)

Files changed (2)

File pypy/jit/backend/llsupport/jitframe.py

     # For the front-end: a GCREF for the savedata
     ('jf_savedata', llmemory.GCREF),
 
-    # XXX
+    # All values are stored in the following array.
     ('jf_values', lltype.Array(llmemory.Address)))
+
 JITFRAMEPTR = lltype.Ptr(JITFRAME)

File pypy/jit/metainterp/resoperation.py

     """ NOT_RPYTHON this is for tests only!
     """
     cls = opclasses[opnum]
+    if 0 <= cls.NUMARGS <= 3:
+        assert len(args) == cls.NUMARGS
     if cls.NUMARGS == 0:
         return create_resop_0(opnum, result, descr, mutable=mutable)
     elif cls.NUMARGS == 1: