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 993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1004 // Allocates a fixed array initialized with the hole values. | 1004 // Allocates a fixed array initialized with the hole values. |
1005 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation | 1005 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation |
1006 // failed. | 1006 // failed. |
1007 // Please note this does not perform a garbage collection. | 1007 // Please note this does not perform a garbage collection. |
1008 MUST_USE_RESULT MaybeObject* AllocateFixedArrayWithHoles( | 1008 MUST_USE_RESULT MaybeObject* AllocateFixedArrayWithHoles( |
1009 int length, | 1009 int length, |
1010 PretenureFlag pretenure = NOT_TENURED); | 1010 PretenureFlag pretenure = NOT_TENURED); |
1011 | 1011 |
1012 MUST_USE_RESULT MaybeObject* AllocateConstantPoolArray( | 1012 MUST_USE_RESULT MaybeObject* AllocateConstantPoolArray( |
1013 int first_int64_index, | 1013 int first_int64_index, |
1014 int first_ptr_index, | 1014 int first_code_ptr_index, |
| 1015 int first_heap_ptr_index, |
1015 int first_int32_index); | 1016 int first_int32_index); |
1016 | 1017 |
1017 // Allocates a fixed double array with uninitialized values. Returns | 1018 // Allocates a fixed double array with uninitialized values. Returns |
1018 // Failure::RetryAfterGC(requested_bytes, space) if the allocation failed. | 1019 // Failure::RetryAfterGC(requested_bytes, space) if the allocation failed. |
1019 // Please note this does not perform a garbage collection. | 1020 // Please note this does not perform a garbage collection. |
1020 MUST_USE_RESULT MaybeObject* AllocateUninitializedFixedDoubleArray( | 1021 MUST_USE_RESULT MaybeObject* AllocateUninitializedFixedDoubleArray( |
1021 int length, | 1022 int length, |
1022 PretenureFlag pretenure = NOT_TENURED); | 1023 PretenureFlag pretenure = NOT_TENURED); |
1023 | 1024 |
1024 // Allocates a fixed double array with hole values. Returns | 1025 // Allocates a fixed double array with hole values. Returns |
(...skipping 2089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3114 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3115 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
3115 | 3116 |
3116 private: | 3117 private: |
3117 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3118 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
3118 }; | 3119 }; |
3119 #endif // DEBUG | 3120 #endif // DEBUG |
3120 | 3121 |
3121 } } // namespace v8::internal | 3122 } } // namespace v8::internal |
3122 | 3123 |
3123 #endif // V8_HEAP_H_ | 3124 #endif // V8_HEAP_H_ |
OLD | NEW |