DescriptionAllow the debugger to inspect local variables from optimized and
inlined frames.
------------
Most remaining deoptimization code from the code generator moves to
DeoptContext. This allows the code to be reused by the debugger.
There is some rework of the code along the way. The remaining code in
the code generator is simpler.
Implement the ability to deopt a frame to an Array. Each inlined
frame accesses its locals from this array at some fixed offset.
Refactor the Debugger::CollectStackTrace code. New code is int
Debugger::CollectStackTraceNew. There is a flag --use_new_stacktrace
which can be used to revert back to the old version. I intend to
remove this flag shortly, after any dust clears.
Added a unit test which makes sure that we can inspect locals from
optimized and inlined frames. Tested this code in the dart editor
debugger as well.
R=iposva@google.com, srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=28468
Patch Set 1 #Patch Set 2 : #
Total comments: 17
Patch Set 3 : #
Total comments: 8
Patch Set 4 : #Patch Set 5 : #
Messages
Total messages: 8 (0 generated)
|