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 22 matching lines...) Expand all Loading... |
33 #include "safepoint-table.h" | 33 #include "safepoint-table.h" |
34 | 34 |
35 namespace v8 { | 35 namespace v8 { |
36 namespace internal { | 36 namespace internal { |
37 | 37 |
38 typedef uint32_t RegList; | 38 typedef uint32_t RegList; |
39 | 39 |
40 // Get the number of registers in a given register list. | 40 // Get the number of registers in a given register list. |
41 int NumRegs(RegList list); | 41 int NumRegs(RegList list); |
42 | 42 |
| 43 void SetUpJSCallerSavedCodeData(); |
| 44 |
43 // Return the code of the n-th saved register available to JavaScript. | 45 // Return the code of the n-th saved register available to JavaScript. |
44 int JSCallerSavedCode(int n); | 46 int JSCallerSavedCode(int n); |
45 | 47 |
46 | 48 |
47 // Forward declarations. | 49 // Forward declarations. |
48 class StackFrameIterator; | 50 class StackFrameIterator; |
49 class ThreadLocalTop; | 51 class ThreadLocalTop; |
50 class Isolate; | 52 class Isolate; |
51 | 53 |
52 class InnerPointerToCodeCache { | 54 class InnerPointerToCodeCache { |
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
881 }; | 883 }; |
882 | 884 |
883 | 885 |
884 // Reads all frames on the current stack and copies them into the current | 886 // Reads all frames on the current stack and copies them into the current |
885 // zone memory. | 887 // zone memory. |
886 Vector<StackFrame*> CreateStackMap(); | 888 Vector<StackFrame*> CreateStackMap(); |
887 | 889 |
888 } } // namespace v8::internal | 890 } } // namespace v8::internal |
889 | 891 |
890 #endif // V8_FRAMES_H_ | 892 #endif // V8_FRAMES_H_ |
OLD | NEW |