1. 25 Nov, 2015 4 commits
  2. 24 Nov, 2015 6 commits
    • mbrandy's avatar
      PPC: [turbofan] Switch passing of new.target to register. · 1c1590e8
      mbrandy authored
      Port 7c45b005
      
      Original commit message:
          This passes the new.target value in a register instead of through a
          side-channel via the construct stub. Note that only TurboFan code uses
          the register value so far, but unoptimized code will be switched soon.
      
      R=mstarzinger@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=v8:4544
      LOG=n
      
      Review URL: https://codereview.chromium.org/1469283004
      
      Cr-Commit-Position: refs/heads/master@{#32231}
      1c1590e8
    • bmeurer's avatar
      [runtime] Pass closure to %CreateArrayLiteral and %CreateObjectLiteral. · 1b1db135
      bmeurer authored
      Change the runtime entries and their associated code stubs for object
      and array literal creation to take the closure instead of the raw
      literals pointer. This is way easier to deal with (and cleaner) in
      TurboFan.
      
      R=mstarzinger@chromium.org
      
      Review URL: https://codereview.chromium.org/1469833005
      
      Cr-Commit-Position: refs/heads/master@{#32220}
      1b1db135
    • jochen's avatar
      Make fast_exp take an Isolate* paramter · 0fb2edd1
      jochen authored
      We still share the code globally, but if we wanted, it would be easy to
      make it per isolate now
      
      BUG=v8:2487
      R=yangguo@chromium.org,jkummerow@chromium.org
      LOG=n
      
      Review URL: https://codereview.chromium.org/1468313004
      
      Cr-Commit-Position: refs/heads/master@{#32217}
      0fb2edd1
    • bmeurer's avatar
      [compiler] No need to push literal index in VisitArrayLiteral. · 9846f386
      bmeurer authored
      The literal index is being pushed onto the stack while evaluating
      the non-constant subexpressions, but never used in fullcodegen (and
      hence not used in the optimizing compilers).
      
      R=mstarzinger@chromium.org
      
      Review URL: https://codereview.chromium.org/1471893003
      
      Cr-Commit-Position: refs/heads/master@{#32205}
      9846f386
    • mstarzinger's avatar
      [turbofan] Switch passing of new.target to register. · 7c45b005
      mstarzinger authored
      This passes the new.target value in a register instead of through a
      side-channel via the construct stub. Note that only TurboFan code uses
      the register value so far, but unoptimized code will be switched soon.
      
      R=bmeurer@chromium.org
      BUG=v8:4544
      LOG=n
      
      Review URL: https://codereview.chromium.org/1460503008
      
      Cr-Commit-Position: refs/heads/master@{#32203}
      7c45b005
    • zhengxing.li's avatar
      X87: [builtins] Sanitize the machinery around Construct calls. · 4620a235
      zhengxing.li authored
        port 374b6ea2 (r32172)
      
        original commit message:
        There's no point in collecting feedback for super constructor calls,
        because in all (interesting) cases we can gather (better) feedback from
        other sources (i.e. via inlining or via using a LOAD_IC to get to the
        [[Prototype]] of the target).  So CallConstructStub is now only used
        for new Foo(...args) sites where we want to collect feedback in the
        baseline compiler.  The optimizing compilers, Reflect.construct and
        super constructor calls use the Construct builtin directly, which allows
        us to remove some weird code from the CallConstructStub (and opens the
        possibility for more code sharing with the CallICStub, maybe even going
        for a ConstructICStub).
      
        Also remove the 100% redundant HCallNew instruction, which is just a
        wrapper for the Construct builtin anyway (indirectly via the
        CallConstructStub).
      
        Drive-by-fix: Drop unused has_function_cache bit on Code objects.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1471193002
      
      Cr-Commit-Position: refs/heads/master@{#32197}
      4620a235
  3. 23 Nov, 2015 4 commits
    • mbrandy's avatar
      PPC: [builtins] Sanitize the machinery around Construct calls. · fe14ba45
      mbrandy authored
      Port 374b6ea2
      
      Original commit message:
          There's no point in collecting feedback for super constructor calls,
          because in all (interesting) cases we can gather (better) feedback from
          other sources (i.e. via inlining or via using a LOAD_IC to get to the
          [[Prototype]] of the target).  So CallConstructStub is now only used
          for new Foo(...args) sites where we want to collect feedback in the
          baseline compiler.  The optimizing compilers, Reflect.construct and
          super constructor calls use the Construct builtin directly, which allows
          us to remove some weird code from the CallConstructStub (and opens the
          possibility for more code sharing with the CallICStub, maybe even going
          for a ConstructICStub).
      
          Also remove the 100% redundant HCallNew instruction, which is just a
          wrapper for the Construct builtin anyway (indirectly via the
          CallConstructStub).
      
          Drive-by-fix: Drop unused has_function_cache bit on Code objects.
      
      R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=v8:4413, v8:4430
      LOG=n
      
      Review URL: https://codereview.chromium.org/1471623005
      
      Cr-Commit-Position: refs/heads/master@{#32186}
      fe14ba45
    • bmeurer's avatar
      [builtins] Sanitize the machinery around Construct calls. · 374b6ea2
      bmeurer authored
      There's no point in collecting feedback for super constructor calls,
      because in all (interesting) cases we can gather (better) feedback from
      other sources (i.e. via inlining or via using a LOAD_IC to get to the
      [[Prototype]] of the target).  So CallConstructStub is now only used
      for new Foo(...args) sites where we want to collect feedback in the
      baseline compiler.  The optimizing compilers, Reflect.construct and
      super constructor calls use the Construct builtin directly, which allows
      us to remove some weird code from the CallConstructStub (and opens the
      possibility for more code sharing with the CallICStub, maybe even going
      for a ConstructICStub).
      
      Also remove the 100% redundant HCallNew instruction, which is just a
      wrapper for the Construct builtin anyway (indirectly via the
      CallConstructStub).
      
      Drive-by-fix: Drop unused has_function_cache bit on Code objects.
      
      R=mstarzinger@chromium.org, yangguo@chromium.org
      BUG=v8:4413, v8:4430
      LOG=n
      
      Review URL: https://codereview.chromium.org/1469793002
      
      Cr-Commit-Position: refs/heads/master@{#32172}
      374b6ea2
    • ulan's avatar
      Refactor dependent code. · 4ef29b1a
      ulan authored
      This simplifies the layout of dependent code array and optimizes it for sparse dependency groups.
      
      BUG=chromium:554488
      LOG=NO
      
      Review URL: https://codereview.chromium.org/1435313002
      
      Cr-Commit-Position: refs/heads/master@{#32170}
      4ef29b1a
    • zhengxing.li's avatar
      X87: Adopt the fix of the sqrt precision issue from TurboFan to CrankShaft. · fb633b0c
      zhengxing.li authored
        port 4e004564 (r31625)
      
        original commit message:
        X87: Fix the sqrt precision issue.
      
          In order to resolve the sqrt precision issue described in https://codereview.chromium.org/1425763002/.
          we change the implementation of CreateSqrtFunction() implementation of X87 so that the optimize compiler
          and full-compiler implementation are unified.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1470793004
      
      Cr-Commit-Position: refs/heads/master@{#32166}
      fb633b0c
  4. 20 Nov, 2015 1 commit
  5. 19 Nov, 2015 3 commits
  6. 18 Nov, 2015 1 commit
  7. 17 Nov, 2015 1 commit
  8. 16 Nov, 2015 2 commits
  9. 10 Nov, 2015 1 commit
  10. 09 Nov, 2015 7 commits
  11. 06 Nov, 2015 2 commits
  12. 05 Nov, 2015 8 commits