Go to file
sgjesse@chromium.org 7d2be7c0e0 Support debugger inspection of locals in optimized frames
Optimized frames are now handled by the debugger. When discovering optimized frames during stack inspection in the debugger they are "deoptimized" using the normal deoptimization code and the deoptimizer output information is used to provide frame information to the debugger.

Before this change the debugger reported each optimized frame as one frame no matter the number of inlined functuions that might have been called inside of it. Also all locals where reported as undefined. Locals can still be reposted as undefined when their value is not "known" by the optimized frame.

As the structures used to calculate the output frames when deoptimizing are not GC safe the information for the debugger is copied to another structure (DeoptimizedFrameInfo) which is registered with the global deoptimizer data and processed during GC.

R=fschneider@chromium.org

BUG=v8:1140
TEST=test/mjsunit/debug-evaluate-locals-optimized*

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8464 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-06-29 13:02:00 +00:00
benchmarks Promote the current V8 benchmark suite candidate to version 6. 2010-10-07 07:25:22 +00:00
build GYP: Generate makefiles for all architectures on Linux 2011-06-09 15:51:08 +00:00
include Remove obsolete aggregating and non-working producers heap profilers. 2011-06-24 11:38:47 +00:00
preparser Fix presubmit errors catched by a more recent version of cpplint.py. 2011-06-07 07:17:46 +00:00
samples Error checking for length parameter of external array constructors in shell 2011-06-29 10:27:14 +00:00
src Support debugger inspection of locals in optimized frames 2011-06-29 13:02:00 +00:00
test Support debugger inspection of locals in optimized frames 2011-06-29 13:02:00 +00:00
tools added the --test option for d8 into tools/test.py 2011-06-29 08:22:36 +00:00
.gitignore ARM: Changed the handling of compiletime CPU feature detection 2011-05-03 06:51:59 +00:00
AUTHORS Cleanup to HEnvironment::CopyForInlining 2011-06-28 08:54:09 +00:00
ChangeLog Prepare push to trunk. Now working on 3.4.9. 2011-06-29 11:21:23 +00:00
LICENSE Fix the license info to correctly state Copyright "the V8 project 2011-01-19 09:20:18 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
SConstruct Fix 64 bit build on FreeBSD. 32 bit build is still borked. 2011-06-22 20:22:44 +00:00