1. 15 Jun, 2016 1 commit
    • Boxiang Sun's avatar
      Add new PyCode_HasFreeVars implementation · 4989639e
      Boxiang Sun authored
      In Pyston the PyCodeObject just an opaque pointer. Which can't calculate
      the number of freevars. Implement a function to check whether there has
      freevars in BoxedCode object.
      4989639e
  2. 13 Jun, 2016 3 commits
  3. 12 Jun, 2016 3 commits
  4. 11 Jun, 2016 5 commits
  5. 09 Jun, 2016 1 commit
    • Marius Wachtler's avatar
      vregs: split them in three parts and reuse them in some cases · f1424848
      Marius Wachtler authored
      user visible: used for all non compiler generated names, name could be used in a single block or multiple
                    all frames contain atleast this vregs in order to do frame introspection
      cross block : used for compiler generated names which get used in several blocks or which have closure scope
      single block: used by compiler created names which are only used in a single block.
                    get reused for different names
      
      we assign the lowest numbers to the user visible ones, followed by the cross block ones and finally the single block
      ones. we do this because not all tiers use all of the vregs and it still makes it fast to switch between tiers.
      f1424848
  6. 08 Jun, 2016 11 commits
  7. 07 Jun, 2016 16 commits