| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_X87_FRAMES_X87_H_ | 5 #ifndef V8_X87_FRAMES_X87_H_ |
| 6 #define V8_X87_FRAMES_X87_H_ | 6 #define V8_X87_FRAMES_X87_H_ |
| 7 | 7 |
| 8 namespace v8 { | 8 namespace v8 { |
| 9 namespace internal { | 9 namespace internal { |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 const int kAlignmentPaddingPushed = 2; | 32 const int kAlignmentPaddingPushed = 2; |
| 33 const int kAlignmentZapValue = 0x12345678; // Not heap object tagged. | 33 const int kAlignmentZapValue = 0x12345678; // Not heap object tagged. |
| 34 | 34 |
| 35 // ---------------------------------------------------- | 35 // ---------------------------------------------------- |
| 36 | 36 |
| 37 | 37 |
| 38 class EntryFrameConstants : public AllStatic { | 38 class EntryFrameConstants : public AllStatic { |
| 39 public: | 39 public: |
| 40 static const int kCallerFPOffset = -6 * kPointerSize; | 40 static const int kCallerFPOffset = -6 * kPointerSize; |
| 41 | 41 |
| 42 static const int kNewTargetArgOffset = +2 * kPointerSize; |
| 42 static const int kFunctionArgOffset = +3 * kPointerSize; | 43 static const int kFunctionArgOffset = +3 * kPointerSize; |
| 43 static const int kReceiverArgOffset = +4 * kPointerSize; | 44 static const int kReceiverArgOffset = +4 * kPointerSize; |
| 44 static const int kArgcOffset = +5 * kPointerSize; | 45 static const int kArgcOffset = +5 * kPointerSize; |
| 45 static const int kArgvOffset = +6 * kPointerSize; | 46 static const int kArgvOffset = +6 * kPointerSize; |
| 46 }; | 47 }; |
| 47 | 48 |
| 48 | 49 |
| 49 class ExitFrameConstants : public AllStatic { | 50 class ExitFrameConstants : public AllStatic { |
| 50 public: | 51 public: |
| 51 static const int kFrameSize = 2 * kPointerSize; | 52 static const int kFrameSize = 2 * kPointerSize; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 75 static const int kParam0Offset = -2 * kPointerSize; | 76 static const int kParam0Offset = -2 * kPointerSize; |
| 76 static const int kReceiverOffset = -1 * kPointerSize; | 77 static const int kReceiverOffset = -1 * kPointerSize; |
| 77 | 78 |
| 78 static const int kDynamicAlignmentStateOffset = kLocal0Offset; | 79 static const int kDynamicAlignmentStateOffset = kLocal0Offset; |
| 79 }; | 80 }; |
| 80 | 81 |
| 81 | 82 |
| 82 } } // namespace v8::internal | 83 } } // namespace v8::internal |
| 83 | 84 |
| 84 #endif // V8_X87_FRAMES_X87_H_ | 85 #endif // V8_X87_FRAMES_X87_H_ |
| OLD | NEW |