1. 09 Feb, 2016 9 commits
    • hpayer's avatar
      Tenure long-living descriptor arrays. · bf521632
      hpayer authored
      BUG=chromium:580971
      LOG=n
      
      Review URL: https://codereview.chromium.org/1681533003
      
      Cr-Commit-Position: refs/heads/master@{#33840}
      bf521632
    • mstarzinger's avatar
      Switch GetConcurrentlyOptimizedCode to MaybeHandle. · b881c908
      mstarzinger authored
      The function in question can already return an empty handle in the case
      of failures. This makes that contract explicit by using MaybeHandle like
      all other compiler API functions.
      
      R=yangguo@chromium.org
      
      Review URL: https://codereview.chromium.org/1590963002
      
      Cr-Commit-Position: refs/heads/master@{#33839}
      b881c908
    • yangguo's avatar
      [regexp] simplify unanchored advance for unicode regexps. · 33c78c39
      yangguo authored
      When doing advance at the start of an unanchored unicode regexp,
      we do not have to care about surrogate pairs. If we actually advance
      into the middle of a surrogate pair, the only choice is to also
      consume trail surrogate as nothing else can match from there.
      
      This reduces the emitted code slightly. By not having choice in the
      loop, we do not have to push backtrack onto the stack, preventing
      stack overflow.
      
      R=erik.corry@gmail.com, erikcorry@chromium.org
      
      Review URL: https://codereview.chromium.org/1676293003
      
      Cr-Commit-Position: refs/heads/master@{#33838}
      33c78c39
    • yangguo's avatar
      [regexp] fix off-by-one in UnicodeRangeSplitter. · 5082eaee
      yangguo authored
      R=bmeurer@chromium.org
      
      Review URL: https://codereview.chromium.org/1681873002
      
      Cr-Commit-Position: refs/heads/master@{#33837}
      5082eaee
    • mstarzinger's avatar
      [interpreter] Workaround for unused frame states. · 3c8edd31
      mstarzinger authored
      This is a temporary workaround for bytecodes which are not guaranteed
      to actually use the frame states being created for them. One example
      for this are runtime calls to intrinsics, or to runtime functions for
      which the frame state count is zero in Linkage::FrameStateInputCount.
      
      This will eventually be reworked into a more generic mechanism that
      attaches frame states in the BytecodeGraphBuilder::VisitBytecodes
      iteration method itself, instead of in the individual visitors.
      
      R=jarin@chromium.org
      
      Review URL: https://codereview.chromium.org/1676293002
      
      Cr-Commit-Position: refs/heads/master@{#33836}
      3c8edd31
    • bmeurer's avatar
      Revert of [builtins] Remove bunch of uses of %_Arguments and... · dca275ba
      bmeurer authored
      Revert of [builtins] Remove bunch of uses of %_Arguments and %_ArgumentsLength. (patchset #1 id:1 of https://codereview.chromium.org/1678953004/ )
      
      Reason for revert:
      Breaks tree
      
      Original issue's description:
      > [builtins] Remove bunch of uses of %_Arguments and %_ArgumentsLength.
      >
      > There are a bunch of places in our builtins where we use %_Arguments and
      > %_ArgumentsLength for no good reason, as arguments object and/or rest
      > parameter is as good and performant in these cases. Now the only uses
      > of %_Arguments and %_ArgumentsLength left are in string.js, which
      > requires dedicated investigation.
      >
      > R=yangguo@chromium.org
      >
      > Committed: https://crrev.com/2160429fd458e3c095475e718c97f77ac90d906f
      > Cr-Commit-Position: refs/heads/master@{#33834}
      
      TBR=yangguo@chromium.org
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      
      Review URL: https://codereview.chromium.org/1677063005
      
      Cr-Commit-Position: refs/heads/master@{#33835}
      dca275ba
    • bmeurer's avatar
      [builtins] Remove bunch of uses of %_Arguments and %_ArgumentsLength. · 2160429f
      bmeurer authored
      There are a bunch of places in our builtins where we use %_Arguments and
      %_ArgumentsLength for no good reason, as arguments object and/or rest
      parameter is as good and performant in these cases. Now the only uses
      of %_Arguments and %_ArgumentsLength left are in string.js, which
      requires dedicated investigation.
      
      R=yangguo@chromium.org
      
      Review URL: https://codereview.chromium.org/1678953004
      
      Cr-Commit-Position: refs/heads/master@{#33834}
      2160429f
    • bmeurer's avatar
      [intrinsics] Kill the %_IsMinusZero intrinsic. · 00f7d1f5
      bmeurer authored
      By now only the default %TypedArray%.prototype.sort compare function
      and the JS implementation of SameValueZero were still using the odd
      %_IsMinusZero intrinsic, whose semantics both included a number check
      (actually HeapNumber test) plus testing if the heap number stores the
      special -0 value. In both cases we already know that we deal with
      number so we can reduce it to a simple number test for -0, which can
      be expressed via dividing 1 by that value and checking the sign of
      the result. In case of the compare function, we can be even smarter
      and work with the reciprocal values in case x and y are equal to 0
      (although long term we should probably rewrite the fast case for
      the typed array sorting function in C++ anyway, which will be way,
      way faster than our handwritten callback-style, type-feedback
      polluted JS implementation).
      
      R=yangguo@chromium.org
      
      Review URL: https://codereview.chromium.org/1680783002
      
      Cr-Commit-Position: refs/heads/master@{#33833}
      00f7d1f5
    • v8-autoroll's avatar
      Update V8 DEPS. · edeaa188
      v8-autoroll authored
      Rolling v8/tools/clang to fa731f3e12b54c519e08c0fe9b26cf12274df20c
      
      TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org
      
      Review URL: https://codereview.chromium.org/1677363003
      
      Cr-Commit-Position: refs/heads/master@{#33832}
      edeaa188
  2. 08 Feb, 2016 31 commits