1. 25 Feb, 2015 1 commit
  2. 24 Feb, 2015 1 commit
  3. 23 Feb, 2015 1 commit
  4. 20 Feb, 2015 1 commit
    • loislo's avatar
      CpuProfiler: eliminate cpu-profiler dependency from heap-inl.h · 8ba89cce
      loislo authored
      We accessed to cpu_profiler for tracking SharedFunctionInfo objects movements and used their addresses for generating function_id. Actually we could replace the manually generated shared_id by the pair script_id + position. In this case we can drop SharedFunctionInfo events support from cpu_profiler and remove the dependency.
      
      BTW GetCallUid was used as an unique identifier of the function on the front-end side. Actually it is a hash which might not be unique. So I renamed GetCallUid with GetHash and implemented GetFunctionId method.
      
      BUG=452067
      LOG=n
      
      Review URL: https://codereview.chromium.org/941973002
      
      Cr-Commit-Position: refs/heads/master@{#26775}
      8ba89cce
  5. 18 Feb, 2015 1 commit
    • adamk's avatar
      Rename Interface to ModuleDescriptor · 27e8a455
      adamk authored
      ModuleDescriptor will end up holding the set of data described in the
      spec as a "Module record". This introduces a little bit of confusion
      with ModuleInfo, but I hope that'll become clearer over time.
      
      Also removed the interface-printing flags. We probably want
      Module-printing flags, but that can wait until we have more
      Module-related structures.
      
      BUG=v8:1569
      LOG=n
      
      Review URL: https://codereview.chromium.org/935723004
      
      Cr-Commit-Position: refs/heads/master@{#26728}
      27e8a455
  6. 17 Feb, 2015 1 commit
  7. 14 Feb, 2015 1 commit
  8. 13 Feb, 2015 1 commit
  9. 12 Feb, 2015 6 commits
    • Dmitry Lomov's avatar
      Remove --experimental-classes flag and related dead code. · 7866f005
      Dmitry Lomov authored
      R=arv@chromium.org
      BUG=v8:3834
      LOG=N
      
      Review URL: https://codereview.chromium.org/919643008
      
      Cr-Commit-Position: refs/heads/master@{#26631}
      7866f005
    • loislo's avatar
      CPUProfiler: Push deopt reason further to ProfileNode. · d23ab23b
      loislo authored
      1) create beefy RelocInfo table when cpu profiler is active, so if a function
      was optimized when profiler was active RelocInfo would get separate DeoptInfo
      for the each deopt case.
      
      2) push DeoptInfo from CodeEntry to ProfileNode.
      When deopt happens we put the info collected on #1 into CodeEntry and record stack sample.
      On the sampling thread we grab the deopt data and append it to the corresponding ProfileNode deopts list.
      
      Sample profile dump.
      [Top down]:
          0  (root) 0 #1
          1     29 #2
          1      test 29 #3
          2        opt_function 29 #4
          2          opt_function 29 #5
                         deopted at 118 with reason 'not a heap number'
                         deopted at 137 with reason 'division by zero'
      
      BUG=452067
      LOG=n
      
      Committed: https://crrev.com/ce8701b247d3c6604f24f17a90c02d17b4417f54
      Cr-Commit-Position: refs/heads/master@{#26615}
      
      Review URL: https://codereview.chromium.org/919953002
      
      Cr-Commit-Position: refs/heads/master@{#26630}
      d23ab23b
    • Dmitry Lomov's avatar
      new classes: no longer experimental. · 2707d4c9
      Dmitry Lomov authored
      This CL fixes tests that no longer valid and also fixes two issues:
      1. 'super()' in non derived constructors.
      2. Failure to step into derived constructors.
      
      R=arv@chromium.org, yurys@chromium.org
      BUG=v8:3834
      LOG=Y
      
      Review URL: https://codereview.chromium.org/923443003
      
      Cr-Commit-Position: refs/heads/master@{#26628}
      2707d4c9
    • loislo's avatar
      Revert of CPUProfiler: Push deopt reason further to ProfileNode. (patchset #1... · cb6ea146
      loislo authored
      Revert of CPUProfiler: Push deopt reason further to ProfileNode. (patchset #1 id:1 of https://codereview.chromium.org/919953002/)
      
      Reason for revert:
      static initializers broke the build
      
      Original issue's description:
      > CPUProfiler: Push deopt reason further to ProfileNode.
      >
      > 1) create beefy RelocInfo table when cpu profiler is active, so if a function
      > was optimized when profiler was active RelocInfo would get separate DeoptInfo
      > for the each deopt case.
      >
      > 2) push DeoptInfo from CodeEntry to ProfileNode.
      > When deopt happens we put the info collected on #1 into CodeEntry and record stack sample.
      > On the sampling thread we grab the deopt data and append it to the corresponding ProfileNode deopts list.
      >
      > Sample profile dump.
      > [Top down]:
      >     0  (root) 0 #1
      >     1     29 #2
      >     5      test 29 #3
      >     3        opt_function 29 #4
      >                  deopted at 52 with reason 'not a heap number'
      >                  deopted at 71 with reason 'division by zero'
      >
      > BUG=452067
      > LOG=n
      >
      > Committed: https://crrev.com/ce8701b247d3c6604f24f17a90c02d17b4417f54
      > Cr-Commit-Position: refs/heads/master@{#26615}
      
      TBR=jarin@chromium.org,svenpanne@chromium.org,yurys@chromium.org,alph@chromium.org
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=452067
      
      Review URL: https://codereview.chromium.org/915173005
      
      Cr-Commit-Position: refs/heads/master@{#26616}
      cb6ea146
    • loislo's avatar
      CPUProfiler: Push deopt reason further to ProfileNode. · ce8701b2
      loislo authored
      1) create beefy RelocInfo table when cpu profiler is active, so if a function
      was optimized when profiler was active RelocInfo would get separate DeoptInfo
      for the each deopt case.
      
      2) push DeoptInfo from CodeEntry to ProfileNode.
      When deopt happens we put the info collected on #1 into CodeEntry and record stack sample.
      On the sampling thread we grab the deopt data and append it to the corresponding ProfileNode deopts list.
      
      Sample profile dump.
      [Top down]:
          0  (root) 0 #1
          1     29 #2
          5      test 29 #3
          3        opt_function 29 #4
                       deopted at 52 with reason 'not a heap number'
                       deopted at 71 with reason 'division by zero'
      
      BUG=452067
      LOG=n
      
      Review URL: https://codereview.chromium.org/919953002
      
      Cr-Commit-Position: refs/heads/master@{#26615}
      ce8701b2
    • danno's avatar
      Remove redundant source position information in RelocInfo · e87c0bac
      danno authored
      Previously, emitting two more more unique source positions at the same pc would
      generate two or more RelocInfo entries. Now, only the last emitted source
      position for any pc is added to the RelocInfo.
      
      Review URL: https://codereview.chromium.org/908443002
      
      Cr-Commit-Position: refs/heads/master@{#26608}
      e87c0bac
  10. 11 Feb, 2015 8 commits
  11. 10 Feb, 2015 2 commits
    • marja's avatar
      Parsing: Make Scope not know about Isolate. · 5d68529b
      marja authored
      Scope, like Parser, must be able to operate independent of Isolate and the V8
      heap (for background parsing). After the heap-independent phase, there is a heap
      dependent phase, during which we do operations such as scope anaylysis.
      
      This CL makes the phases explicit by not telling Scope about the Isolate too
      early (during the heap-independent phase, Scope should know nothing about
      Isolate). This decreases the probability of accidental code changes which would
      add heap-dependent operations into the heap-independent phase.
      
      R=rossberg@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/909093003
      
      Cr-Commit-Position: refs/heads/master@{#26546}
      5d68529b
    • loislo's avatar
      Propagate DeoptInfo to cpu-profiler · 86cae163
      loislo authored
      1) Deoptimizer::Reason was replaced with Deoptimizer::DeoptInfo
      because it also has raw position. Also the old name clashes with DeoptReason enum.
      
      2) c_entry_fp assignment call was added to EntryGenerator::Generate
      So we can calculate sp and have a chance to record the stack for the deopting function.
      btw it makes the test stable.
      
      3) new kind of CodeEvents was added to cpu-profiler
      
      4) GetDeoptInfo method was extracted from PrintDeoptLocation.
      So it could be reused in cpu profiler.
      
      BUG=452067
      LOG=n
      
      Review URL: https://codereview.chromium.org/910773002
      
      Cr-Commit-Position: refs/heads/master@{#26545}
      86cae163
  12. 09 Feb, 2015 1 commit
  13. 06 Feb, 2015 1 commit
  14. 05 Feb, 2015 6 commits
  15. 04 Feb, 2015 7 commits
  16. 03 Feb, 2015 1 commit
    • mvstanton's avatar
      Super Constructor Calls need to use a vector slot, not an ic slot. · 64f81870
      mvstanton authored
      The Ast Call node is accustomed to using a vector IC slot for the
      cases when it uses a CallIC. The super constructor work alters this
      somewhat by using a CallConstructStub instead, however the
      CallConstructStub expects a vector slot and not a vector ic slot.
      This distinction needs to be maintained because slots and ic slots
      have different clearing strategies and are handled differently.
      
      R=dslomov@chromium.org
      BUG=
      LOG=N
      
      Review URL: https://codereview.chromium.org/892113002
      
      Cr-Commit-Position: refs/heads/master@{#26414}
      64f81870