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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 int instance_size, | 782 int instance_size, |
783 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND); | 783 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND); |
784 | 784 |
785 // Allocates a partial map for bootstrapping. | 785 // Allocates a partial map for bootstrapping. |
786 MUST_USE_RESULT MaybeObject* AllocatePartialMap(InstanceType instance_type, | 786 MUST_USE_RESULT MaybeObject* AllocatePartialMap(InstanceType instance_type, |
787 int instance_size); | 787 int instance_size); |
788 | 788 |
789 // Allocates an empty code cache. | 789 // Allocates an empty code cache. |
790 MUST_USE_RESULT MaybeObject* AllocateCodeCache(); | 790 MUST_USE_RESULT MaybeObject* AllocateCodeCache(); |
791 | 791 |
792 // Allocates an empty PolymorphicCodeCache. | |
793 MUST_USE_RESULT MaybeObject* AllocatePolymorphicCodeCache(); | |
794 | |
795 // Allocates an AliasedArgumentsEntry. | |
796 MUST_USE_RESULT MaybeObject* AllocateAliasedArgumentsEntry(int slot); | |
797 | |
798 // Clear the Instanceof cache (used when a prototype changes). | 792 // Clear the Instanceof cache (used when a prototype changes). |
799 inline void ClearInstanceofCache(); | 793 inline void ClearInstanceofCache(); |
800 | 794 |
801 // Iterates the whole code space to clear all ICs of the given kind. | 795 // Iterates the whole code space to clear all ICs of the given kind. |
802 void ClearAllICsByKind(Code::Kind kind); | 796 void ClearAllICsByKind(Code::Kind kind); |
803 | 797 |
804 // For use during bootup. | 798 // For use during bootup. |
805 void RepairFreeListsAfterBoot(); | 799 void RepairFreeListsAfterBoot(); |
806 | 800 |
807 // Allocates and fully initializes a String. There are two String | 801 // Allocates and fully initializes a String. There are two String |
(...skipping 2281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3089 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3083 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
3090 | 3084 |
3091 private: | 3085 private: |
3092 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3086 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
3093 }; | 3087 }; |
3094 #endif // DEBUG | 3088 #endif // DEBUG |
3095 | 3089 |
3096 } } // namespace v8::internal | 3090 } } // namespace v8::internal |
3097 | 3091 |
3098 #endif // V8_HEAP_H_ | 3092 #endif // V8_HEAP_H_ |
OLD | NEW |