| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 virtual int GetNumberOfIncomingArguments() const; | 586 virtual int GetNumberOfIncomingArguments() const; |
| 587 | 587 |
| 588 // Garbage collection support. Iterates over incoming arguments, | 588 // Garbage collection support. Iterates over incoming arguments, |
| 589 // receiver, and any callee-saved registers. | 589 // receiver, and any callee-saved registers. |
| 590 void IterateArguments(ObjectVisitor* v) const; | 590 void IterateArguments(ObjectVisitor* v) const; |
| 591 | 591 |
| 592 private: | 592 private: |
| 593 inline Object* function_slot_object() const; | 593 inline Object* function_slot_object() const; |
| 594 | 594 |
| 595 friend class StackFrameIterator; | 595 friend class StackFrameIterator; |
| 596 friend class StackTracer; | |
| 597 }; | 596 }; |
| 598 | 597 |
| 599 | 598 |
| 600 class StubFrame : public StandardFrame { | 599 class StubFrame : public StandardFrame { |
| 601 public: | 600 public: |
| 602 virtual Type type() const { return STUB; } | 601 virtual Type type() const { return STUB; } |
| 603 | 602 |
| 604 // GC support. | 603 // GC support. |
| 605 virtual void Iterate(ObjectVisitor* v) const; | 604 virtual void Iterate(ObjectVisitor* v) const; |
| 606 | 605 |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 }; | 984 }; |
| 986 | 985 |
| 987 | 986 |
| 988 // Reads all frames on the current stack and copies them into the current | 987 // Reads all frames on the current stack and copies them into the current |
| 989 // zone memory. | 988 // zone memory. |
| 990 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone); | 989 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone); |
| 991 | 990 |
| 992 } } // namespace v8::internal | 991 } } // namespace v8::internal |
| 993 | 992 |
| 994 #endif // V8_FRAMES_H_ | 993 #endif // V8_FRAMES_H_ |
| OLD | NEW |