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 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 | 766 |
767 // Allocates an empty TypeFeedbackInfo. | 767 // Allocates an empty TypeFeedbackInfo. |
768 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo(); | 768 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo(); |
769 | 769 |
770 // Allocates an AliasedArgumentsEntry. | 770 // Allocates an AliasedArgumentsEntry. |
771 MUST_USE_RESULT MaybeObject* AllocateAliasedArgumentsEntry(int slot); | 771 MUST_USE_RESULT MaybeObject* AllocateAliasedArgumentsEntry(int slot); |
772 | 772 |
773 // Clear the Instanceof cache (used when a prototype changes). | 773 // Clear the Instanceof cache (used when a prototype changes). |
774 inline void ClearInstanceofCache(); | 774 inline void ClearInstanceofCache(); |
775 | 775 |
| 776 // This is expensive, only used when setting callbacks on objects. |
| 777 void ClearAllKeyedStoreICs(); |
| 778 |
776 // For use during bootup. | 779 // For use during bootup. |
777 void RepairFreeListsAfterBoot(); | 780 void RepairFreeListsAfterBoot(); |
778 | 781 |
779 // Allocates and fully initializes a String. There are two String | 782 // Allocates and fully initializes a String. There are two String |
780 // encodings: ASCII and two byte. One should choose between the three string | 783 // encodings: ASCII and two byte. One should choose between the three string |
781 // allocation functions based on the encoding of the string buffer used to | 784 // allocation functions based on the encoding of the string buffer used to |
782 // initialized the string. | 785 // initialized the string. |
783 // - ...FromAscii initializes the string from a buffer that is ASCII | 786 // - ...FromAscii initializes the string from a buffer that is ASCII |
784 // encoded (it does not check that the buffer is ASCII encoded) and the | 787 // encoded (it does not check that the buffer is ASCII encoded) and the |
785 // result will be ASCII encoded. | 788 // result will be ASCII encoded. |
(...skipping 2302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3088 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3091 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
3089 | 3092 |
3090 private: | 3093 private: |
3091 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3094 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
3092 }; | 3095 }; |
3093 #endif // DEBUG | 3096 #endif // DEBUG |
3094 | 3097 |
3095 } } // namespace v8::internal | 3098 } } // namespace v8::internal |
3096 | 3099 |
3097 #endif // V8_HEAP_H_ | 3100 #endif // V8_HEAP_H_ |
OLD | NEW |