1. 16 Sep, 2015 3 commits
    • bmeurer's avatar
      [builtins] Unify the String constructor. · a3d6f6cc
      bmeurer authored
      Implement the String constructor completely as native builtin,
      avoiding the need to do gymnastics in JavaScript builtin to
      properly detect the no argument case (which is different from
      the undefined argument case) and also allowing to just
      tailcall through to ToString or SymbolDescriptiveString for
      the common case. Also the JavaScript builtin was misleading
      since the case for construct call was unused, but could be
      triggered in a wrong way once we support tail calls from
      constructor functions.
      
      This refactoring allows us to properly implement subclassing
      for String builtins, once we have the correct initial_map on
      derived classes (it's merely a matter of using NewTarget
      instead of the target register now).
      
      This introduces a new %SymbolDescriptiveString runtime
      entry, which is also used by Symbol.toString() now.
      
      R=mstarzinger@chromium.org
      
      Review URL: https://codereview.chromium.org/1344893002
      
      Cr-Commit-Position: refs/heads/master@{#30759}
      a3d6f6cc
    • mvstanton's avatar
      Vector ICs: Hook up vectors in platform builtins to their SharedFunctionInfos. · 905e008c
      mvstanton authored
      BUG=v8:4423
      LOG=N
      
      Review URL: https://codereview.chromium.org/1342013003
      
      Cr-Commit-Position: refs/heads/master@{#30758}
      905e008c
    • jochen's avatar
      Add myself to heap owners · bf68348d
      jochen authored
      R=hpayer@chromium.org
      BUG=
      NOTRY=true
      
      Review URL: https://codereview.chromium.org/1350633003
      
      Cr-Commit-Position: refs/heads/master@{#30757}
      bf68348d
  2. 15 Sep, 2015 34 commits
  3. 14 Sep, 2015 3 commits
    • mbrandy's avatar
      PPC: [builtins] Simplify String constructor code. · 4ca74e4f
      mbrandy authored
      Port eadfd666
      
      Original commit message:
          The String constructor was somewhat complex with a lot of micro
          optimizations that are not relevant or even misguided. It would be
          really hard to port that code to ES6, which requires String to be
          subclassable. So as a first step we reduced the necessary complexity
          to the bare minimum (also removing the last user of the fairly complex
          MacroAssembler::LookupNumberStringCache method).
      
          This also removes the counters for the String constructor, which
          were not properly exposed anymore (and not kept in sync with inlined
          versions of the String constructor anyway).
      
      R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, dstence@us.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1339143002
      
      Cr-Commit-Position: refs/heads/master@{#30722}
      4ca74e4f
    • mbrandy's avatar
      PPC: [Interpreter] Add support for JS calls. · b6f67398
      mbrandy authored
      Port e7fb2339
      
      Original commit message:
          Adds support for JS calls to the interpreter. In order to support
          calls from the interpreter, the PushArgsAndCall builtin is added
          which pushes a sequence of arguments onto the stack and calls
          builtin::Call.
      
          Adds the Call bytecode.
      
      R=rmcilroy@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, dstence@us.ibm.com
      BUG=v8:4280
      LOG=N
      
      Review URL: https://codereview.chromium.org/1345543002
      
      Cr-Commit-Position: refs/heads/master@{#30721}
      b6f67398
    • gdeepti's avatar
      [test] Add an option to the perf runner to support running with the internal profiler. · b571b83b
      gdeepti authored
      Enhance the perf runner to run with the profiler and print the summary for each d8 run. This automates running the profiler with multiple benchmarks.
      
      BUG=None
      LOG=N
      TBR=machenbach@chromium.org
      
      Review URL: https://codereview.chromium.org/1327033003
      
      Cr-Commit-Position: refs/heads/master@{#30720}
      b571b83b