| 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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 731   MUST_USE_RESULT MaybeObject* ReinitializeJSGlobalProxy( | 731   MUST_USE_RESULT MaybeObject* ReinitializeJSGlobalProxy( | 
| 732       JSFunction* constructor, JSGlobalProxy* global); | 732       JSFunction* constructor, JSGlobalProxy* global); | 
| 733 | 733 | 
| 734   // Allocates and initializes a new JavaScript object based on a map. | 734   // Allocates and initializes a new JavaScript object based on a map. | 
| 735   // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation | 735   // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation | 
| 736   // failed. | 736   // failed. | 
| 737   // Please note this does not perform a garbage collection. | 737   // Please note this does not perform a garbage collection. | 
| 738   MUST_USE_RESULT MaybeObject* AllocateJSObjectFromMap( | 738   MUST_USE_RESULT MaybeObject* AllocateJSObjectFromMap( | 
| 739       Map* map, PretenureFlag pretenure = NOT_TENURED); | 739       Map* map, PretenureFlag pretenure = NOT_TENURED); | 
| 740 | 740 | 
|  | 741   MUST_USE_RESULT MaybeObject* AllocateJSObjectFromMapForDeoptimizer( | 
|  | 742       Map* map, PretenureFlag pretenure = NOT_TENURED); | 
|  | 743 | 
| 741   MUST_USE_RESULT MaybeObject* AllocateJSObjectFromMapWithAllocationSite( | 744   MUST_USE_RESULT MaybeObject* AllocateJSObjectFromMapWithAllocationSite( | 
| 742       Map* map, Handle<AllocationSite> allocation_site); | 745       Map* map, Handle<AllocationSite> allocation_site); | 
| 743 | 746 | 
| 744   // Allocates a heap object based on the map. | 747   // Allocates a heap object based on the map. | 
| 745   // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation | 748   // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation | 
| 746   // failed. | 749   // failed. | 
| 747   // Please note this function does not perform a garbage collection. | 750   // Please note this function does not perform a garbage collection. | 
| 748   MUST_USE_RESULT MaybeObject* Allocate(Map* map, AllocationSpace space); | 751   MUST_USE_RESULT MaybeObject* Allocate(Map* map, AllocationSpace space); | 
| 749 | 752 | 
| 750   MUST_USE_RESULT MaybeObject* AllocateWithAllocationSite(Map* map, | 753   MUST_USE_RESULT MaybeObject* AllocateWithAllocationSite(Map* map, | 
| (...skipping 2299 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3050   DisallowHeapAllocation no_allocation;  // i.e. no gc allowed. | 3053   DisallowHeapAllocation no_allocation;  // i.e. no gc allowed. | 
| 3051 | 3054 | 
| 3052  private: | 3055  private: | 
| 3053   DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3056   DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 
| 3054 }; | 3057 }; | 
| 3055 #endif  // DEBUG | 3058 #endif  // DEBUG | 
| 3056 | 3059 | 
| 3057 } }  // namespace v8::internal | 3060 } }  // namespace v8::internal | 
| 3058 | 3061 | 
| 3059 #endif  // V8_HEAP_H_ | 3062 #endif  // V8_HEAP_H_ | 
| OLD | NEW | 
|---|