| 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 5609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5620 | 5620 |
| 5621 static const int kArgumentsBits = 16; | 5621 static const int kArgumentsBits = 16; |
| 5622 static const int kMaxArguments = (1 << kArgumentsBits) - 1; | 5622 static const int kMaxArguments = (1 << kArgumentsBits) - 1; |
| 5623 | 5623 |
| 5624 // This constant should be encodable in an ARM instruction. | 5624 // This constant should be encodable in an ARM instruction. |
| 5625 static const int kFlagsNotUsedInLookup = | 5625 static const int kFlagsNotUsedInLookup = |
| 5626 TypeField::kMask | CacheHolderField::kMask; | 5626 TypeField::kMask | CacheHolderField::kMask; |
| 5627 | 5627 |
| 5628 private: | 5628 private: |
| 5629 friend class RelocIterator; | 5629 friend class RelocIterator; |
| 5630 friend class Deoptimizer; // For FindCodeAgeSequence. |
| 5630 | 5631 |
| 5631 void ClearInlineCaches(Kind* kind); | 5632 void ClearInlineCaches(Kind* kind); |
| 5632 | 5633 |
| 5633 // Code aging | 5634 // Code aging |
| 5634 byte* FindCodeAgeSequence(); | 5635 byte* FindCodeAgeSequence(); |
| 5635 static void GetCodeAgeAndParity(Code* code, Age* age, | 5636 static void GetCodeAgeAndParity(Code* code, Age* age, |
| 5636 MarkingParity* parity); | 5637 MarkingParity* parity); |
| 5637 static void GetCodeAgeAndParity(byte* sequence, Age* age, | 5638 static void GetCodeAgeAndParity(byte* sequence, Age* age, |
| 5638 MarkingParity* parity); | 5639 MarkingParity* parity); |
| 5639 static Code* GetCodeAgeStub(Isolate* isolate, Age age, MarkingParity parity); | 5640 static Code* GetCodeAgeStub(Isolate* isolate, Age age, MarkingParity parity); |
| (...skipping 5134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10774 } else { | 10775 } else { |
| 10775 value &= ~(1 << bit_position); | 10776 value &= ~(1 << bit_position); |
| 10776 } | 10777 } |
| 10777 return value; | 10778 return value; |
| 10778 } | 10779 } |
| 10779 }; | 10780 }; |
| 10780 | 10781 |
| 10781 } } // namespace v8::internal | 10782 } } // namespace v8::internal |
| 10782 | 10783 |
| 10783 #endif // V8_OBJECTS_H_ | 10784 #endif // V8_OBJECTS_H_ |
| OLD | NEW |