1. 22 Mar, 2017 1 commit
  2. 20 Mar, 2017 1 commit
  3. 17 Mar, 2017 1 commit
    • neis's avatar
      Disentangle assembler from isolate. · 94b088ca
      neis authored
      This is a first step towards moving Turbofan code generation off the main thread.
      
      Summary of the changes:
      - AssemblerBase no longer has a pointer to the isolate. Instead, its
        constructor receives the few things that it needs from the isolate (on most
        architectures this is just the serializer_enabled flag).
      - RelocInfo no longer has a pointer to the isolate. Instead, the functions
        that need it take it as an argument.  (There are currently still a few that
        implicitly access the isolate through a HeapObject.)
      - The MacroAssembler now explicitly holds a pointer to the isolate (before, it
        used to get it from the Assembler).
      - The jit_cookie also moved from AssemblerBase to the MacroAssemblers, since
        it's not used at all in the Assemblers.
      - A few architectures implemented parts of the Assembler with the help
        of a Codepatcher that is based on MacroAssembler.  Since the Assembler no
        longer has the isolate, but the MacroAssembler still needs it, this doesn't
        work anymore.  Instead, these Assemblers now use a new PatchingAssembler.
      
      BUG=v8:6048
      
      Review-Url: https://codereview.chromium.org/2732273003
      Cr-Commit-Position: refs/heads/master@{#43890}
      94b088ca
  4. 16 Mar, 2017 2 commits
  5. 15 Mar, 2017 1 commit
  6. 14 Mar, 2017 1 commit
  7. 10 Mar, 2017 1 commit
  8. 09 Mar, 2017 1 commit
  9. 08 Mar, 2017 1 commit
  10. 07 Mar, 2017 2 commits
  11. 22 Feb, 2017 1 commit
  12. 21 Feb, 2017 2 commits
  13. 14 Feb, 2017 1 commit
  14. 13 Feb, 2017 4 commits
  15. 09 Feb, 2017 3 commits
  16. 08 Feb, 2017 1 commit
  17. 07 Feb, 2017 2 commits
  18. 06 Feb, 2017 1 commit
    • mvstanton's avatar
      [TypeFeedbackVector] Root feedback vectors at function literal site. · aea3ce3d
      mvstanton authored
      TypeFeedbackVectors are strongly rooted by a closure. However, in modern
      JavaScript closures are created and abandoned more freely. An important
      closure may not be present in the root-set at time of garbage collection,
      even though we've cached optimized code and use it regularly. For
      example, consider leaf functions in an event dispatching system. They may
      well be "hot," but tragically non-present when we collect the heap.
      
      Until now, we've relied on a weak root to cache the feedback vector in
      this case. Since there is no way to signal intent or relative importance,
      this weak root is as susceptible to clearing as any other weak root at
      garbage collection time.
      
      Meanwhile, the feedback vector has become more important. All of our
      ICs store their data there. Literal and regex boilerplates are stored there.
      If we lose the vector, then we not only lose optimized code built from
      it, we also lose the very feedback which allowed us to create that optimized
      code. Therefore it's vital to express that dependency through the root
      set.
      
      This CL does this by creating a strong link to a feedback
      vector at the instantiation site of the function closure.
      This instantiation site is in the code and feedback vector
      of the outer closure.
      
      BUG=v8:5456
      
      Review-Url: https://codereview.chromium.org/2674593003
      Cr-Commit-Position: refs/heads/master@{#42953}
      aea3ce3d
  19. 04 Feb, 2017 1 commit
  20. 03 Feb, 2017 1 commit
    • Ilija.Pavlovic's avatar
      MIPS[64]: Add support for FPR content in simulator trace. · dac13275
      Ilija.Pavlovic authored
      Simulator trace will display content of target floating point registers.
      Content of FP registers is displayed in hexadecimal form which is
      followed with float or/and double interpretation.
      Also, with this implementation will be displayed contents of general
      purpose registers (GPRs). Hexadecimal form is followed with signed
      and unsigned integer interpretation (32-bit or/and 64-bit).
      
      TEST=
      BUG=
      
      Review-Url: https://codereview.chromium.org/2603083002
      Cr-Commit-Position: refs/heads/master@{#42911}
      dac13275
  21. 02 Feb, 2017 3 commits
  22. 30 Jan, 2017 1 commit
    • mvstanton's avatar
      [TypeFeedbackVector] Combine the literals array and the feedback vector. · 93f05b64
      mvstanton authored
      They have the same lifetime. It's a match!
      
      Both structures are native context dependent and dealt with (creation,
      clearing, gathering feedback) at the same time. By treating the spaces used
      for literal boilerplates as feedback vector slots, we no longer have to keep
      track of the materialized literal count elsewhere.
      
      A follow-on CL removes even more parser infrastructure related to this count.
      
      BUG=v8:5456
      
      Review-Url: https://codereview.chromium.org/2655853010
      Cr-Commit-Position: refs/heads/master@{#42771}
      93f05b64
  23. 27 Jan, 2017 1 commit
    • yangguo's avatar
      [liveedit] reimplement frame restarting. · 3f47c63d
      yangguo authored
      Previously, when restarting a frame, we would rewrite all frames
      between the debugger activation and the frame to restart to squash
      them, and replace the return address with that of a builtin to
      leave that rewritten frame, and restart the function by calling it.
      
      We now simply remember the frame to drop to, and upon returning
      from the debugger, we check whether to drop the frame, load the
      new FP, and restart the function.
      
      R=jgruber@chromium.org, mstarzinger@chromium.org
      BUG=v8:5587
      
      Review-Url: https://codereview.chromium.org/2636913002
      Cr-Commit-Position: refs/heads/master@{#42725}
      3f47c63d
  24. 26 Jan, 2017 2 commits
    • bmeurer's avatar
      [turbofan] Introduce JSCallForwardVarargs operator. · 69747e26
      bmeurer authored
      We turn a JSCallFunction node for
      
        f.apply(receiver, arguments)
      
      into a JSCallForwardVarargs node, when the arguments refers to the
      arguments of the outermost optimized code object, i.e. not an inlined
      arguments, and the apply method refers to Function.prototype.apply,
      and there's no other user of arguments except in frame states.
      
      We also replace the arguments node in the graph with a marker for
      the Deoptimizer similar to Crankshaft to make sure we don't materialize
      unused arguments just for the sake of deoptimization. We plan to replace
      this with a saner EscapeAnalysis based solution soon.
      
      R=jarin@chromium.org
      BUG=v8:5267,v8:5726
      
      Review-Url: https://codereview.chromium.org/2655233002
      Cr-Commit-Position: refs/heads/master@{#42680}
      69747e26
    • mstarzinger's avatar
      [deoptimizer] Preserve double bit patterns correctly. · 7376e12e
      mstarzinger authored
      This makes sure that the deoptimizer preserves the exact bit pattern of
      floating-point values (both 32-bit and 64-bit) up to the point where a
      potential {HeapNumber} is allocated. It in turn allows us to correctly
      recognize the {hole_nan_value} when stored into a {FixedDouleArray}.
      
      R=jarin@chromium.org
      TEST=mjsunit/regress/regress-crbug-684208
      BUG=chromium:684208
      
      Review-Url: https://codereview.chromium.org/2652303002
      Cr-Commit-Position: refs/heads/master@{#42679}
      7376e12e
  25. 19 Jan, 2017 1 commit
  26. 17 Jan, 2017 1 commit
  27. 12 Jan, 2017 2 commits