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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 static const int kFunctionArgOffset = +3 * kPointerSize; | 75 static const int kFunctionArgOffset = +3 * kPointerSize; |
76 static const int kReceiverArgOffset = +4 * kPointerSize; | 76 static const int kReceiverArgOffset = +4 * kPointerSize; |
77 static const int kArgcOffset = +5 * kPointerSize; | 77 static const int kArgcOffset = +5 * kPointerSize; |
78 static const int kArgvOffset = +6 * kPointerSize; | 78 static const int kArgvOffset = +6 * kPointerSize; |
79 }; | 79 }; |
80 | 80 |
81 | 81 |
82 class ExitFrameConstants : public AllStatic { | 82 class ExitFrameConstants : public AllStatic { |
83 public: | 83 public: |
84 static const int kDebugMarkOffset = -3 * kPointerSize; | 84 static const int kDebugMarkOffset = -2 * kPointerSize; |
85 static const int kSPOffset = -2 * kPointerSize; | 85 static const int kSPOffset = -1 * kPointerSize; |
86 | 86 |
87 // Let the parameters pointer for exit frames point just below the | 87 // Let the parameters pointer for exit frames point just below the |
88 // frame structure on the stack (frame pointer and return address). | 88 // frame structure on the stack (frame pointer and return address). |
89 static const int kPPDisplacement = +2 * kPointerSize; | 89 static const int kPPDisplacement = +2 * kPointerSize; |
90 | 90 |
91 static const int kCallerFPOffset = 0 * kPointerSize; | 91 static const int kCallerFPOffset = 0 * kPointerSize; |
92 static const int kCallerPCOffset = +1 * kPointerSize; | 92 static const int kCallerPCOffset = +1 * kPointerSize; |
93 }; | 93 }; |
94 | 94 |
95 | 95 |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 // 6 | argv | v | 284 // 6 | argv | v |
285 // +-------------+ <--- | 285 // +-------------+ <--- |
286 // | | | 286 // | | |
287 // higher | | | 287 // higher | | |
288 // addresses | | | 288 // addresses | | |
289 | 289 |
290 | 290 |
291 } } // namespace v8::internal | 291 } } // namespace v8::internal |
292 | 292 |
293 #endif // V8_FRAMES_IA32_H_ | 293 #endif // V8_FRAMES_IA32_H_ |
OLD | NEW |