1. 25 Feb, 2016 3 commits
    • zhengxing.li's avatar
      X87: [compiler] Drop the CompareNilIC. · b915411c
      zhengxing.li authored
        port 666aec03 (r34237)
      
        original commit message:
        Since both null and undefined are also marked as undetectable now, we
        can just test that bit instead of having the CompareNilIC try to collect
        feedback to speed up the general case (without the undetectable bit
        being used).
      
        Drive-by-fix: Update the type system to match the new handling of
        undetectable in the runtime.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1731383003
      
      Cr-Commit-Position: refs/heads/master@{#34270}
      b915411c
    • jkummerow's avatar
      Tune Array.forEach, fix Array functions · 01d228f3
      jkummerow authored
      When there is no receiver object, plain function calls are a few
      percent faster than %_Call().
      This patch also fixes the HAS_INDEX macro used in a bunch of
      Array.prototype functions to properly check for elements inherited
      from prototypes.
      
      Review URL: https://codereview.chromium.org/1706213002
      
      Cr-Commit-Position: refs/heads/master@{#34269}
      01d228f3
    • jkummerow's avatar
      [runtime] Speed up C++ version of ArrayPush · 2ae50119
      jkummerow authored
      Mostly by avoiding unnecessary Handle/HandleScope creation,
      "length" property lookups, and length conversions.
      This yields about 60% speedup on the microbenchmark I tested with.
      
      Note that the C++ builtin is the middle performance tier of three,
      so not every Array.push use case will be affected by this patch.
      
      Review URL: https://codereview.chromium.org/1716833002
      
      Cr-Commit-Position: refs/heads/master@{#34268}
      2ae50119
  2. 24 Feb, 2016 37 commits