1. 27 Oct, 2016 2 commits
    • bmeurer's avatar
      [crankshaft] Support all oddballs for truncating TaggedToI changes. · 7d383be9
      bmeurer authored
      For inputs to truncating binary operations like <<, | or >>>, support
      all Oddballs not just undefined, true and false. This unifies treatment
      of these truncations in Crankshaft and TurboFan, and is very easy
      nowadays, since the memory layout of Oddball and HeapNumber is
      compatible.
      
      R=yangguo@chromium.org
      BUG=v8:5400
      
      Review-Url: https://codereview.chromium.org/2452193003
      Cr-Commit-Position: refs/heads/master@{#40608}
      7d383be9
    • zhengxing.li's avatar
      X87: [crankshaft] Refactor kAllowUndefinedAsNaN to kTruncatingToNumber. · 9bc155b9
      zhengxing.li authored
        port df981a9f (r40577)
      
        original commit message:
        The meaning of the HValue::kAllowUndefinedAsNaN is actually ToNumber
        conversion (except for the uses in HBranch and HCompareHoleAndBranch,
        which were confusing and useless anyways), so fix the naming to match
        that.
      
        Also properly integrate the handling of this flag with the existing
        truncation analysis that is run as part of the representation changes
        phase (i.e. where we already deal with truncating to int32 and smi).
      
        This is done in preparation of allowing Crankshaft to handle any kind
        of Oddball in the ToNumber truncation, instead of just undefined for
        truncation ToNumber and undefined or boolean for ToInt32. It also helps
        to make Crankshaft somewhat more compatible with the (saner)
        implementation in TurboFan.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2456503003
      Cr-Commit-Position: refs/heads/master@{#40607}
      9bc155b9
  2. 26 Oct, 2016 34 commits
  3. 25 Oct, 2016 4 commits