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

Side by Side Diff: src/frames.h

Issue 3141047: Cleanup the way the debugger stores live registers when entering at a break... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 3 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/debug.h ('k') | src/ia32/code-stubs-ia32.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 : EntryFrame(iterator) { } 273 : EntryFrame(iterator) { }
274 274
275 private: 275 private:
276 friend class StackFrameIterator; 276 friend class StackFrameIterator;
277 }; 277 };
278 278
279 279
280 // Exit frames are used to exit JavaScript execution and go to C. 280 // Exit frames are used to exit JavaScript execution and go to C.
281 class ExitFrame: public StackFrame { 281 class ExitFrame: public StackFrame {
282 public: 282 public:
283 enum Mode { MODE_NORMAL, MODE_DEBUG };
284 virtual Type type() const { return EXIT; } 283 virtual Type type() const { return EXIT; }
285 284
286 virtual Code* unchecked_code() const; 285 virtual Code* unchecked_code() const;
287 286
288 Object*& code_slot() const; 287 Object*& code_slot() const;
289 288
290 // Garbage collection support. 289 // Garbage collection support.
291 virtual void Iterate(ObjectVisitor* v) const; 290 virtual void Iterate(ObjectVisitor* v) const;
292 291
293 virtual void SetCallerFp(Address caller_fp); 292 virtual void SetCallerFp(Address caller_fp);
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 }; 684 };
686 685
687 686
688 // Reads all frames on the current stack and copies them into the current 687 // Reads all frames on the current stack and copies them into the current
689 // zone memory. 688 // zone memory.
690 Vector<StackFrame*> CreateStackMap(); 689 Vector<StackFrame*> CreateStackMap();
691 690
692 } } // namespace v8::internal 691 } } // namespace v8::internal
693 692
694 #endif // V8_FRAMES_H_ 693 #endif // V8_FRAMES_H_
OLDNEW
« no previous file with comments | « src/debug.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698