Add functionality for finding code objects from a pc that points into
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 30 Aug 2010 08:54:43 +0000 (08:54 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 30 Aug 2010 08:54:43 +0000 (08:54 +0000)
commit3fb62235e3142d3dd83bdbfeadd201667bf64cb1
tree3cc6732a93e4e1efa0e06f6126030a9c1a0374e3
parent937a9d466e929469e2508b6e9734da5412e324f4
Add functionality for finding code objects from a pc that points into
the code object's instructions.

This allows us to find a code object using just the pc. This approach
uses a cache (PcToCodeCache) to make sure we don't continuously have
to iterate heap pages.

This change eliminates the need for cooking and uncooking of stack frames.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5369 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
19 files changed:
src/arm/frames-arm.cc
src/frames-inl.h
src/frames.cc
src/frames.h
src/heap.cc
src/heap.h
src/ia32/frames-ia32.cc
src/liveedit.cc
src/mark-compact.cc
src/mark-compact.h
src/memory.h
src/spaces.cc
src/spaces.h
src/top.cc
src/top.h
src/v8-counters.h
src/v8threads.cc
src/v8threads.h
src/x64/frames-x64.cc