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 24 matching lines...) Expand all Loading... |
35 | 35 |
36 // Get the number of registers in a given register list. | 36 // Get the number of registers in a given register list. |
37 int NumRegs(RegList list); | 37 int NumRegs(RegList list); |
38 | 38 |
39 // Return the code of the n-th saved register available to JavaScript. | 39 // Return the code of the n-th saved register available to JavaScript. |
40 int JSCallerSavedCode(int n); | 40 int JSCallerSavedCode(int n); |
41 | 41 |
42 | 42 |
43 // Forward declarations. | 43 // Forward declarations. |
44 class StackFrameIterator; | 44 class StackFrameIterator; |
45 class Top; | |
46 class ThreadLocalTop; | 45 class ThreadLocalTop; |
47 | 46 |
48 | 47 |
49 class StackHandler BASE_EMBEDDED { | 48 class StackHandler BASE_EMBEDDED { |
50 public: | 49 public: |
51 enum State { | 50 enum State { |
52 ENTRY, | 51 ENTRY, |
53 TRY_CATCH, | 52 TRY_CATCH, |
54 TRY_FINALLY | 53 TRY_FINALLY |
55 }; | 54 }; |
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
673 }; | 672 }; |
674 | 673 |
675 | 674 |
676 // Reads all frames on the current stack and copies them into the current | 675 // Reads all frames on the current stack and copies them into the current |
677 // zone memory. | 676 // zone memory. |
678 Vector<StackFrame*> CreateStackMap(); | 677 Vector<StackFrame*> CreateStackMap(); |
679 | 678 |
680 } } // namespace v8::internal | 679 } } // namespace v8::internal |
681 | 680 |
682 #endif // V8_FRAMES_H_ | 681 #endif // V8_FRAMES_H_ |
OLD | NEW |