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

Side by Side Diff: src/heap.h

Issue 183883011: Differentate between code target pointers and heap pointers in constant pools. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 months 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 992 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 1003
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 number_of_int64_entries,
1014 int first_ptr_index, 1014 int number_of_code_ptr_entries,
1015 int first_int32_index); 1015 int number_of_heap_ptr_entries,
1016 int number_of_int32_entries);
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
1025 // Failure::RetryAfterGC(requested_bytes, space) if the allocation failed. 1026 // Failure::RetryAfterGC(requested_bytes, space) if the allocation failed.
(...skipping 2088 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
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