| 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 997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1008 // failed. | 1008 // failed. |
| 1009 // Please note this does not perform a garbage collection. | 1009 // Please note this does not perform a garbage collection. |
| 1010 MUST_USE_RESULT MaybeObject* AllocateFixedArrayWithHoles( | 1010 MUST_USE_RESULT MaybeObject* AllocateFixedArrayWithHoles( |
| 1011 int length, | 1011 int length, |
| 1012 PretenureFlag pretenure = NOT_TENURED); | 1012 PretenureFlag pretenure = NOT_TENURED); |
| 1013 | 1013 |
| 1014 MUST_USE_RESULT MaybeObject* AllocateConstantPoolArray( | 1014 MUST_USE_RESULT MaybeObject* AllocateConstantPoolArray( |
| 1015 int number_of_int64_entries, | 1015 int number_of_int64_entries, |
| 1016 int number_of_code_ptr_entries, | 1016 int number_of_code_ptr_entries, |
| 1017 int number_of_heap_ptr_entries, | 1017 int number_of_heap_ptr_entries, |
| 1018 int number_of_weak_ptr_entries, |
| 1018 int number_of_int32_entries); | 1019 int number_of_int32_entries); |
| 1019 | 1020 |
| 1020 // Allocates a fixed double array with uninitialized values. Returns | 1021 // Allocates a fixed double array with uninitialized values. Returns |
| 1021 // Failure::RetryAfterGC(requested_bytes, space) if the allocation failed. | 1022 // Failure::RetryAfterGC(requested_bytes, space) if the allocation failed. |
| 1022 // Please note this does not perform a garbage collection. | 1023 // Please note this does not perform a garbage collection. |
| 1023 MUST_USE_RESULT MaybeObject* AllocateUninitializedFixedDoubleArray( | 1024 MUST_USE_RESULT MaybeObject* AllocateUninitializedFixedDoubleArray( |
| 1024 int length, | 1025 int length, |
| 1025 PretenureFlag pretenure = NOT_TENURED); | 1026 PretenureFlag pretenure = NOT_TENURED); |
| 1026 | 1027 |
| 1027 // Allocates a fixed double array with hole values. Returns | 1028 // Allocates a fixed double array with hole values. Returns |
| (...skipping 2111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3139 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3140 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
| 3140 | 3141 |
| 3141 private: | 3142 private: |
| 3142 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3143 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 3143 }; | 3144 }; |
| 3144 #endif // DEBUG | 3145 #endif // DEBUG |
| 3145 | 3146 |
| 3146 } } // namespace v8::internal | 3147 } } // namespace v8::internal |
| 3147 | 3148 |
| 3148 #endif // V8_HEAP_H_ | 3149 #endif // V8_HEAP_H_ |
| OLD | NEW |