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 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
760 | 760 |
761 // Allocates an empty TypeFeedbackInfo. | 761 // Allocates an empty TypeFeedbackInfo. |
762 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo(); | 762 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo(); |
763 | 763 |
764 // Allocates an AliasedArgumentsEntry. | 764 // Allocates an AliasedArgumentsEntry. |
765 MUST_USE_RESULT MaybeObject* AllocateAliasedArgumentsEntry(int slot); | 765 MUST_USE_RESULT MaybeObject* AllocateAliasedArgumentsEntry(int slot); |
766 | 766 |
767 // Clear the Instanceof cache (used when a prototype changes). | 767 // Clear the Instanceof cache (used when a prototype changes). |
768 inline void ClearInstanceofCache(); | 768 inline void ClearInstanceofCache(); |
769 | 769 |
770 void ClearAllICsByKind(Code::Kind kind); | |
Michael Starzinger
2013/11/04 15:18:17
nit: Let's add a short one-liner comment that stat
mvstanton
2013/11/04 16:30:05
Done.
| |
771 | |
770 // For use during bootup. | 772 // For use during bootup. |
771 void RepairFreeListsAfterBoot(); | 773 void RepairFreeListsAfterBoot(); |
772 | 774 |
773 // Allocates and fully initializes a String. There are two String | 775 // Allocates and fully initializes a String. There are two String |
774 // encodings: ASCII and two byte. One should choose between the three string | 776 // encodings: ASCII and two byte. One should choose between the three string |
775 // allocation functions based on the encoding of the string buffer used to | 777 // allocation functions based on the encoding of the string buffer used to |
776 // initialized the string. | 778 // initialized the string. |
777 // - ...FromAscii initializes the string from a buffer that is ASCII | 779 // - ...FromAscii initializes the string from a buffer that is ASCII |
778 // encoded (it does not check that the buffer is ASCII encoded) and the | 780 // encoded (it does not check that the buffer is ASCII encoded) and the |
779 // result will be ASCII encoded. | 781 // result will be ASCII encoded. |
(...skipping 2290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3070 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3072 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
3071 | 3073 |
3072 private: | 3074 private: |
3073 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3075 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
3074 }; | 3076 }; |
3075 #endif // DEBUG | 3077 #endif // DEBUG |
3076 | 3078 |
3077 } } // namespace v8::internal | 3079 } } // namespace v8::internal |
3078 | 3080 |
3079 #endif // V8_HEAP_H_ | 3081 #endif // V8_HEAP_H_ |
OLD | NEW |