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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // Note that the number of saved registers may be smaller than the reserved | 95 // Note that the number of saved registers may be smaller than the reserved |
96 // space, i.e. kNumSafepointSavedRegisters <= kNumSafepointRegisters. | 96 // space, i.e. kNumSafepointSavedRegisters <= kNumSafepointRegisters. |
97 const RegList kSafepointSavedRegisters = kJSCallerSaved | kCalleeSaved; | 97 const RegList kSafepointSavedRegisters = kJSCallerSaved | kCalleeSaved; |
98 const int kNumSafepointSavedRegisters = kNumJSCallerSaved + kNumCalleeSaved; | 98 const int kNumSafepointSavedRegisters = kNumJSCallerSaved + kNumCalleeSaved; |
99 | 99 |
100 // ---------------------------------------------------- | 100 // ---------------------------------------------------- |
101 | 101 |
102 | 102 |
103 class EntryFrameConstants : public AllStatic { | 103 class EntryFrameConstants : public AllStatic { |
104 public: | 104 public: |
105 static const int kCallerFPOffset = -3 * kPointerSize; | 105 static const int kCallerFPOffset = |
| 106 -(StandardFrameConstants::kFixedFrameSizeFromFp + kPointerSize); |
106 }; | 107 }; |
107 | 108 |
108 | 109 |
109 class ExitFrameConstants : public AllStatic { | 110 class ExitFrameConstants : public AllStatic { |
110 public: | 111 public: |
111 static const int kCodeOffset = -2 * kPointerSize; | 112 static const int kCodeOffset = -2 * kPointerSize; |
112 static const int kSPOffset = -1 * kPointerSize; | 113 static const int kSPOffset = -1 * kPointerSize; |
113 | 114 |
114 // The caller fields are below the frame pointer on the stack. | 115 // The caller fields are below the frame pointer on the stack. |
115 static const int kCallerFPOffset = 0 * kPointerSize; | 116 static const int kCallerFPOffset = 0 * kPointerSize; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 173 |
173 | 174 |
174 inline void StackHandler::SetFp(Address slot, Address fp) { | 175 inline void StackHandler::SetFp(Address slot, Address fp) { |
175 Memory::Address_at(slot) = fp; | 176 Memory::Address_at(slot) = fp; |
176 } | 177 } |
177 | 178 |
178 | 179 |
179 } } // namespace v8::internal | 180 } } // namespace v8::internal |
180 | 181 |
181 #endif // V8_ARM_FRAMES_ARM_H_ | 182 #endif // V8_ARM_FRAMES_ARM_H_ |
OLD | NEW |