1. 01 Sep, 2015 3 commits
  2. 31 Aug, 2015 33 commits
  3. 28 Aug, 2015 4 commits
    • pcc's avatar
      Re-enable LLVM LTO for ARM. · fef4fab6
      pcc authored
      v8 is optimized for speed. Because GCC LTO merges flags at link time,
      we disable LTO to prevent any -O2 flags from taking precedence over v8's
      -Os flag. However, LLVM LTO does not work this way so we keep LTO enabled
      under LLVM.
      
      This fixes the ARM build in the cfi_vptr==1 configuration, which requires
      LLVM LTO.
      
      R=adamk@chromium.org
      BUG=chromium:469376
      LOG=N
      
      Review URL: https://codereview.chromium.org/1295673002
      
      Cr-Commit-Position: refs/heads/master@{#30455}
      fef4fab6
    • littledan's avatar
      Propagate switch statement value for 'eval' · 6773e296
      littledan authored
      This patch changes the switch scope desugaring to create blocks which
      propagate their 'return value' for eval.
      
      BUG=v8:4399
      R=adamk
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1309303006
      
      Cr-Commit-Position: refs/heads/master@{#30454}
      6773e296
    • littledan's avatar
      Ensure hole checks take place in switch statement scopes · d6fb6de7
      littledan authored
      Switch statements introduce their own scope for cases, but this scope
      is not necessarily executed in order, as the following function shows:
      
        switch (x) {
          case 1:
            let y = 1;
          case 2:
            y = 2;
          case 3:
            print(y);
        }
      
      If x = 2 or x = 3, the code should throw a ReferenceError. However,
      FullCodeGen's hole check elimination used the simple algorithm of
      assuming that if the initializer was in the same scope, then it was
      reached before the use, and therefore the hole check could be
      eliminated.
      
      This patch adds an extra bit to scopes, to track if they may
      nonlinearly. The parser marks the scope that switch introduces as
      nonlinear. FullCodeGen does not eliminate the hole check from
      a scope which is nonlinear. This patch refactors FullCodeGen to
      put the hole check elimination in one place, rather than in each
      backend.
      
      BUG=v8:3926
      LOG=Y
      R=adamk
      
      Review URL: https://codereview.chromium.org/1312613003
      
      Cr-Commit-Position: refs/heads/master@{#30453}
      d6fb6de7
    • gdeepti's avatar
      [simd.js] Disable SIMD polyfill. · 749ba3a1
      gdeepti authored
      Disable the polyfill in simd.js tests as the functions for Phase 1 have been implemented.
      
      BUG=v8:4124
      LOG=N
      
      R=bbudge@chromium.org, bmeurer@chromium.org, littledan@chromium.org
      
      Review URL: https://codereview.chromium.org/1305923005
      
      Cr-Commit-Position: refs/heads/master@{#30452}
      749ba3a1