1. 23 May, 2018 1 commit
  2. 21 May, 2018 1 commit
  3. 08 May, 2018 1 commit
  4. 07 May, 2018 2 commits
  5. 03 May, 2018 1 commit
  6. 01 May, 2018 1 commit
  7. 27 Apr, 2018 1 commit
  8. 26 Apr, 2018 1 commit
    • Jungshik Shin's avatar
      Fix the fast path for locale canonicalization · 919270e0
      Jungshik Shin authored
      Not all 2 or 3 letter language codes are canonical. Some of them need
      to be canonicalized.
      
      Specifically, exclude {jw,ji,iw,in} and all three-letter codes from the
      fast path except for 'fil'.
      
      {jw,ji,iw,in} are deprecated ISO 639 codes for
      {Javanese, Yiddish, Hebrew, Indonesian}. They should be
      canonicalized to {jv,yi,he,id}. So, do not return early
      in the fast path, but pass it down to the full canonicalization.
      
      In addition, there are 70+ deprecated 3-letter codes that need to be
      replaced by their modern equivalents. Instead of checking and replacing
      in v8, just pass them to ICU to handle.
      
      Along with the following ICU change, two more tests will pass.
      
        https://chromium-review.googlesource.com/c/chromium/deps/icu/+/1026797
      
      These two tests still fail because of the disagreement between ICU and the test
      expectations about 5 grandfathered tags with no preferred value (e.g.
      i-default, zh-min, cel-gaulish).
      
        'intl402/Intl/getCanonicalLocales/canonicalized-tags'
        'intl402/Intl/getCanonicalLocales/preferred-grandfathered'
      
      Bug: v8:5693, v8:7669
      Test: test262/intl402/language-tags-canonicalized.js
      Test: test262/intl402/Intl/preferred-variants.js
      Test: intl/general/language_tags_with_preferred_values.js
      Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
      Change-Id: Ide7e9c90ac046859604c7b71c641f84ce9c64be5
      Reviewed-on: https://chromium-review.googlesource.com/1023379Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Commit-Queue: Jungshik Shin <jshin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52823}
      919270e0
  9. 25 Apr, 2018 3 commits
  10. 16 Apr, 2018 1 commit
  11. 12 Apr, 2018 1 commit
  12. 05 Apr, 2018 1 commit
  13. 30 Mar, 2018 1 commit
  14. 28 Mar, 2018 6 commits
  15. 26 Mar, 2018 1 commit
  16. 15 Mar, 2018 2 commits
  17. 03 Mar, 2018 2 commits
  18. 02 Mar, 2018 1 commit
  19. 28 Feb, 2018 1 commit
  20. 22 Feb, 2018 1 commit
  21. 16 Feb, 2018 1 commit
  22. 14 Feb, 2018 1 commit
  23. 12 Feb, 2018 1 commit
    • Caitlin Potter's avatar
      [esnext] implement spec change to TaggedTemplate callsite caching · d3ca0d00
      Caitlin Potter authored
      Implements the change outlined in https://github.com/tc39/ecma262/pull/890,
      which has been ratified and pulled into the specification. In particular,
      template callsite objects are no longer kept in a global, eternal Map, but
      are instead associated with their callsite, which can be collected. This
      prevents a memory leak incurred by TaggedTemplate calls.
      
      Changes, summarized:
      
          - Remove the TemplateMap and TemplateMapShape objects, instead caching
            template objects in the feedback vector.
          - Remove the `hash` member of TemplateObjectDescriptor, and the Equals
            method (used by TemplateMap)
          - Add a new FeedbackSlotKind (kTemplateObject), which behaves similarly
            to FeedbackSlotKind::kLiteral, but prevents eval caching. This ensures
            that a new feedback vector is always created for eval() containing tagged
            templates, even when the CompilationCache is used.
          - GetTemplateObject bytecode now takes a feedback index, and only calls
            into the runtime if the feedback is Smi::kZero (uninitialized).
      
      BUG=v8:3230, v8:2891
      R=littledan@chromium.org, yangguo@chromium.org, bmeurer@chromium.org,
      rmcilroy@chromium.org
      
      Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
      Change-Id: I7827bc148d3d93e2b056ebf63dd624da196ad423
      Reviewed-on: https://chromium-review.googlesource.com/624564
      Commit-Queue: Caitlin Potter <caitp@igalia.com>
      Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51248}
      d3ca0d00
  24. 02 Feb, 2018 1 commit
  25. 01 Feb, 2018 2 commits
  26. 31 Jan, 2018 2 commits
  27. 30 Jan, 2018 2 commits