1. 14 Jun, 2016 27 commits
  2. 13 Jun, 2016 13 commits
    • bbudge's avatar
      [Turbofan] Eliminate unnecessary OperandComparer. · 24139633
      bbudge authored
      LOG=N
      BUG=v8:4124
      
      Review-Url: https://codereview.chromium.org/2067463003
      Cr-Commit-Position: refs/heads/master@{#36944}
      24139633
    • gdeepti's avatar
      [wasm] MemSize, BoundsCheck should use Relocatable constants · ea8f887f
      gdeepti authored
      MemSize should use Relocatable constants, remove unconditional throw
      on no linear memory as this should be patched on GrowMemory.
      
      R=mtrofin@chromium.org, bradnelson@chromium.org
      
      Review-Url: https://codereview.chromium.org/2067433003
      Cr-Commit-Position: refs/heads/master@{#36943}
      ea8f887f
    • jpp's avatar
      V8. ASM-2-WASM. New type system. · 73eacf6b
      jpp authored
      This CL introduces the new type system for the ASM
      type-checker/validator.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2045703007
      Cr-Commit-Position: refs/heads/master@{#36942}
      73eacf6b
    • littledan's avatar
      Revert of change most cases of variable redeclaration from TypeError to... · 85c2c8d8
      littledan authored
      Revert of change most cases of variable redeclaration from TypeError to SyntaxError (patchset #8 id:140001 of https://codereview.chromium.org/2048703002/ )
      
      Reason for revert:
      This is going to break the LayoutTest inspector-protocol/console/console-let-const-with-api.html as seen in https://build.chromium.org/p/tryserver.v8/builders/v8_linux_blink_rel/builds/2247 . Please run this test manually, using instructions at https://www.chromium.org/developers/testing/webkit-layout-tests , and fix on the Chrome side if needed before resubmitting this patch.
      
      Original issue's description:
      > change most cases of variable redeclaration from TypeError to SyntaxError.
      >
      > 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
      >
      > Committed: https://crrev.com/2b787561763d0f7e8dab698652715a742cf78291
      > Cr-Commit-Position: refs/heads/master@{#36940}
      
      TBR=adamk@chromium.org,jwolfe@igalia.com
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=v8:4955
      
      Review-Url: https://codereview.chromium.org/2064793002
      Cr-Commit-Position: refs/heads/master@{#36941}
      85c2c8d8
    • jwolfe's avatar
      change most cases of variable redeclaration from TypeError to SyntaxError. · 2b787561
      jwolfe authored
      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
      
      Review-Url: https://codereview.chromium.org/2048703002
      Cr-Commit-Position: refs/heads/master@{#36940}
      2b787561
    • gsathya's avatar
      Parser: Desugar default derived constructor to spread/rest · e681eea1
      gsathya authored
      This patch declares a new rest parameter for the derived constructor,
      and passes it to base constructor after calling PrepareSpreadArguments.
      
      This patch also updates the test262.status to account for
      the now passing test.
      
      BUG=v8:4890
      
      Review-Url: https://codereview.chromium.org/2056993004
      Cr-Commit-Position: refs/heads/master@{#36939}
      e681eea1
    • caitpotter88's avatar
      [interpreter] support async functions in Ignition · 1a308662
      caitpotter88 authored
      BUG=v8:4483, v8:4907, 618603
      LOG=N
      R=neis@chromium.org, yangguo@chromium.org, littledan@chromium.org
      
      Review-Url: https://codereview.chromium.org/2051423003
      Cr-Commit-Position: refs/heads/master@{#36938}
      1a308662
    • hlopko's avatar
      Move EmbedderHeapTracer::TracePrologue call to the beginning of full gc · ac1587bb
      hlopko authored
      With cl https://codereview.chromium.org/2043033002 blink will add new wrappers
      to its marking deque (and maintain this deque) so black allocated wrappers are
      not a problem anymore. To limit the scope of when blink has to detect wrappers,
      we need to tell blink when we start and when we end full gcs. For that we can
      nicely use TracePrologue and TraceEpilogue.
      
      LOG=no
      BUG=468240
      
      Review-Url: https://codereview.chromium.org/2051103002
      Cr-Commit-Position: refs/heads/master@{#36937}
      ac1587bb
    • danno's avatar
      [turbolizer]: Fix bugs · deb67d7d
      danno authored
      * The default text (placeholder) in the search box is now present.
      * All key events handled by turbolizer are not passed through to Chrome.
      
      Review-Url: https://codereview.chromium.org/2061713002
      Cr-Commit-Position: refs/heads/master@{#36936}
      deb67d7d
    • bjaideep's avatar
      PPC: [builtins] Introduce proper Float64Log1p, Float64Atan and Float64Atan2 operators. · 6203906c
      bjaideep authored
      Port 7ceed92a
      Port 89d8c57b
      
      Original commit message:
      
          Import base::ieee754::atan() and base::ieee754::atan2() from fdlibm and
          introduce Float64Atan and Float64Atan2 TurboFan operators based on those,
          similar to what we already did for Float64Log and Float64Log1p. Rewrite
          Math.atan() and Math.atan2() as TurboFan builtin and use the operators
          to also inline Math.atan() and Math.atan2() into optimized TurboFan functions.
      
          Import base::ieee754::log1p() from fdlibm and introduce a Float64Log1p
          TurboFan operator based on that, similar to what we do for Float64Log.
          Rewrite Math.log1p() as TurboFan builtin and use that operator to also
          inline Math.log1p() into optimized TurboFan functions.
      
          Also unify the handling of the special IEEE 754 functions somewhat in
          the TurboFan backends. At some point we can hopefully express this
          completely in the InstructionSelector (once we have an idea what to do
          with the ST(0) return issue on IA-32/X87).
      
          Drive-by-fix: Add some more test coverage for the log function.
      
      R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      
      BUG=v8:5086,v8:5092,v8:5095
      LOG=N
      
      Review-Url: https://codereview.chromium.org/2061753002
      Cr-Commit-Position: refs/heads/master@{#36935}
      6203906c
    • bjaideep's avatar
      PPC: Fix arguments object stubs for large arrays. · 145e16c3
      bjaideep authored
      Port e95cfafb
      
      Original commit message:
      
          This fixes FastNewStrictArgumentsStub and FastNewRestParameterStub to no
          longer assume that the strict arguments object being allocated will fit
          into new-space. The case where said object needs to move to large object
          space is now handled in the runtime.
      
      R=mstarzinger@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      
      BUG=chromium:614727
      LOG=N
      
      Review-Url: https://codereview.chromium.org/2060893002
      Cr-Commit-Position: refs/heads/master@{#36934}
      145e16c3
    • hlopko's avatar
      Cleanup after EmbedderHeapTracer api updates · d5f758ee
      hlopko authored
      In order to update v8 api and still be able to build chromium, we had to keep
      code in suboptimal state. Now when chromium caught up, we can perform cleanup :)
      
      LOG=no
      BUG=468240
      
      Review-Url: https://codereview.chromium.org/2057613002
      Cr-Commit-Position: refs/heads/master@{#36933}
      d5f758ee
    • danno's avatar
      [turbolizer] Features and bug-fixes · e52907f8
      danno authored
      Fix bugs and add a few small useful features:
      
      * Fix Schedule view to properly parse schedule output and respond to switching
        back to graph views.
      * Add shorcuts for showing edges of selected nodes.
        - 'i' shows all inputs
        - 'o' shows all outputs
        - '1'-'9' shows all nodes nth input where 1 <= n <= 9
        - 'c' shows all control inputs
        - 'e' shows all effect inputs
      * Holding the control key down when using a edge-showing shortcut toggles edge
        state rather the just showing.
      * 'a' selects all nodes in graph view.
      * Node selection is preserved between graph views and Schedule views.
      * Holding control key down when using regular expression search shows currently
        hidden nodes that match the regex search.
      * Pane expansion buttons now respond to clicks in entire button area.
      * Default text in regex search box makes searching more discoverable.
      
      Review-Url: https://codereview.chromium.org/2059193002
      Cr-Commit-Position: refs/heads/master@{#36932}
      e52907f8