1. 08 Mar, 2016 1 commit
    • danno's avatar
      [runtime] Unify and simplify how frames are marked · 9dcd0857
      danno authored
      Before this CL, various code stubs used different techniques
      for marking their frames to enable stack-crawling and other
      access to data in the frame. All of them were based on a abuse
      of the "standard" frame representation, e.g. storing the a
      context pointer immediately below the frame's fp, and a
      function pointer after that. Although functional, this approach
      tends to make stubs and builtins do an awkward, unnecessary
      dance to appear like standard frames, even if they have
      nothing to do with JavaScript execution.
      
      This CL attempts to improve this by:
      
      * Ensuring that there are only two fundamentally different
        types of frames, a "standard" frame and a "typed" frame.
        Standard frames, as before, contain both a context and
        function pointer. Typed frames contain only a minimum
        of a smi marker in the position immediately below the fp
        where the context is in standard frames.
      * Only interpreted, full codegen, and optimized Crankshaft and
        TurboFan JavaScript frames use the "standard" format. All
        other frames use the type frame format with an explicit
        marker.
      * Typed frames can contain one or more values below the
        type marker. There is new magic macro machinery in
        frames.h that simplifies defining the offsets of these fields
        in typed frames.
      * A new flag in the CallDescriptor enables specifying whether
        a frame is a standard frame or a typed frame. Secondary
        register location spilling is now only enabled for standard
        frames.
      * A zillion places in the code have been updated to deal with
        the fact that most code stubs and internal frames use the
        typed frame format. This includes changes in the
        deoptimizer, debugger, and liveedit.
      * StandardFrameConstants::kMarkerOffset is deprecated,
        (CommonFrameConstants::kContextOrFrameTypeOffset
        and StandardFrameConstants::kFrameOffset are now used
        in its stead).
      
      LOG=N
      
      Review URL: https://codereview.chromium.org/1696043002
      
      Cr-Commit-Position: refs/heads/master@{#34571}
      9dcd0857
  2. 30 Sep, 2015 1 commit
  3. 13 Jul, 2015 1 commit
  4. 07 Jul, 2015 1 commit
  5. 25 Jun, 2015 1 commit
  6. 10 Mar, 2015 1 commit
  7. 09 Jul, 2014 1 commit
  8. 20 May, 2014 1 commit
  9. 29 Apr, 2014 1 commit
  10. 12 Mar, 2014 1 commit
  11. 07 Jan, 2014 1 commit
  12. 20 Nov, 2013 1 commit
  13. 30 Jul, 2013 1 commit
  14. 08 Apr, 2013 1 commit
  15. 06 Mar, 2013 1 commit
  16. 13 Feb, 2013 1 commit
  17. 26 Jan, 2012 1 commit
  18. 29 Nov, 2011 1 commit
  19. 21 Nov, 2011 1 commit
  20. 13 Oct, 2011 1 commit
  21. 13 Sep, 2011 1 commit
  22. 05 Sep, 2011 1 commit
  23. 01 Sep, 2011 1 commit
  24. 26 Aug, 2011 1 commit
  25. 16 Aug, 2011 1 commit
  26. 24 May, 2011 1 commit
  27. 16 May, 2011 1 commit
  28. 09 May, 2011 1 commit
  29. 01 Apr, 2011 1 commit
  30. 28 Mar, 2011 1 commit
  31. 23 Mar, 2010 1 commit
  32. 04 Feb, 2010 1 commit
  33. 04 Nov, 2009 1 commit
  34. 29 Oct, 2009 1 commit
  35. 27 Oct, 2009 1 commit
  36. 26 Oct, 2009 2 commits
  37. 10 Jun, 2009 2 commits
  38. 25 May, 2009 1 commit