Store API callback entry address prior to entering a callback.
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 23 Nov 2009 14:43:00 +0000 (14:43 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 23 Nov 2009 14:43:00 +0000 (14:43 +0000)
commit9d440fdd36fe42a0c889ee0a329fadc30bcc4e74
treeeb03dc6cc5dc3082da35bc018463237a83486825
parentc2f12a7293c0efce73760b3d1b636c237a69141b
Store API callback entry address prior to entering a callback.

Callback entry address is stored in VMState and is later retrieved by
profiler stack sampler. This makes possible relating API entry to JS
stack, and this is simpler than trying to unwind native stack.

Review URL: http://codereview.chromium.org/437004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3344 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/builtins.cc
src/log-inl.h
src/log.cc
src/log.h
test/cctest/test-log.cc