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

Side by Side Diff: src/heap/heap.h

Issue 2955793002: Revert of Make some functions that are hit during renderer startup available for inlining (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « src/ast/variables.cc ('k') | src/heap/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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HEAP_HEAP_H_ 5 #ifndef V8_HEAP_HEAP_H_
6 #define V8_HEAP_HEAP_H_ 6 #define V8_HEAP_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 1988 matching lines...) Expand 10 before | Expand all | Expand 10 after
1999 MUST_USE_RESULT AllocationResult 1999 MUST_USE_RESULT AllocationResult
2000 AllocateBytecodeArray(int length, const byte* raw_bytecodes, int frame_size, 2000 AllocateBytecodeArray(int length, const byte* raw_bytecodes, int frame_size,
2001 int parameter_count, FixedArray* constant_pool); 2001 int parameter_count, FixedArray* constant_pool);
2002 2002
2003 MUST_USE_RESULT AllocationResult CopyCode(Code* code); 2003 MUST_USE_RESULT AllocationResult CopyCode(Code* code);
2004 2004
2005 MUST_USE_RESULT AllocationResult 2005 MUST_USE_RESULT AllocationResult
2006 CopyBytecodeArray(BytecodeArray* bytecode_array); 2006 CopyBytecodeArray(BytecodeArray* bytecode_array);
2007 2007
2008 // Allocates a fixed array initialized with undefined values 2008 // Allocates a fixed array initialized with undefined values
2009 MUST_USE_RESULT inline AllocationResult AllocateFixedArray( 2009 MUST_USE_RESULT AllocationResult
2010 int length, PretenureFlag pretenure = NOT_TENURED); 2010 AllocateFixedArray(int length, PretenureFlag pretenure = NOT_TENURED);
2011 2011
2012 MUST_USE_RESULT AllocationResult AllocateSmallOrderedHashSet( 2012 MUST_USE_RESULT AllocationResult AllocateSmallOrderedHashSet(
2013 int length, PretenureFlag pretenure = NOT_TENURED); 2013 int length, PretenureFlag pretenure = NOT_TENURED);
2014 MUST_USE_RESULT AllocationResult AllocateSmallOrderedHashMap( 2014 MUST_USE_RESULT AllocationResult AllocateSmallOrderedHashMap(
2015 int length, PretenureFlag pretenure = NOT_TENURED); 2015 int length, PretenureFlag pretenure = NOT_TENURED);
2016 2016
2017 // Allocate an uninitialized object. The memory is non-executable if the 2017 // Allocate an uninitialized object. The memory is non-executable if the
2018 // hardware and OS allow. This is the single choke-point for allocations 2018 // hardware and OS allow. This is the single choke-point for allocations
2019 // performed by the runtime and should not be bypassed (to extend this to 2019 // performed by the runtime and should not be bypassed (to extend this to
2020 // inlined allocations, use the Heap::DisableInlineAllocation() support). 2020 // inlined allocations, use the Heap::DisableInlineAllocation() support).
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
2659 friend class PagedSpace; 2659 friend class PagedSpace;
2660 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2660 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2661 }; 2661 };
2662 2662
2663 V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space); 2663 V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space);
2664 2664
2665 } // namespace internal 2665 } // namespace internal
2666 } // namespace v8 2666 } // namespace v8
2667 2667
2668 #endif // V8_HEAP_HEAP_H_ 2668 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/ast/variables.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698