1. 13 Oct, 2017 1 commit
  2. 13 Sep, 2017 1 commit
  3. 29 May, 2017 1 commit
  4. 25 Apr, 2017 1 commit
    • ulan's avatar
      Decouple root visitors from object visitors. · e671ed36
      ulan authored
      This patch adds a new interface called RootVisitor and changes the root
      iteration functions to accept a RootVisitor instead of an ObjectVisitor.
      
      Future CLs will change ObjectVisitor to provide the host object to all
      visiting functions, which will bring it in sync with static visitors.
      
      Having separate visitors for roots and objects removes ambiguity in
      VisitPointers and reduces chances of forgetting to record slots.
      
      This is intended as pure refactoring. All places that require behavior
      change are marked with TODO and will addressed in future CLs.
      
      BUG=chromium:709075
      
      Review-Url: https://codereview.chromium.org/2801073006
      Cr-Commit-Position: refs/heads/master@{#44852}
      e671ed36
  5. 19 Apr, 2017 1 commit
  6. 11 Apr, 2017 1 commit
    • yangguo's avatar
      [snapshot] encode resource before serializing. · 7a8d20a7
      yangguo authored
      Before serializing an external string for a native source, we replace
      its resource field with the type and index of the native source. Upon
      deserialization, we restore the resource.
      
      This change also removes the native source caches with a more straight-
      forward mechanism to find the resource type and index.
      
      R=ulan@chromium.org
      
      Review-Url: https://codereview.chromium.org/2807023003
      Cr-Commit-Position: refs/heads/master@{#44545}
      7a8d20a7
  7. 17 Mar, 2017 2 commits
  8. 13 Mar, 2017 1 commit
    • binji's avatar
      Reland moving Atomics builtins to C++ · 65200967
      binji authored
      This reverts the previous revert, commit
      5a04f4fd.
      
      Previously reverted changes:
      
      >    Revert "[SAB] Move Atomics builtins to C++"
      >
      >     This reverts commit 2b9840d8.
      >
      >     Revert "[SAB] Remove unreachable Uint8Clamped atomics paths"
      >
      >     This reverts commit d1160fb1.
      >
      >     Revert "Remove tiny unit test for MinSimple/MaxSimple"
      >
      >     This reverts commit 837760ec.
      >
      >     Revert "Remove infrastructure for experimental JS natives"
      >
      >     This reverts commit 8cfe45b6.
      
      These changes were reverted to improve a perf regression on a Chrome
      bot. Since then, the regression has reappeared, then disappeared again
      all from seemingly unrelated changes.
      
      BUG=v8:6033
      TBR=adamk@chromium.org,hpayer@chromium.org,yangguo@chromium.org
      
      Review-Url: https://codereview.chromium.org/2732213005
      Cr-Commit-Position: refs/heads/master@{#43758}
      65200967
  9. 27 Feb, 2017 1 commit
  10. 24 Feb, 2017 1 commit
    • adamk's avatar
      Remove infrastructure for experimental JS natives · 8cfe45b6
      adamk authored
      Now that no harmony-flagged features are implemented in experimental
      JS, most of this is simply dead code.
      
      As PostExperimentals() is no longer needed, I also removed the use of
      Import() in the debug context, allowing the deletion of PostDebug()
      along with PostExperimentals(); cleanup code is moved to the
      end of PostNatives.
      
      Also gets rid of some longer-dead code in prologue.js related to
      TypedArrays, and some duplicate code for setting up SharedArrayBuffer
      builtins.
      
      Review-Url: https://codereview.chromium.org/2705293004
      Cr-Commit-Position: refs/heads/master@{#43418}
      8cfe45b6
  11. 15 Feb, 2017 1 commit
    • littledan's avatar
      [bootstrapper] Remove Intl experimental natives files · 407d6bf1
      littledan authored
      These experimental natives previously only installed functions to the
      appropriate parent. In this patch, the exports container is retained
      so that the bootstrapper may install the functions instead. This
      change is intended to reduce startup time. SharedArrayBuffer retains
      some experimental natives exported from JS; this may be addressed
      in a follow-on patch. The patch includes some minor cleanup of the
      bootstrap process by removing "experimental exports", which was unused.
      
      R=yangguo@chromium.org
      BUG=v8:5880
      CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux_noi18n_rel_ng
      
      Review-Url: https://codereview.chromium.org/2683083003
      Cr-Commit-Position: refs/heads/master@{#43221}
      407d6bf1
  12. 09 Jan, 2017 1 commit
  13. 07 Jul, 2016 1 commit
  14. 27 Jun, 2016 1 commit
  15. 15 Jun, 2016 1 commit
  16. 27 Apr, 2016 1 commit
    • ssanfilippo's avatar
      [Interpreter] Add Ignition statistics JavaScript extension. · 905becd1
      ssanfilippo authored
      This commit introduces IgnitionStatisticsExtension, which provides
      methods for accessing Ignition statistics and counters from JavaScript.
      
      The extension is registered when FLAG_ignition and
      FLAG_trace_ignition_dispatches are both enabled.
      
      For the moment, the only exposed function is
      getIgnitionDispatchCounters(), which allows to retrieve Ignition
      dispatch counters as a JavaScript object.
      
      BUG=v8:4899
      LOG=N
      
      Review URL: https://codereview.chromium.org/1899133004
      
      Cr-Commit-Position: refs/heads/master@{#35816}
      905becd1
  17. 05 Feb, 2016 1 commit
  18. 02 Feb, 2016 1 commit
    • jarin's avatar
      Remove the template magic from types.(h|cc), remove types-inl.h. · ef35f11c
      jarin authored
      This CL removes the Config templatization from the types. It is not
      necessary anymore, after the HeapTypes have been removed.
      
      The CL also changes the type hierarchy - the specific type kinds are
      not inner classes of the Type class and they do not inherit from Type.
      This is partly because it seems impossible to make this work without
      templates. Instead, a new TypeBase class is introduced and all the
      structural (i.e., non-bitset) types inherit from it.
      
      The bitset type still requires the bit-munging hack and some nasty
      reinterpret-casts to pretend bitsets are of type Type*. Additionally,
      there is now the same hack for TypeBase - all pointers to the sub-types
      of TypeBase are reinterpret-casted to Type*. This is to keep the type
      constructors in inline method definitions (although it is unclear how
      much that actually buys us).
      
      In future, we would like to move to a model where we encapsulate Type*
      into a class (or possibly use Type where we used to use Type*). This
      would loosen the coupling between bitset size and pointer size, and
      eventually we would be able to have more bits.
      
      TBR=bradnelson@chromium.org
      
      Review URL: https://codereview.chromium.org/1655833002
      
      Cr-Commit-Position: refs/heads/master@{#33656}
      ef35f11c
  19. 02 Dec, 2015 1 commit
    • danno's avatar
      [stubs] A new approach to TF stubs · 3e7e3ed7
      danno authored
      * Add a sibling interface to InterpreterAssembler called
        CodeStubAssembler which provides a wrapper around the
        RawMachineAssembler and is intented to make it easy to build
        efficient cross-platform code stubs. Much of the implementation
        of CodeStubAssembler is shamelessly stolen from the
        InterpreterAssembler, and the idea is to eventually merge the
        two interfaces somehow, probably moving the
        InterpreterAssembler interface over to use the
        CodeStubAssembler. Short-term, however, the two interfaces
        shall remain decoupled to increase our velocity developing the
        two systems in parallel.
      * Implement the StringLength stub in TurboFan with the new
        CodeStubAssembler. Replace and remove the old Hydrogen-stub
        version.
      * Remove a whole slew of machinery to support JavaScript-style
        code stub generation, since it ultimately proved unwieldy,
        brittle and baroque. This cleanup includes removing the shared
        code stub context, several example stubs and a tangle of build
        file changes.
      
      BUG=v8:4587
      LOG=n
      
      Review URL: https://codereview.chromium.org/1475953002
      
      Cr-Commit-Position: refs/heads/master@{#32508}
      3e7e3ed7
  20. 02 Nov, 2015 1 commit
  21. 30 Sep, 2015 1 commit
  22. 28 Sep, 2015 1 commit
    • jkummerow's avatar
      objects-inl.h: Remove ACCESSORS_TO_SMI macro · 7117acd2
      jkummerow authored
      Replacing it with SMI_ACCESSORS.
      This change makes accesses to Smi fields in objects more regular (the
      accessors now always consume/return an int rather than a Smi*), which
      avoids a bunch of manual Smi::FromInt() and Smi::value() conversions,
      and is a step on the way towards being able to generate objects-inl.h.
      
      Review URL: https://codereview.chromium.org/1371893002
      
      Cr-Commit-Position: refs/heads/master@{#30975}
      7117acd2
  23. 28 Aug, 2015 1 commit
  24. 27 Aug, 2015 1 commit
  25. 26 Aug, 2015 1 commit
  26. 21 Aug, 2015 1 commit
    • yangguo's avatar
      Unify symbols sharing across native scripts and runtime. · eaba98d9
      yangguo authored
      We currently have several ways to share symbols that are used in
      both native scripts and the runtime. This change unifies this.
      We do not use the symbols registry since we don't need the
      registry any longer after bootstrapping, but the registry stays
      alive afterwards.
      
      R=mlippautz@chromium.org, rossberg@chromium.org
      
      Review URL: https://codereview.chromium.org/1293493004
      
      Cr-Commit-Position: refs/heads/master@{#30280}
      eaba98d9
  27. 20 Aug, 2015 1 commit
    • domenic's avatar
      Add experimental, non-snapshotted V8 extras · 6f582f08
      domenic authored
      Embedders would use these for features which must be able to be turned
      off at runtime, despite being compiled into V8. They can be turned on
      and off by the embedder using the --experimental_extras flag, e.g. via
      v8::SetFlagsFromString.
      
      R=yangguo@chromium.org, mlippautz@chromium.org, hpayer@chromium.org
      BUG=chromium:507137
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1284413002
      
      Cr-Commit-Position: refs/heads/master@{#30260}
      6f582f08
  28. 19 Aug, 2015 1 commit
  29. 14 Aug, 2015 1 commit
  30. 12 Aug, 2015 1 commit
  31. 13 Jul, 2015 1 commit
    • danno's avatar
      Create a internal native context used only for TF-generated code stubs · a1475dae
      danno authored
      Until now, TF-generated code stubs piggy-backed off of the builtin
      context. Since generation of code stubs is lazy, stubs generated at
      different times in different native contexts would contain embedded
      pointers different builtin contexts, leading to cross-context references
      and memory leaks.
      
      After this CL, all TF-generated code stubs are generated inside a
      internal thinned-out, native context that lives solely for the
      purpose of hosting generated code stubs.
      
      Review URL: https://codereview.chromium.org/1213203007
      
      Cr-Commit-Position: refs/heads/master@{#29593}
      a1475dae
  32. 06 Jul, 2015 1 commit
  33. 30 Apr, 2015 1 commit
  34. 20 Apr, 2015 1 commit
  35. 09 Feb, 2015 1 commit
  36. 12 Dec, 2014 1 commit
  37. 10 Sep, 2014 1 commit
  38. 08 Sep, 2014 1 commit
  39. 02 Sep, 2014 1 commit