1. 11 Aug, 2016 2 commits
  2. 09 Aug, 2016 1 commit
  3. 21 Jul, 2016 1 commit
  4. 20 Jul, 2016 1 commit
  5. 23 Jun, 2016 1 commit
  6. 22 Jun, 2016 1 commit
    • Kunshan Wang's avatar
      Map IR Builder functions to comminsts. · 8fb468bd
      Kunshan Wang authored
      Now the IR Builder API is also available as common instructions. We keep
      muapi.h as the canonical definition, and the semantics of common
      instructions maps to that of the API functions.
      8fb468bd
  7. 21 Jun, 2016 1 commit
  8. 14 Jun, 2016 1 commit
  9. 31 May, 2016 1 commit
    • Kunshan Wang's avatar
      Functions for building IR. · 725df50e
      Kunshan Wang authored
      The 'irbuilderref' type is no longer used. 'irnoderef' is the only newly
      introduced Mu type. A bundle node now works as a namespace. All other
      nodes are children of the bundle node. After a bundle node is loaded
      into Mu (or aborted), Mu may de-allocate the bundle node and all of its
      children for space efficiency.
      725df50e
  10. 26 May, 2016 1 commit
    • Kunshan Wang's avatar
      Deprecate binary form in favor for the IRBuilder. · 9900b7d7
      Kunshan Wang authored
      As we discussed, the bundle loading interface between the client and the
      micro VM should be a functional interface. The binary form is still a
      parsed format. This commit removes the binary format in the type system
      and the instruction set.
      9900b7d7
  11. 29 Apr, 2016 1 commit
    • Kunshan Wang's avatar
      Added thread-local. · 94fe2b71
      Kunshan Wang authored
      The thread-local object reference gives each thread a reference to an
      arbitrary object, which can hold thread-local states. New API functions
      and new (common) instructions are added. It is also a thread states and
      a GC root.
      94fe2b71
  12. 13 Nov, 2015 1 commit
    • Kunshan Wang's avatar
      Use frame cursors in stack introspection. · 868f8fd4
      Kunshan Wang authored
      Introduced the framecursorref type. This is to solve performance problem
      when the stack is very deep. The API is still stateless, but a frame
      cursor is mutable. A frame cursor can only be created from a stack in
      the READY<Ts> state, may iterate downwards, and must be explicitly
      closed. Concurrent introspection that races with stack modification (pop
      frames/push frames/resuming a stack) has undefined behaviour.
      
      Also used "resumption point" to simplify the description of stack
      binding. The semantics is not changed. In the concrete syntax,
      resumption points are "beginning of function", "OSR point instruction"
      or "the appropriate place for native function". The Mu cases can be
      mapped to the resumption points in the formal model: entry of the %entry
      block, and the exit of the block where the OSR point instruction is in.
      868f8fd4
  13. 27 Oct, 2015 1 commit
  14. 21 Oct, 2015 2 commits
  15. 20 Oct, 2015 1 commit
  16. 09 Oct, 2015 1 commit
  17. 07 Oct, 2015 2 commits
  18. 01 Oct, 2015 1 commit
  19. 30 Sep, 2015 1 commit
  20. 24 Sep, 2015 1 commit
    • Kunshan Wang's avatar
      Renamed types. · 4199116d
      Kunshan Wang authored
      func->funcref, thread->threadref, stack->stackref,
      ptr->uptr, funcptr->ufuncptr.
      4199116d
  21. 01 Sep, 2015 1 commit
  22. 31 Aug, 2015 1 commit
  23. 24 Aug, 2015 1 commit
  24. 19 Mar, 2015 1 commit
  25. 12 Feb, 2015 1 commit
  26. 16 Jan, 2015 1 commit
  27. 15 Jan, 2015 1 commit
  28. 28 Oct, 2014 1 commit