| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |