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 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 | 755 |
756 // Allocates an empty TypeFeedbackInfo. | 756 // Allocates an empty TypeFeedbackInfo. |
757 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo(); | 757 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo(); |
758 | 758 |
759 // Allocates an AliasedArgumentsEntry. | 759 // Allocates an AliasedArgumentsEntry. |
760 MUST_USE_RESULT MaybeObject* AllocateAliasedArgumentsEntry(int slot); | 760 MUST_USE_RESULT MaybeObject* AllocateAliasedArgumentsEntry(int slot); |
761 | 761 |
762 // Clear the Instanceof cache (used when a prototype changes). | 762 // Clear the Instanceof cache (used when a prototype changes). |
763 inline void ClearInstanceofCache(); | 763 inline void ClearInstanceofCache(); |
764 | 764 |
| 765 // Iterates the whole code space to clear all ICs of the given kind. |
| 766 void ClearAllICsByKind(Code::Kind kind); |
| 767 |
765 // For use during bootup. | 768 // For use during bootup. |
766 void RepairFreeListsAfterBoot(); | 769 void RepairFreeListsAfterBoot(); |
767 | 770 |
768 // Allocates and fully initializes a String. There are two String | 771 // Allocates and fully initializes a String. There are two String |
769 // encodings: ASCII and two byte. One should choose between the three string | 772 // encodings: ASCII and two byte. One should choose between the three string |
770 // allocation functions based on the encoding of the string buffer used to | 773 // allocation functions based on the encoding of the string buffer used to |
771 // initialized the string. | 774 // initialized the string. |
772 // - ...FromAscii initializes the string from a buffer that is ASCII | 775 // - ...FromAscii initializes the string from a buffer that is ASCII |
773 // encoded (it does not check that the buffer is ASCII encoded) and the | 776 // encoded (it does not check that the buffer is ASCII encoded) and the |
774 // result will be ASCII encoded. | 777 // result will be ASCII encoded. |
(...skipping 2291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3066 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3069 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
3067 | 3070 |
3068 private: | 3071 private: |
3069 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3072 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
3070 }; | 3073 }; |
3071 #endif // DEBUG | 3074 #endif // DEBUG |
3072 | 3075 |
3073 } } // namespace v8::internal | 3076 } } // namespace v8::internal |
3074 | 3077 |
3075 #endif // V8_HEAP_H_ | 3078 #endif // V8_HEAP_H_ |
OLD | NEW |