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 |
792 // Clear the Instanceof cache (used when a prototype changes). | 798 // Clear the Instanceof cache (used when a prototype changes). |
793 inline void ClearInstanceofCache(); | 799 inline void ClearInstanceofCache(); |
794 | 800 |
795 // Iterates the whole code space to clear all ICs of the given kind. | 801 // Iterates the whole code space to clear all ICs of the given kind. |
796 void ClearAllICsByKind(Code::Kind kind); | 802 void ClearAllICsByKind(Code::Kind kind); |
797 | 803 |
798 // For use during bootup. | 804 // For use during bootup. |
799 void RepairFreeListsAfterBoot(); | 805 void RepairFreeListsAfterBoot(); |
800 | 806 |
801 // Allocates and fully initializes a String. There are two String | 807 // Allocates and fully initializes a String. There are two String |
(...skipping 2276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3078 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3084 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
3079 | 3085 |
3080 private: | 3086 private: |
3081 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3087 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
3082 }; | 3088 }; |
3083 #endif // DEBUG | 3089 #endif // DEBUG |
3084 | 3090 |
3085 } } // namespace v8::internal | 3091 } } // namespace v8::internal |
3086 | 3092 |
3087 #endif // V8_HEAP_H_ | 3093 #endif // V8_HEAP_H_ |
OLD | NEW |