1. 02 Jul, 2016 2 commits
  2. 01 Jul, 2016 24 commits
  3. 30 Jun, 2016 14 commits
    • bjaideep's avatar
      PPC/s390: [builtins] New frame type for exits to C++ builtins · 3ee6b808
      bjaideep authored
      Port 5febc27b
      
      Original commit message:
      
          Prior to this commit, calls to C++ builtins created standard exit
          frames, which are skipped when constructing JS stack traces. In order to
          show these calls on traces, we introduce a new builtin exit frame type.
      
          Builtin exit frames contain target and new.target on the stack and are
          not skipped during stack trace construction.
      
      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/2105023008
      Cr-Commit-Position: refs/heads/master@{#37461}
      3ee6b808
    • jyan's avatar
      S390: Fix MathMaxMin's frame · 4fa104c5
      jyan authored
      MathMaxMin creates frame on stack without removing top bit of r14 on 31-bit.
      
      R=joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com, bjaideep@ca.ibm.com
      BUG=
      
      Review-Url: https://codereview.chromium.org/2111263002
      Cr-Commit-Position: refs/heads/master@{#37460}
      4fa104c5
    • adamk's avatar
      [intl] Clean up function name handling in AddBoundMethod · 54ce1935
      adamk authored
      AddBoundMethod, in i18n.js, returns functions all of which share the
      same backing SharedFunctionInfo, which means that its calls to
      InstallGetter were causing all such functions to have a single name
      (that of the last caller, "get breakType").
      
      This patch skips calling InstallGetter and instead directly calls
      %DefineGetterPropertyUnchecked, which itself sets the name property
      on the JSFunction instance (it knows how to do this in order to handle
      getters that have computed property names).
      
      Also takes care of a TODO having to do with the inner boundMethod:
      its name is now made empty, by using a new macro that gets around
      ES2015's function name inference.
      
      Finally, removes a redundant %FunctionRemovePrototype: arrow functions
      have no prototypes to begin with.
      
      R=littledan@chromium.org
      BUG=v8:4778
      
      Review-Url: https://codereview.chromium.org/2109223002
      Cr-Commit-Position: refs/heads/master@{#37459}
      54ce1935
    • adamk's avatar
      Reland of Add crash instrumentation for crbug.com/621147 (patchset #1 id:1 of... · 6e983258
      adamk authored
      Reland of Add crash instrumentation for crbug.com/621147 (patchset #1 id:1 of https://codereview.chromium.org/2118493002/ )
      
      Reason for revert:
      By request from ishell, plan is to leave this in master for awhile longer
      
      Original issue's description:
      > Revert of Add crash instrumentation for crbug.com/621147 (patchset #5 id:80001 of https://codereview.chromium.org/2100313002/ )
      >
      > Reason for revert:
      > Instrumentation not needed on master branch
      >
      > Original issue's description:
      > > Add crash instrumentation for crbug.com/621147
      > >
      > > BUG=chromium:621147
      > > LOG=N
      > > R=ishell@chromium.org,cbruni@chromium.org
      > >
      > > Committed: https://crrev.com/5ff508a82299f20a0d9828cf73072a4f4772fab8
      > > Cr-Commit-Position: refs/heads/master@{#37328}
      >
      > TBR=verwaest@chromium.org,cbruni@chromium.org,ishell@chromium.org,mlippautz@chromium.org
      > # Not skipping CQ checks because original CL landed more than 1 days ago.
      > BUG=chromium:621147, chromium:624764
      >
      > Committed: https://crrev.com/b324850900e531ccee03f1712333f13dfcf15427
      > Cr-Commit-Position: refs/heads/master@{#37456}
      
      TBR=verwaest@chromium.org,cbruni@chromium.org,ishell@chromium.org,mlippautz@chromium.org
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=chromium:621147, chromium:624764
      
      Review-Url: https://codereview.chromium.org/2114743002
      Cr-Commit-Position: refs/heads/master@{#37458}
      6e983258
    • georgia.kouveli's avatar
      [ic] [stubs] Add missing GetExtraICState method to CompareICStub. · c88cc5b1
      georgia.kouveli authored
      Added missing GetExtraICState() function for CompareICStub. Without it,
      code->extra_ic_state() in IC::StateFromCode was returning zero, which was
      causing some performance regressions, as the TypeFeedbackInfo was not updated
      correctly, resulting in the runtime profiler choosing not to optimise some
      functions that we previously would.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2116523002
      Cr-Commit-Position: refs/heads/master@{#37457}
      c88cc5b1
    • adamk's avatar
      Revert of Add crash instrumentation for crbug.com/621147 (patchset #5 id:80001... · b3248509
      adamk authored
      Revert of Add crash instrumentation for crbug.com/621147 (patchset #5 id:80001 of https://codereview.chromium.org/2100313002/ )
      
      Reason for revert:
      Instrumentation not needed on master branch
      
      Original issue's description:
      > Add crash instrumentation for crbug.com/621147
      >
      > BUG=chromium:621147
      > LOG=N
      > R=ishell@chromium.org,cbruni@chromium.org
      >
      > Committed: https://crrev.com/5ff508a82299f20a0d9828cf73072a4f4772fab8
      > Cr-Commit-Position: refs/heads/master@{#37328}
      
      TBR=verwaest@chromium.org,cbruni@chromium.org,ishell@chromium.org,mlippautz@chromium.org
      # Not skipping CQ checks because original CL landed more than 1 days ago.
      BUG=chromium:621147, chromium:624764
      
      Review-Url: https://codereview.chromium.org/2118493002
      Cr-Commit-Position: refs/heads/master@{#37456}
      b3248509
    • ishell's avatar
      [stubs] GetPropertyStub added. · e53f7d73
      ishell authored
      Currently only property queries are supported.
      This CL also factores out prototype chain iteration logic.
      
      GetPropertyStub is not used yet.
      
      BUG=v8:4911
      LOG=Y
      
      Review-Url: https://codereview.chromium.org/2087863002
      Cr-Commit-Position: refs/heads/master@{#37455}
      e53f7d73
    • lpy's avatar
      Enable ThreadTicks on Windows. · f20d6788
      lpy authored
      BUG=v8:5000
      
      Review-Url: https://codereview.chromium.org/2106243002
      Cr-Commit-Position: refs/heads/master@{#37454}
      f20d6788
    • rmcilroy's avatar
      [Interpereter] Inline FastNewClosure into CreateClosure bytecode handler · 02c3414d
      rmcilroy authored
      BUG=v8:4280
      
      Review-Url: https://codereview.chromium.org/2113613002
      Cr-Commit-Position: refs/heads/master@{#37453}
      02c3414d
    • verwaest's avatar
      Fix double canonicalization · c17b44bd
      verwaest authored
      This turns the blacklist back into a white-list adding all binary operations as allowed operations. The one known fix is that it forces canonicalization of the double-hole as double constant.
      
      BUG=chromium:621147
      
      Review-Url: https://codereview.chromium.org/2106393002
      Cr-Commit-Position: refs/heads/master@{#37452}
      c17b44bd
    • ulan's avatar
      Fix clearing of slots on large page uncommit · 5a8cfaf0
      ulan authored
      BUG=chromium:624544
      LOG=NO
      
      Review-Url: https://codereview.chromium.org/2110213003
      Cr-Commit-Position: refs/heads/master@{#37451}
      5a8cfaf0
    • mstarzinger's avatar
      [turbofan] Simplify theading of frame state in JSTypedLowering. · 0ea619a8
      mstarzinger authored
      This removes the need to thread through frame states for eager bailout
      points from the call-site into the reduction helper. The node under
      reduction is known to JSBinopReduction, frame states are loaded late.
      
      R=jarin@chromium.org
      
      Review-Url: https://codereview.chromium.org/2112643006
      Cr-Commit-Position: refs/heads/master@{#37450}
      0ea619a8
    • littledan's avatar
      Revert of Put RegExp js code in strict mode (patchset #2 id:20001 of... · 34880eb3
      littledan authored
      Revert of Put RegExp js code in strict mode (patchset #2 id:20001 of https://codereview.chromium.org/1776883005/ )
      
      Reason for revert:
      Found to break SAP Web IDE, and these semantics are not shipped in any other browser.
      Revert to legacy semantics while assessing web compatibility.
      
      BUG=chromium:624318
      
      Original issue's description:
      > Put RegExp js code in strict mode
      >
      > src/js/regexp.js was one of the few files that was left in sloppy
      > mode. The ES2017 draft specification requires that writes to
      > lastIndex throw when the property is non-writable, and test262
      > tests enforce this behavior. This patch puts that file in strict
      > mode.
      >
      > BUG=v8:4504
      > R=yangguo@chromium.org
      > LOG=Y
      >
      > Committed: https://crrev.com/80b1b2a45bbd9bf3d08e4e6516acfaaa8f438213
      > Cr-Commit-Position: refs/heads/master@{#34801}
      
      TBR=yangguo@chromium.org,adamk@chromium.org
      
      Review-Url: https://codereview.chromium.org/2112713003
      Cr-Commit-Position: refs/heads/master@{#37449}
      34880eb3
    • ahaas's avatar
      [wasm] Detect unrepresentability in the float32-to-int32 conversion correctly on arm. · de369129
      ahaas authored
      In the current implementation of wasm an unrepresentable input of the
      float32-to-int32 conversion is detected by first truncating the input, then
      converting the truncated input to int32 and back to float32, and then checking
      whether the result is the same as the truncated input.
      
      This input check does not work on arm and arm64 for an input of (INT32_MAX + 1)
      because on these platforms the float32-to-int32 conversion results in INT32_MAX
      if the input is greater than INT32_MAX.  When INT32_MAX is converted back to
      float32, then the result is (INT32_MAX + 1) again because INT32_MAX cannot be
      represented precisely as float32, and rounding-to-nearest results in (INT32_MAX
      + 1). Since (INT32_MAX + 1) equals the truncated input value, the input appears
      to be representable.
      
      With the changes in this CL, the result of the float32-to-int32 conversion is
      incremented by 1 if the original result was INT32_MAX. Thereby the detection of
      unrepresenable inputs in wasm works. Note that since INT32_MAX cannot be
      represented precisely in float32, it can also never be a valid result of the
      float32-to-int32 conversion.
      
      @v8-mips-ports, can you do a similar implementation for mips?
      
      R=titzer@chromium.org, Rodolph.Perfetta@arm.com
      
      Review-Url: https://codereview.chromium.org/2105313002
      Cr-Commit-Position: refs/heads/master@{#37448}
      de369129