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

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: Rebase 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
« no previous file with comments | « src/frames.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4611 matching lines...) Expand 10 before | Expand all | Expand 10 after
4657 4658
4658 isolate_->bootstrapper()->Iterate(v); 4659 isolate_->bootstrapper()->Iterate(v);
4659 v->Synchronize("bootstrapper"); 4660 v->Synchronize("bootstrapper");
4660 isolate_->Iterate(v); 4661 isolate_->Iterate(v);
4661 v->Synchronize("top"); 4662 v->Synchronize("top");
4662 Relocatable::Iterate(v); 4663 Relocatable::Iterate(v);
4663 v->Synchronize("relocatable"); 4664 v->Synchronize("relocatable");
4664 4665
4665 #ifdef ENABLE_DEBUGGER_SUPPORT 4666 #ifdef ENABLE_DEBUGGER_SUPPORT
4666 isolate_->debug()->Iterate(v); 4667 isolate_->debug()->Iterate(v);
4668 if (isolate_->deoptimizer_data() != NULL) {
4669 isolate_->deoptimizer_data()->Iterate(v);
4670 }
4667 #endif 4671 #endif
4668 v->Synchronize("debug"); 4672 v->Synchronize("debug");
4669 isolate_->compilation_cache()->Iterate(v); 4673 isolate_->compilation_cache()->Iterate(v);
4670 v->Synchronize("compilationcache"); 4674 v->Synchronize("compilationcache");
4671 4675
4672 // Iterate over local handles in handle scopes. 4676 // Iterate over local handles in handle scopes.
4673 isolate_->handle_scope_implementer()->Iterate(v); 4677 isolate_->handle_scope_implementer()->Iterate(v);
4674 v->Synchronize("handlescope"); 4678 v->Synchronize("handlescope");
4675 4679
4676 // Iterate over the builtin code objects and code stubs in the 4680 // Iterate over the builtin code objects and code stubs in the
(...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after
6034 } 6038 }
6035 6039
6036 6040
6037 void ExternalStringTable::TearDown() { 6041 void ExternalStringTable::TearDown() {
6038 new_space_strings_.Free(); 6042 new_space_strings_.Free();
6039 old_space_strings_.Free(); 6043 old_space_strings_.Free();
6040 } 6044 }
6041 6045
6042 6046
6043 } } // namespace v8::internal 6047 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698