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 4817 matching lines...) Loading... |
4828 #undef DECLARE_CODE_AGE_ENUM | 4828 #undef DECLARE_CODE_AGE_ENUM |
4829 | 4829 |
4830 // Code aging | 4830 // Code aging |
4831 static void MakeCodeAgeSequenceYoung(byte* sequence); | 4831 static void MakeCodeAgeSequenceYoung(byte* sequence); |
4832 void MakeOlder(MarkingParity); | 4832 void MakeOlder(MarkingParity); |
4833 static bool IsYoungSequence(byte* sequence); | 4833 static bool IsYoungSequence(byte* sequence); |
4834 bool IsOld(); | 4834 bool IsOld(); |
4835 int GetAge(); | 4835 int GetAge(); |
4836 | 4836 |
4837 void PrintDeoptLocation(int bailout_id); | 4837 void PrintDeoptLocation(int bailout_id); |
| 4838 bool CanDeoptAt(Address pc); |
4838 | 4839 |
4839 #ifdef VERIFY_HEAP | 4840 #ifdef VERIFY_HEAP |
4840 void VerifyEmbeddedMapsDependency(); | 4841 void VerifyEmbeddedMapsDependency(); |
4841 #endif | 4842 #endif |
4842 | 4843 |
4843 // Max loop nesting marker used to postpose OSR. We don't take loop | 4844 // Max loop nesting marker used to postpose OSR. We don't take loop |
4844 // nesting that is deeper than 5 levels into account. | 4845 // nesting that is deeper than 5 levels into account. |
4845 static const int kMaxLoopNestingMarker = 6; | 4846 static const int kMaxLoopNestingMarker = 6; |
4846 | 4847 |
4847 // Layout description. | 4848 // Layout description. |
(...skipping 4869 matching lines...) Loading... |
9717 } else { | 9718 } else { |
9718 value &= ~(1 << bit_position); | 9719 value &= ~(1 << bit_position); |
9719 } | 9720 } |
9720 return value; | 9721 return value; |
9721 } | 9722 } |
9722 }; | 9723 }; |
9723 | 9724 |
9724 } } // namespace v8::internal | 9725 } } // namespace v8::internal |
9725 | 9726 |
9726 #endif // V8_OBJECTS_H_ | 9727 #endif // V8_OBJECTS_H_ |
OLD | NEW |