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 5084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5095 | 5095 |
5096 template<typename StaticVisitor> | 5096 template<typename StaticVisitor> |
5097 inline void CodeIterateBody(Heap* heap); | 5097 inline void CodeIterateBody(Heap* heap); |
5098 | 5098 |
5099 DECLARE_PRINTER(Code) | 5099 DECLARE_PRINTER(Code) |
5100 DECLARE_VERIFIER(Code) | 5100 DECLARE_VERIFIER(Code) |
5101 | 5101 |
5102 void ClearInlineCaches(); | 5102 void ClearInlineCaches(); |
5103 void ClearTypeFeedbackCells(Heap* heap); | 5103 void ClearTypeFeedbackCells(Heap* heap); |
5104 | 5104 |
| 5105 BailoutId TranslatePcOffsetToAstId(uint32_t pc_offset); |
| 5106 |
5105 #define DECLARE_CODE_AGE_ENUM(X) k##X##CodeAge, | 5107 #define DECLARE_CODE_AGE_ENUM(X) k##X##CodeAge, |
5106 enum Age { | 5108 enum Age { |
5107 kNoAge = 0, | 5109 kNoAge = 0, |
5108 CODE_AGE_LIST(DECLARE_CODE_AGE_ENUM) | 5110 CODE_AGE_LIST(DECLARE_CODE_AGE_ENUM) |
5109 kAfterLastCodeAge, | 5111 kAfterLastCodeAge, |
5110 kLastCodeAge = kAfterLastCodeAge - 1, | 5112 kLastCodeAge = kAfterLastCodeAge - 1, |
5111 kCodeAgeCount = kAfterLastCodeAge - 1 | 5113 kCodeAgeCount = kAfterLastCodeAge - 1 |
5112 }; | 5114 }; |
5113 #undef DECLARE_CODE_AGE_ENUM | 5115 #undef DECLARE_CODE_AGE_ENUM |
5114 | 5116 |
(...skipping 5044 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10159 } else { | 10161 } else { |
10160 value &= ~(1 << bit_position); | 10162 value &= ~(1 << bit_position); |
10161 } | 10163 } |
10162 return value; | 10164 return value; |
10163 } | 10165 } |
10164 }; | 10166 }; |
10165 | 10167 |
10166 } } // namespace v8::internal | 10168 } } // namespace v8::internal |
10167 | 10169 |
10168 #endif // V8_OBJECTS_H_ | 10170 #endif // V8_OBJECTS_H_ |
OLD | NEW |