Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(793)

Side by Side Diff: src/heap.h

Issue 48923002: Provide private symbols through internal APIs (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Mo comments Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/factory.cc ('k') | src/heap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 int length, 874 int length,
875 ExternalArrayType array_type, 875 ExternalArrayType array_type,
876 void* external_pointer, 876 void* external_pointer,
877 PretenureFlag pretenure); 877 PretenureFlag pretenure);
878 878
879 // Allocate a symbol in old space. 879 // Allocate a symbol in old space.
880 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation 880 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
881 // failed. 881 // failed.
882 // Please note this does not perform a garbage collection. 882 // Please note this does not perform a garbage collection.
883 MUST_USE_RESULT MaybeObject* AllocateSymbol(); 883 MUST_USE_RESULT MaybeObject* AllocateSymbol();
884 MUST_USE_RESULT MaybeObject* AllocatePrivateSymbol();
884 885
885 // Allocate a tenured AllocationSite. It's payload is null 886 // Allocate a tenured AllocationSite. It's payload is null
886 MUST_USE_RESULT MaybeObject* AllocateAllocationSite(); 887 MUST_USE_RESULT MaybeObject* AllocateAllocationSite();
887 888
888 // Allocates a fixed array initialized with undefined values 889 // Allocates a fixed array initialized with undefined values
889 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation 890 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
890 // failed. 891 // failed.
891 // Please note this does not perform a garbage collection. 892 // Please note this does not perform a garbage collection.
892 MUST_USE_RESULT MaybeObject* AllocateFixedArray( 893 MUST_USE_RESULT MaybeObject* AllocateFixedArray(
893 int length, 894 int length,
(...skipping 2176 matching lines...) Expand 10 before | Expand all | Expand 10 after
3070 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 3071 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
3071 3072
3072 private: 3073 private:
3073 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3074 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3074 }; 3075 };
3075 #endif // DEBUG 3076 #endif // DEBUG
3076 3077
3077 } } // namespace v8::internal 3078 } } // namespace v8::internal
3078 3079
3079 #endif // V8_HEAP_H_ 3080 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698