1. 12 Aug, 2016 2 commits
  2. 11 Aug, 2016 1 commit
  3. 09 Aug, 2016 1 commit
  4. 08 Aug, 2016 1 commit
  5. 05 Aug, 2016 4 commits
  6. 04 Aug, 2016 1 commit
    • mstarzinger's avatar
      [turbofan] Fix missing bailout for accessors in literals. · 667d8ad0
      mstarzinger authored
      This adds the missing lazy bailout point when defining accessor pairs
      within object literals via Runtime::kDefineAccessorPropertyUnchecked.
      The runtime function in question can indeed trigger a lazy deopt due
      to a DependentCode::kPrototypeCheckGroup dependency.
      
      R=bmeurer@chromium.org
      TEST=mjsunit/regress/regress-crbug-633585
      BUG=chromium:633585
      
      Review-Url: https://codereview.chromium.org/2207413002
      Cr-Commit-Position: refs/heads/master@{#38336}
      667d8ad0
  7. 01 Aug, 2016 1 commit
  8. 21 Jul, 2016 1 commit
  9. 15 Jul, 2016 1 commit
  10. 13 Jul, 2016 1 commit
  11. 11 Jul, 2016 1 commit
  12. 06 Jul, 2016 1 commit
  13. 05 Jul, 2016 3 commits
  14. 30 Jun, 2016 1 commit
  15. 28 Jun, 2016 1 commit
  16. 27 Jun, 2016 2 commits
  17. 21 Jun, 2016 1 commit
    • neis's avatar
      [generators] Implement %GeneratorGetSourcePosition. · 7c57ffc1
      neis authored
      This runtime function now also works for Ignition generators. It returns the
      source position of the yield at which a suspended generator got suspended.  This
      works by storing the current bytecode offset at suspension and using an existing
      mechanism to map it back to a source position.
      
      TBR=littledan@chromium.org
      BUG=
      
      Review-Url: https://codereview.chromium.org/2079613003
      Cr-Commit-Position: refs/heads/master@{#37140}
      7c57ffc1
  18. 20 Jun, 2016 1 commit
    • adamk's avatar
      [cleanup] Remove dead code from DeclareLookupSlot and rename it · cbc6adc8
      adamk authored
      Runtime_DeclareLookupSlot is used when generating code for var and function declarations
      originating in an eval. Over time, it's accumulated quite a bit of cruft, which this CL removes:
      
        - With legacy const gone, lookup slots never have any property attributes.
        - There was a bit signaling that the variable was from an eval, but that was redundant since
          DeclareLookupSlot is only used for eval.
        - Some Proxy-related code didn't make sense here.
      
      Its name was also not terribly clear: while "LookupSlot" is used in several places, this
      particular function is only used for declaring variables and functions inside sloppy eval.
      Renamed (and split into two) to make this clear for future archeologists.
      
      Also added various DCHECKs to check the assumptions being made.
      
      Review-Url: https://codereview.chromium.org/2061173002
      Cr-Commit-Position: refs/heads/master@{#37111}
      cbc6adc8
  19. 14 Jun, 2016 2 commits
  20. 13 Jun, 2016 3 commits
  21. 09 Jun, 2016 2 commits
  22. 06 Jun, 2016 1 commit
  23. 27 May, 2016 3 commits
    • bmeurer's avatar
      [runtime] Kill the %NumberToIntegerMapMinusZero runtime entry. · 4b235ade
      bmeurer authored
      This was initially used to special case some weird date.js behavior, but
      has since been abused in other areas. In case of the string character
      access, everything that is outside the Smi range cannot be a valid
      string index anyways, so %NumberToSmi is perfect here in either case,
      and for ToPositiveInteger it's better to just use ToInteger adding +0 to
      turn -0 into +0.
      
      R=ishell@chromium.org
      BUG=v8:5049
      
      Review-Url: https://codereview.chromium.org/2010183003
      Cr-Commit-Position: refs/heads/master@{#36545}
      4b235ade
    • franzih's avatar
      [builtins] Rewrite uri.js as builtin functions. · 8c31bd81
      franzih authored
      Rewrite decodeURI and decodeURIComponent as builtin functions
      and install them in the bootstrapper.
      
      Delete unused runtime functions:
       - TruncateString
       - NewString
       - OneByteSeqStringGetChar
       - OneByteSeqStringSetChar
       - TwoByteSeqStringGetChar
       - TwoByteSeqStringSetChar
      
      Add regression test for decoding large strings. Clusterfuzz detected
      a problem with %TruncateString, see
      https://bugs.chromium.org/p/chromium/issues/detail?id=612109#c6
      This is automatically fixed by this rewrite because %TruncateString
      is deleted anyways.
      
      Crude benchmark on 585 decodeURI and decodeURIComponent tests
      averaged over five runs:
      
      * builtin functions
      real	0m9.69s
      user	2m39.8816s
      sys    	0m12.6398s
      
      * JS functions calling into the runtime e.g., for %TruncateString
      real	0m11.0598s
      user	3m6.7026s
      sys	0m13.5756s
      
      By running:
      $  time tools/run-tests.py   --arch=x64  --mode=Release --buildbot
        test262/built-ins/decodeURI* mjsunit/uri
      >>> Running tests for x64.Release
      
      BUG=v8:4912, chromium:612109
      R=yangguo@chromium.org, bmeurer@chromium.org
      
      Review-Url: https://codereview.chromium.org/1994733003
      Cr-Commit-Position: refs/heads/master@{#36543}
      8c31bd81
    • bmeurer's avatar
      [runtime] Remove the obsolete %_StringCharAt intrinsic. · b2fd2ded
      bmeurer authored
      This intrinsic (and the matching runtime entry) are no longer used by
      now and can thereby be removed.
      
      BUG=v8:5049
      
      Review-Url: https://codereview.chromium.org/2016993003
      Cr-Commit-Position: refs/heads/master@{#36540}
      b2fd2ded
  24. 18 May, 2016 1 commit
  25. 17 May, 2016 3 commits