| 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 5283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5294 | 5294 |
| 5295 void ClearInlineCaches(); | 5295 void ClearInlineCaches(); |
| 5296 void ClearTypeFeedbackCells(Heap* heap); | 5296 void ClearTypeFeedbackCells(Heap* heap); |
| 5297 | 5297 |
| 5298 BailoutId TranslatePcOffsetToAstId(uint32_t pc_offset); | 5298 BailoutId TranslatePcOffsetToAstId(uint32_t pc_offset); |
| 5299 | 5299 |
| 5300 #define DECLARE_CODE_AGE_ENUM(X) k##X##CodeAge, | 5300 #define DECLARE_CODE_AGE_ENUM(X) k##X##CodeAge, |
| 5301 enum Age { | 5301 enum Age { |
| 5302 kNotExecutedCodeAge = -2, | 5302 kNotExecutedCodeAge = -2, |
| 5303 kExecutedOnceCodeAge = -1, | 5303 kExecutedOnceCodeAge = -1, |
| 5304 kNoAge = 0, | 5304 kNoAgeCodeAge = 0, |
| 5305 CODE_AGE_LIST(DECLARE_CODE_AGE_ENUM) | 5305 CODE_AGE_LIST(DECLARE_CODE_AGE_ENUM) |
| 5306 kAfterLastCodeAge, | 5306 kAfterLastCodeAge, |
| 5307 kLastCodeAge = kAfterLastCodeAge - 1, | 5307 kLastCodeAge = kAfterLastCodeAge - 1, |
| 5308 kCodeAgeCount = kAfterLastCodeAge - 1, | 5308 kCodeAgeCount = kAfterLastCodeAge - 1, |
| 5309 kIsOldCodeAge = kSexagenarianCodeAge, | 5309 kIsOldCodeAge = kSexagenarianCodeAge, |
| 5310 kPreAgedCodeAge = kIsOldCodeAge - 1 | 5310 kPreAgedCodeAge = kIsOldCodeAge - 1 |
| 5311 }; | 5311 }; |
| 5312 #undef DECLARE_CODE_AGE_ENUM | 5312 #undef DECLARE_CODE_AGE_ENUM |
| 5313 | 5313 |
| 5314 // Code aging. Indicates how many full GCs this code has survived without | 5314 // Code aging. Indicates how many full GCs this code has survived without |
| (...skipping 5112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10427 } else { | 10427 } else { |
| 10428 value &= ~(1 << bit_position); | 10428 value &= ~(1 << bit_position); |
| 10429 } | 10429 } |
| 10430 return value; | 10430 return value; |
| 10431 } | 10431 } |
| 10432 }; | 10432 }; |
| 10433 | 10433 |
| 10434 } } // namespace v8::internal | 10434 } } // namespace v8::internal |
| 10435 | 10435 |
| 10436 #endif // V8_OBJECTS_H_ | 10436 #endif // V8_OBJECTS_H_ |
| OLD | NEW |