1. 14 Sep, 2015 3 commits
    • bmeurer's avatar
      [builtins] Remove STRING_ADD_LEFT and STRING_ADD_RIGHT builtins. · d90a4047
      bmeurer authored
      These builtins present an optimization for the general addition case,
      where one side is already known to be a string. Unfortunately this
      optimization is wrong in the presence of @@toPrimitive (there are some
      ideas how to implement a similar optimization using the prototype
      backpointer mechanism that jkummerow@ introduced earlier). So this
      also removes the broken %_IsStringWrapperSafeForDefaultValueOf, which is
      the key part of the optimization mentioned above.
      
      R=mstarzinger@chromium.org
      BUG=v8:4307
      LOG=n
      
      Review URL: https://codereview.chromium.org/1336273002
      
      Cr-Commit-Position: refs/heads/master@{#30707}
      d90a4047
    • bmeurer's avatar
      [builtins] Simplify String constructor code. · eadfd666
      bmeurer authored
      The String constructor was somewhat complex with a lot of micro
      optimizations that are not relevant or even misguided. It would be
      really hard to port that code to ES6, which requires String to be
      subclassable. So as a first step we reduced the necessary complexity
      to the bare minimum (also removing the last user of the fairly complex
      MacroAssembler::LookupNumberStringCache method).
      
      This also removes the counters for the String constructor, which
      were not properly exposed anymore (and not kept in sync with inlined
      versions of the String constructor anyway).
      
      R=jarin@chromium.org
      
      Review URL: https://codereview.chromium.org/1335193002
      
      Cr-Commit-Position: refs/heads/master@{#30706}
      eadfd666
    • cbruni's avatar
      Fixing Sloppy Symbol.iterator setter · 2f1df49a
      cbruni authored
      In certiain cases the ArgumentsIteratorSetter would trigger an invalid
      state in the LookupIterator when being overridden. This is now solved
      by bypassing the SetDataProperty and directly using
      DefinePropertyOrElementIgnoringAttributes since we know exactly which
      property we're going to install
      
      LOG=N
      BUG=chromium:521484
      
      Review URL: https://codereview.chromium.org/1332873002
      
      Cr-Commit-Position: refs/heads/master@{#30705}
      2f1df49a
  2. 13 Sep, 2015 1 commit
  3. 11 Sep, 2015 14 commits
  4. 10 Sep, 2015 22 commits