1. 19 Jun, 2019 1 commit
  2. 23 May, 2019 2 commits
  3. 22 May, 2019 1 commit
  4. 20 May, 2019 1 commit
  5. 17 May, 2019 2 commits
  6. 03 Aug, 2018 1 commit
  7. 23 Jun, 2018 1 commit
  8. 20 Jun, 2018 1 commit
  9. 24 May, 2018 1 commit
  10. 23 Feb, 2018 1 commit
    • jgruber's avatar
      Remove unused runtime functions · 1ee80eba
      jgruber authored
      The list of runtime function use counts was generated with:
      
      $ grep -o '^ *F(\w*' src/runtime/runtime.h | sed 's/^ *F(//' | sort | while read f; do USE_COUNT=$(git grep "\(Runtime::k\|Runtime::kInline\|%\|%_\)$f" | wc -l); echo $USE_COUNT $f; done
      
      This reduces libv8.so size by 59K on an x64 release build.
      
      Bug: v8:7310
      Change-Id: Ib4d097e63ed065f41bf73e9529e4354575be5229
      Reviewed-on: https://chromium-review.googlesource.com/934272Reviewed-by: 's avatarSathya Gunasekaran <gsathya@chromium.org>
      Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51526}
      1ee80eba
  11. 18 Dec, 2017 1 commit
  12. 11 Oct, 2017 2 commits
    • Jan Krems's avatar
      Reland "[modules] Implement import.meta proposal" · 1c552999
      Jan Krems authored
      This is a reland of ed6f00fb
      Original change's description:
      > [modules] Implement import.meta proposal
      > 
      > Rewrites references to import.meta to a new GetImportMetaObject runtime
      > call. Embedders can define a callback for creating the meta object using
      > v8::Isolate::SetHostGetImportMetaObjectCallback. If no callback has been
      > provided, an empty object with null prototype is created.
      > 
      > This adds an example implementation to d8 that sets meta.url.
      > 
      > Bug: v8:6693
      > Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      > Change-Id: I6871eec79da45bba81bbbc84b1ffff48534c368d
      > Reviewed-on: https://chromium-review.googlesource.com/707902
      > Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
      > Reviewed-by: Adam Klein <adamk@chromium.org>
      > Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#48433}
      
      TBR=adamk@chromium.org
      
      Bug: v8:6693
      Change-Id: Ie2d746ad996a56ed6ff50b832f320fe44e02f231
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Reviewed-on: https://chromium-review.googlesource.com/712834Reviewed-by: 's avatarSathya Gunasekaran <gsathya@chromium.org>
      Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48468}
      1c552999
    • Sathya Gunasekaran's avatar
      Revert "[modules] Implement import.meta proposal" · a5565227
      Sathya Gunasekaran authored
      This reverts commit ed6f00fb.
      
      Reason for revert: tree is broken
      
      NOTRY=true
      NOTREECHECKS=true
      
      Original change's description:
      > [modules] Implement import.meta proposal
      > 
      > Rewrites references to import.meta to a new GetImportMetaObject runtime
      > call. Embedders can define a callback for creating the meta object using
      > v8::Isolate::SetHostGetImportMetaObjectCallback. If no callback has been
      > provided, an empty object with null prototype is created.
      > 
      > This adds an example implementation to d8 that sets meta.url.
      > 
      > Bug: v8:6693
      > Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      > Change-Id: I6871eec79da45bba81bbbc84b1ffff48534c368d
      > Reviewed-on: https://chromium-review.googlesource.com/707902
      > Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
      > Reviewed-by: Adam Klein <adamk@chromium.org>
      > Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#48433}
      
      TBR=adamk@chromium.org,gsathya@chromium.org,jan.krems@groupon.com
      
      Change-Id: I908a508d5db84cc8ae60d4fd4a0446bb570c1492
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:6693
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Reviewed-on: https://chromium-review.googlesource.com/710760Reviewed-by: 's avatarSathya Gunasekaran <gsathya@chromium.org>
      Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48434}
      a5565227
  13. 10 Oct, 2017 1 commit
    • Jan Krems's avatar
      [modules] Implement import.meta proposal · ed6f00fb
      Jan Krems authored
      Rewrites references to import.meta to a new GetImportMetaObject runtime
      call. Embedders can define a callback for creating the meta object using
      v8::Isolate::SetHostGetImportMetaObjectCallback. If no callback has been
      provided, an empty object with null prototype is created.
      
      This adds an example implementation to d8 that sets meta.url.
      
      Bug: v8:6693
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I6871eec79da45bba81bbbc84b1ffff48534c368d
      Reviewed-on: https://chromium-review.googlesource.com/707902
      Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
      Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
      Reviewed-by: 's avatarSathya Gunasekaran <gsathya@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48433}
      ed6f00fb
  14. 31 Aug, 2017 1 commit
    • Sathya Gunasekaran's avatar
      [Modules] Introduce ScriptOrModule and HostDefinedOptions · dbfe4a49
      Sathya Gunasekaran authored
      This patch introduces a new container type ScriptOrModule which
      provides the name and the host defined options of the script/module.
      
      This patch also introduces a new PrimitivesArray that can hold
      Primitive values, which the embedder can use to store metadata.
      
      The HostDefinedOptions is passed to V8 through the ScriptOrigin, and
      passed back to the embedder through HostImportModuleDynamically for
      module loading.
      
      Bug: v8:5785, v8:6658, v8:6683
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I56c26fc9a680b273ac0a6691e5ad75f15b8dc80a
      Reviewed-on: https://chromium-review.googlesource.com/622158Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
      Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
      Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47724}
      dbfe4a49
  15. 14 Aug, 2017 1 commit
  16. 29 Jun, 2017 1 commit
  17. 11 Apr, 2017 1 commit
    • gsathya's avatar
      [ESNext] Implement DynamicImportCall · 94283dcf
      gsathya authored
      This patch implements the runtime semantics of dynamic import.
      
      We create a new ASTNode so that we can pass the JSFunction closure() to
      the runtime function from which we get the script_url.
      
      d8 implements the embedder logic required to load and evaluate the modules.
      
      The API is mostly implemented as specified.
      
      BUG=8:5785
      
      Review-Url: https://codereview.chromium.org/2703563002
      Cr-Commit-Position: refs/heads/master@{#44551}
      94283dcf
  18. 13 Feb, 2017 1 commit
  19. 31 Jan, 2017 1 commit
    • gsathya's avatar
      [ESnext] Parse dynamic import expression · e791ded4
      gsathya authored
      Rewrites import expression into a runtime call. Uses peekahead to
      determine if parsing an import declaration or import expression.
      
      The runtime call doesn't actually do the import yet, will be added in
      follow on patch.
      
      Adds a new --harmony-dynamic-import flag.
      
      Adds a ignore_error_msg parameter to the test runner to ignore the
      discrepancy in the error messages while parsing import expression with
      parser and pre parser. This discrepancy will actually never happen in
      real code.
      
      BUG=v8:5785
      
      Review-Url: https://codereview.chromium.org/2661933003
      Cr-Commit-Position: refs/heads/master@{#42820}
      e791ded4
  20. 05 Jan, 2017 1 commit
  21. 07 Nov, 2016 1 commit
    • neis's avatar
      [modules] Maintain array of cells for imports and local exports. · 21463f73
      neis authored
      This makes use of the newly introduced cell indices to speed up variable
      accesses. Imports and local exports are now directly stored in (separate)
      arrays. In the future, we may merge the two arrays into a single one, or
      even into the module context.
      
      This CL also replaces the LoadImport and LoadExport runtime functions with
      a single LoadVariable taking a variable index as argument (rather than a
      name).
      
      BUG=v8:1569
      
      Review-Url: https://codereview.chromium.org/2465283004
      Cr-Commit-Position: refs/heads/master@{#40808}
      21463f73
  22. 11 Oct, 2016 1 commit