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 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 // C/C++ argument slots size. | 781 // C/C++ argument slots size. |
782 const int kCArgSlotCount = 4; | 782 const int kCArgSlotCount = 4; |
783 const int kCArgsSlotsSize = kCArgSlotCount * Instruction::kInstrSize; | 783 const int kCArgsSlotsSize = kCArgSlotCount * Instruction::kInstrSize; |
784 // JS argument slots size. | 784 // JS argument slots size. |
785 const int kJSArgsSlotsSize = 0 * Instruction::kInstrSize; | 785 const int kJSArgsSlotsSize = 0 * Instruction::kInstrSize; |
786 // Assembly builtins argument slots size. | 786 // Assembly builtins argument slots size. |
787 const int kBArgsSlotsSize = 0 * Instruction::kInstrSize; | 787 const int kBArgsSlotsSize = 0 * Instruction::kInstrSize; |
788 | 788 |
789 const int kBranchReturnOffset = 2 * Instruction::kInstrSize; | 789 const int kBranchReturnOffset = 2 * Instruction::kInstrSize; |
790 | 790 |
791 const int kDoubleAlignmentBits = 3; | |
792 const int kDoubleAlignment = (1 << kDoubleAlignmentBits); | |
793 const int kDoubleAlignmentMask = kDoubleAlignment - 1; | |
794 | |
795 | |
796 } } // namespace v8::internal | 791 } } // namespace v8::internal |
797 | 792 |
798 #endif // #ifndef V8_MIPS_CONSTANTS_H_ | 793 #endif // #ifndef V8_MIPS_CONSTANTS_H_ |
OLD | NEW |