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

Side by Side Diff: src/frames.cc

Issue 7346006: Fixed a long-standing TODO: Removed a few *-incl.h #includes from isolate.h. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: 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 18 matching lines...) Expand all
29 29
30 #include "ast.h" 30 #include "ast.h"
31 #include "deoptimizer.h" 31 #include "deoptimizer.h"
32 #include "frames-inl.h" 32 #include "frames-inl.h"
33 #include "full-codegen.h" 33 #include "full-codegen.h"
34 #include "mark-compact.h" 34 #include "mark-compact.h"
35 #include "safepoint-table.h" 35 #include "safepoint-table.h"
36 #include "scopeinfo.h" 36 #include "scopeinfo.h"
37 #include "string-stream.h" 37 #include "string-stream.h"
38 38
39 #include "allocation-inl.h"
40
39 namespace v8 { 41 namespace v8 {
40 namespace internal { 42 namespace internal {
41 43
42 // Iterator that supports traversing the stack handlers of a 44 // Iterator that supports traversing the stack handlers of a
43 // particular frame. Needs to know the top of the handler chain. 45 // particular frame. Needs to know the top of the handler chain.
44 class StackHandlerIterator BASE_EMBEDDED { 46 class StackHandlerIterator BASE_EMBEDDED {
45 public: 47 public:
46 StackHandlerIterator(const StackFrame* frame, StackHandler* handler) 48 StackHandlerIterator(const StackFrame* frame, StackHandler* handler)
47 : limit_(frame->fp()), handler_(handler) { 49 : limit_(frame->fp()), handler_(handler) {
48 // Make sure the handler has already been unwound to this frame. 50 // Make sure the handler has already been unwound to this frame.
(...skipping 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1271 ZoneList<StackFrame*> list(10); 1273 ZoneList<StackFrame*> list(10);
1272 for (StackFrameIterator it; !it.done(); it.Advance()) { 1274 for (StackFrameIterator it; !it.done(); it.Advance()) {
1273 StackFrame* frame = AllocateFrameCopy(it.frame()); 1275 StackFrame* frame = AllocateFrameCopy(it.frame());
1274 list.Add(frame); 1276 list.Add(frame);
1275 } 1277 }
1276 return list.ToVector(); 1278 return list.ToVector();
1277 } 1279 }
1278 1280
1279 1281
1280 } } // namespace v8::internal 1282 } } // namespace v8::internal
OLDNEW
« src/allocation.h ('K') | « src/debug.h ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698