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 4422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4433 #ifdef OBJECT_PRINT | 4433 #ifdef OBJECT_PRINT |
4434 inline void CodePrint() { | 4434 inline void CodePrint() { |
4435 CodePrint(stdout); | 4435 CodePrint(stdout); |
4436 } | 4436 } |
4437 void CodePrint(FILE* out); | 4437 void CodePrint(FILE* out); |
4438 #endif | 4438 #endif |
4439 #ifdef DEBUG | 4439 #ifdef DEBUG |
4440 void CodeVerify(); | 4440 void CodeVerify(); |
4441 #endif | 4441 #endif |
4442 void ClearInlineCaches(); | 4442 void ClearInlineCaches(); |
| 4443 void ClearTypeFeedbackCells(Heap* heap); |
4443 | 4444 |
4444 // Max loop nesting marker used to postpose OSR. We don't take loop | 4445 // Max loop nesting marker used to postpose OSR. We don't take loop |
4445 // nesting that is deeper than 5 levels into account. | 4446 // nesting that is deeper than 5 levels into account. |
4446 static const int kMaxLoopNestingMarker = 6; | 4447 static const int kMaxLoopNestingMarker = 6; |
4447 | 4448 |
4448 // Layout description. | 4449 // Layout description. |
4449 static const int kInstructionSizeOffset = HeapObject::kHeaderSize; | 4450 static const int kInstructionSizeOffset = HeapObject::kHeaderSize; |
4450 static const int kRelocationInfoOffset = kInstructionSizeOffset + kIntSize; | 4451 static const int kRelocationInfoOffset = kInstructionSizeOffset + kIntSize; |
4451 static const int kHandlerTableOffset = kRelocationInfoOffset + kPointerSize; | 4452 static const int kHandlerTableOffset = kRelocationInfoOffset + kPointerSize; |
4452 static const int kDeoptimizationDataOffset = | 4453 static const int kDeoptimizationDataOffset = |
(...skipping 4204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8657 } else { | 8658 } else { |
8658 value &= ~(1 << bit_position); | 8659 value &= ~(1 << bit_position); |
8659 } | 8660 } |
8660 return value; | 8661 return value; |
8661 } | 8662 } |
8662 }; | 8663 }; |
8663 | 8664 |
8664 } } // namespace v8::internal | 8665 } } // namespace v8::internal |
8665 | 8666 |
8666 #endif // V8_OBJECTS_H_ | 8667 #endif // V8_OBJECTS_H_ |
OLD | NEW |