Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1505)

Side by Side Diff: src/heap.cc

Issue 7230045: Support debugger inspection of locals in optimized frames (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed test code Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 15 matching lines...) Expand all
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 #include "v8.h" 28 #include "v8.h"
29 29
30 #include "accessors.h" 30 #include "accessors.h"
31 #include "api.h" 31 #include "api.h"
32 #include "bootstrapper.h" 32 #include "bootstrapper.h"
33 #include "codegen.h" 33 #include "codegen.h"
34 #include "compilation-cache.h" 34 #include "compilation-cache.h"
35 #include "debug.h" 35 #include "debug.h"
36 #include "deoptimizer.h"
36 #include "global-handles.h" 37 #include "global-handles.h"
37 #include "heap-profiler.h" 38 #include "heap-profiler.h"
38 #include "liveobjectlist-inl.h" 39 #include "liveobjectlist-inl.h"
39 #include "mark-compact.h" 40 #include "mark-compact.h"
40 #include "natives.h" 41 #include "natives.h"
41 #include "objects-visiting.h" 42 #include "objects-visiting.h"
42 #include "runtime-profiler.h" 43 #include "runtime-profiler.h"
43 #include "scanner-base.h" 44 #include "scanner-base.h"
44 #include "scopeinfo.h" 45 #include "scopeinfo.h"
45 #include "snapshot.h" 46 #include "snapshot.h"
(...skipping 4612 matching lines...) Expand 10 before | Expand all | Expand 10 after
4658 4659
4659 isolate_->bootstrapper()->Iterate(v); 4660 isolate_->bootstrapper()->Iterate(v);
4660 v->Synchronize("bootstrapper"); 4661 v->Synchronize("bootstrapper");
4661 isolate_->Iterate(v); 4662 isolate_->Iterate(v);
4662 v->Synchronize("top"); 4663 v->Synchronize("top");
4663 Relocatable::Iterate(v); 4664 Relocatable::Iterate(v);
4664 v->Synchronize("relocatable"); 4665 v->Synchronize("relocatable");
4665 4666
4666 #ifdef ENABLE_DEBUGGER_SUPPORT 4667 #ifdef ENABLE_DEBUGGER_SUPPORT
4667 isolate_->debug()->Iterate(v); 4668 isolate_->debug()->Iterate(v);
4669 if (isolate_->deoptimizer_data() != NULL) {
4670 isolate_->deoptimizer_data()->Iterate(v);
4671 }
4668 #endif 4672 #endif
4669 v->Synchronize("debug"); 4673 v->Synchronize("debug");
4670 isolate_->compilation_cache()->Iterate(v); 4674 isolate_->compilation_cache()->Iterate(v);
4671 v->Synchronize("compilationcache"); 4675 v->Synchronize("compilationcache");
4672 4676
4673 // Iterate over local handles in handle scopes. 4677 // Iterate over local handles in handle scopes.
4674 isolate_->handle_scope_implementer()->Iterate(v); 4678 isolate_->handle_scope_implementer()->Iterate(v);
4675 v->Synchronize("handlescope"); 4679 v->Synchronize("handlescope");
4676 4680
4677 // Iterate over the builtin code objects and code stubs in the 4681 // Iterate over the builtin code objects and code stubs in the
(...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after
6035 } 6039 }
6036 6040
6037 6041
6038 void ExternalStringTable::TearDown() { 6042 void ExternalStringTable::TearDown() {
6039 new_space_strings_.Free(); 6043 new_space_strings_.Free();
6040 old_space_strings_.Free(); 6044 old_space_strings_.Free();
6041 } 6045 }
6042 6046
6043 6047
6044 } } // namespace v8::internal 6048 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698