1. 09 Jan, 2017 1 commit
    • littledan's avatar
      [intl] Remove redundant type checking system · 788c96a9
      littledan authored
      Previously, the Intl implementation tracked types two ways:
       - In the intl_initialized_marker_symbol
       - In various named properties of the intl_impl_object_symbol value
      
      As far as I can tell, these will never disagree with each other,
      modulo bugs in Intl itself. This patch removes the second type
      checking system.
      
      This reland includes a fixed type check for
      Intl.DateTimeFormat.prototype.formatToParts , which is the only Intl
      method which is not bound. All future methods will follow this
      pattern.
      
      The second reland ensures that a newly inserted test is only run
      if Intl is present.
      
      BUG=v8:5751,chromium:677055, v8:4962
      CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux_noi18n_rel_ng
      
      TBR=yangguo@chromium.org
      
      Review-Url: https://codereview.chromium.org/2623683002
      Cr-Commit-Position: refs/heads/master@{#42152}
      788c96a9
  2. 02 May, 2016 1 commit
    • littledan's avatar
      Use InternalArrays from certain Intl code · 4f374bbc
      littledan authored
      The ECMA 402 implementation previously pushed directly to real
      Arrays, which risks having observably incorrect behavior in the
      presence of monkey patching. This patch uses InternalArrays instead
      to avoid that hazard.
      
      R=jshin@chromium.org,yangguo@chromium.org
      BUG=chromium:604299
      LOG=N
      
      Review-Url: https://codereview.chromium.org/1923803002
      Cr-Commit-Position: refs/heads/master@{#35949}
      4f374bbc
  3. 26 Apr, 2016 1 commit
  4. 18 Mar, 2016 1 commit
  5. 26 Feb, 2016 1 commit
    • bmeurer's avatar
      [runtime] Make target checking for %Call and %_Call consistent. · 45876462
      bmeurer authored
      The %_Call intrinsic (if supported by the compiler) is lowered directly
      to the Call builtin and thus throws a TypeError if the target is not
      callable. The %Call runtime function also eventually calls into the Call
      builtin, but had an early abort if the target is not a JSReceiver, which
      is unnecessary and leads to various test failures for Ignition.
      
      R=mvstanton@chromium.org
      
      Review URL: https://codereview.chromium.org/1727833006
      
      Cr-Commit-Position: refs/heads/master@{#34316}
      45876462
  6. 03 Feb, 2016 1 commit
  7. 02 Feb, 2016 1 commit
  8. 29 Jan, 2016 1 commit
    • littledan's avatar
      Fix Unicode string normalization with null bytes · f3e41d96
      littledan authored
      Previously, String.prototype.normalize constructed its ICU input
      string as a null-terminated string. This creates a bug for strings
      which contain a null byte, which is allowed in ECMAScript. This
      patch constructs the ICU string based on its length so that the
      entire string is normalized.
      
      R=jshin@chromium.org
      BUG=v8:4654
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1645223003
      
      Cr-Commit-Position: refs/heads/master@{#33614}
      f3e41d96
  9. 04 Jan, 2016 1 commit