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 2092 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2103 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedArray(); | 2103 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedArray(); |
2104 | 2104 |
2105 // Allocate empty external array of given type. | 2105 // Allocate empty external array of given type. |
2106 MUST_USE_RESULT MaybeObject* AllocateEmptyExternalArray( | 2106 MUST_USE_RESULT MaybeObject* AllocateEmptyExternalArray( |
2107 ExternalArrayType array_type); | 2107 ExternalArrayType array_type); |
2108 | 2108 |
2109 // Allocate empty fixed typed array of given type. | 2109 // Allocate empty fixed typed array of given type. |
2110 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedTypedArray( | 2110 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedTypedArray( |
2111 ExternalArrayType array_type); | 2111 ExternalArrayType array_type); |
2112 | 2112 |
2113 // Allocate empty fixed double array. | |
2114 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedDoubleArray(); | |
2115 | |
2116 // Allocate empty constant pool array. | 2113 // Allocate empty constant pool array. |
2117 MUST_USE_RESULT MaybeObject* AllocateEmptyConstantPoolArray(); | 2114 MUST_USE_RESULT MaybeObject* AllocateEmptyConstantPoolArray(); |
2118 | 2115 |
2119 // Allocate a tenured simple cell. | 2116 // Allocate a tenured simple cell. |
2120 MUST_USE_RESULT MaybeObject* AllocateCell(Object* value); | 2117 MUST_USE_RESULT MaybeObject* AllocateCell(Object* value); |
2121 | 2118 |
2122 // Allocate a tenured JS global property cell initialized with the hole. | 2119 // Allocate a tenured JS global property cell initialized with the hole. |
2123 MUST_USE_RESULT MaybeObject* AllocatePropertyCell(); | 2120 MUST_USE_RESULT MaybeObject* AllocatePropertyCell(); |
2124 | 2121 |
2125 // Performs a minor collection in new generation. | 2122 // Performs a minor collection in new generation. |
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3001 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2998 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
3002 | 2999 |
3003 private: | 3000 private: |
3004 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3001 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
3005 }; | 3002 }; |
3006 #endif // DEBUG | 3003 #endif // DEBUG |
3007 | 3004 |
3008 } } // namespace v8::internal | 3005 } } // namespace v8::internal |
3009 | 3006 |
3010 #endif // V8_HEAP_H_ | 3007 #endif // V8_HEAP_H_ |
OLD | NEW |