Reviewers: loislo, Jakob,

Description:
Correctly report callstack when current function is FunctionCall builtin

When current function is FunctionCall builtin we should get it caller from the
top of sampled stack which always contains pc of its caller.

This change adds builtin id to CodeEntry objects. It will be used later to add
similar top frame analyzis for FunctionApply and probably other builtins.

BUG=None

Please review this at https://codereview.chromium.org/18316004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/cpu-profiler-inl.h
  M src/cpu-profiler.h
  M src/cpu-profiler.cc
  M src/profile-generator-inl.h
  M src/profile-generator.h
  M src/profile-generator.cc
  M test/cctest/test-cpu-profiler.cc


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to