1. 27 Apr, 2018 34 commits
  2. 26 Apr, 2018 6 commits
    • 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
    • Ben Smith's avatar
      [wasm] Update WebAssembly.Global constructor · e3c9f266
      Ben Smith authored
      The new spec has two arguments, the first is the global descriptor, and
      the second is the initial value:
      
          new WebAssembly.Global({type: i32}, 42);
      
      If the initial value argument is omitted, the value is set to 0.
      
      Bug: v8:7625
      Change-Id: I679d4b7c49c69ec7ffcdfeb8ae506fa7ab9bba95
      Reviewed-on: https://chromium-review.googlesource.com/1028847Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Commit-Queue: Ben Smith <binji@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52822}
      e3c9f266
    • Kim-Anh Tran's avatar
      [wasm] Log top-tier code · b3ff8eb9
      Kim-Anh Tran authored
      Top-tier code needs to be explicitly logged after
      compilation.
      
      Change-Id: Ic3c54ff4b7bddd44516a611398b7373fe0acc8d4
      Reviewed-on: https://chromium-review.googlesource.com/1030391Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Commit-Queue: Kim-Anh Tran <kimanh@google.com>
      Cr-Commit-Position: refs/heads/master@{#52821}
      b3ff8eb9
    • Ben L. Titzer's avatar
      [wasm] Implement Managed<T> with std::shared_ptr<T> · b6622682
      Ben L. Titzer authored
      This CL simplifies and extends the implementation of Managed<T>
      and now uses a std::shared_ptr<T> underneath in order to offer
      cross-isolate management of C++ allocated memory.
      
      R=mstarzinger@chromium.org
      CC=ulan@chromium.org
      
      Bug: v8:7424
      Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
      Change-Id: Id43a26f565677e8c9cdfd73810568d4f2b1871fe
      Reviewed-on: https://chromium-review.googlesource.com/1028190Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Commit-Queue: Ben Titzer <titzer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52820}
      b6622682
    • jgruber's avatar
      Reland "[builtins] Introduce further constant & external reference indirections" · 3f99a376
      jgruber authored
      This is a reland of f5d30851
      
      Original change's description:
      > [builtins] Introduce further constant & external reference indirections
      >
      > This introduces further indirections for embedded constants and
      > external references for builtins generated by the macro-assembler.
      > The used mechanisms (LookupConstant and LookupExternalReference) are
      > identical to what we already use in CSA.
      >
      > Almost all builtins are now isolate-independent in both release and
      > debug modes. snapshot_blob.bin is roughly 670K smaller in embedded
      > builds vs. non-embedded builds, while libv8.so is roughly 280K larger.
      >
      > Bug: v8:6666
      > Change-Id: I7a6c2193ef5a763e6cf7543dd51597d6fff6c110
      > Reviewed-on: https://chromium-review.googlesource.com/1006581
      > Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      > Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#52810}
      
      TBR=mstarzinger@chromium.org
      
      Bug: v8:6666
      Change-Id: I73dfe207f2c5f79a9a06c165c75f5619e88a5a17
      Reviewed-on: https://chromium-review.googlesource.com/1030550Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52819}
      3f99a376
    • Alexey Kozyatinskiy's avatar
      Reland "[inspector] added timeout for Debugger.evaluateOnCallFrame method" · c1e4885f
      Alexey Kozyatinskiy authored
      This is a reland of 436faae0
      
      Original change's description:
      > [inspector] added timeout for Debugger.evaluateOnCallFrame method
      > 
      > R=dgozman@chromium.org,yangguo@chromium.org
      > 
      > Bug: none
      > Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel
      > Change-Id: I569899f245190ca2fa720bdb837db1263e8058d5
      > Reviewed-on: https://chromium-review.googlesource.com/1023035
      > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#52798}
      
      Bug: none
      Change-Id: I91219382b5dc45b54dd8e5c64d9f0d11c849b9c8
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel
      Reviewed-on: https://chromium-review.googlesource.com/1030510
      Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52818}
      c1e4885f