1. 22 Jun, 2016 36 commits
  2. 21 Jun, 2016 4 commits
    • dpranke's avatar
      Use the new "optimize_speed" GN config. · 365e32b1
      dpranke authored
      The GN configs for different optimization levels are confusing and
      should probably be reworked, but for now we add a special config
      specifically so that we can compile with -O3 when appropriate.
      
      R=brettw@chromium.org, machenbach@chromium.org
      BUG=616031, 618678, 621335
      
      Review-Url: https://codereview.chromium.org/2076403002
      Cr-Commit-Position: refs/heads/master@{#37158}
      365e32b1
    • bjaideep's avatar
      PPC/s390: [builtins] Introduce a proper BUILTIN frame type. · 2b8f5545
      bjaideep authored
      Port f47b9e98
      
      Original commit message:
      
          This adds a new BUILTIN frame type, which supports variable number of
          arguments for builtins implemented in hand-written native code (we will
          extend this mechanism to TurboFan builtins at some point). Convert the
          Math.max and Math.min builtins to construct a BUILTIN frame if required.
      
          This does not yet work for C++ builtins, but that'll be the next step.
      
      R=jgruber@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      
      BUG=v8:4815
      LOG=N
      
      Review-Url: https://codereview.chromium.org/2087433003
      Cr-Commit-Position: refs/heads/master@{#37157}
      2b8f5545
    • jwolfe's avatar
      Reland: change most cases of variable redeclaration from TypeError to SyntaxError. · d8147eb9
      jwolfe authored
      Reland of https://codereview.chromium.org/2048703002/
      
      Code like `let a; eval("var a;");` should throw a SyntaxError, not a TypeError
      (this caused a test262 failure.). However, the code `eval("function NaN() {}");`
      should actually throw a TypeError. This patch changes most cases of
      redeclaration errors from TypeError to SyntaxError. See the test
      mjsunit/regress/redeclaration-error-types for a thorough analysis with spec
      references.
      
      The relevant sections of the spec are ES#sec-globaldeclarationinstantiation and
      ES#sec-evaldeclarationinstantiation
      
      BUG=v8:4955
      LOG=y
      CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
      R=adamk
      
      Review-Url: https://codereview.chromium.org/2086063002
      Cr-Commit-Position: refs/heads/master@{#37156}
      d8147eb9
    • rossberg's avatar
      Refactor module builder · 271a7f55
      rossberg authored
      - Use ES6 classes and other goodies.
      - Make some names match design/spec.
      - Remove obsolete generation of END section.
      
      R=bradnelson@chromium.org
      BUG=
      
      Review-Url: https://codereview.chromium.org/2081973003
      Cr-Commit-Position: refs/heads/master@{#37155}
      271a7f55