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

Side by Side Diff: src/heap.h

Issue 88043002: Out-of-line constant pool on Arm: Stage 3 - Set Constant Pool Pointer on Function Entry (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Sync and Rebase Created 6 years, 11 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/frames.h ('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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 V(Map, code_map, CodeMap) \ 70 V(Map, code_map, CodeMap) \
71 V(Map, scope_info_map, ScopeInfoMap) \ 71 V(Map, scope_info_map, ScopeInfoMap) \
72 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \ 72 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \
73 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \ 73 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \
74 V(Map, constant_pool_array_map, ConstantPoolArrayMap) \ 74 V(Map, constant_pool_array_map, ConstantPoolArrayMap) \
75 V(Object, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \ 75 V(Object, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \
76 V(Map, hash_table_map, HashTableMap) \ 76 V(Map, hash_table_map, HashTableMap) \
77 V(FixedArray, empty_fixed_array, EmptyFixedArray) \ 77 V(FixedArray, empty_fixed_array, EmptyFixedArray) \
78 V(ByteArray, empty_byte_array, EmptyByteArray) \ 78 V(ByteArray, empty_byte_array, EmptyByteArray) \
79 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \ 79 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \
80 V(ConstantPoolArray, empty_constant_pool_array, EmptyConstantPoolArray) \
80 V(Smi, stack_limit, StackLimit) \ 81 V(Smi, stack_limit, StackLimit) \
81 V(Oddball, arguments_marker, ArgumentsMarker) \ 82 V(Oddball, arguments_marker, ArgumentsMarker) \
82 /* The roots above this line should be boring from a GC point of view. */ \ 83 /* The roots above this line should be boring from a GC point of view. */ \
83 /* This means they are never in new space and never on a page that is */ \ 84 /* This means they are never in new space and never on a page that is */ \
84 /* being compacted. */ \ 85 /* being compacted. */ \
85 V(FixedArray, number_string_cache, NumberStringCache) \ 86 V(FixedArray, number_string_cache, NumberStringCache) \
86 V(Object, instanceof_cache_function, InstanceofCacheFunction) \ 87 V(Object, instanceof_cache_function, InstanceofCacheFunction) \
87 V(Object, instanceof_cache_map, InstanceofCacheMap) \ 88 V(Object, instanceof_cache_map, InstanceofCacheMap) \
88 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \ 89 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \
89 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ 90 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \
(...skipping 2026 matching lines...) Expand 10 before | Expand all | Expand 10 after
2116 // Allocate empty fixed array. 2117 // Allocate empty fixed array.
2117 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedArray(); 2118 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedArray();
2118 2119
2119 // Allocate empty external array of given type. 2120 // Allocate empty external array of given type.
2120 MUST_USE_RESULT MaybeObject* AllocateEmptyExternalArray( 2121 MUST_USE_RESULT MaybeObject* AllocateEmptyExternalArray(
2121 ExternalArrayType array_type); 2122 ExternalArrayType array_type);
2122 2123
2123 // Allocate empty fixed double array. 2124 // Allocate empty fixed double array.
2124 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedDoubleArray(); 2125 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedDoubleArray();
2125 2126
2127 // Allocate empty constant pool array.
2128 MUST_USE_RESULT MaybeObject* AllocateEmptyConstantPoolArray();
2129
2126 // Allocate a tenured simple cell. 2130 // Allocate a tenured simple cell.
2127 MUST_USE_RESULT MaybeObject* AllocateCell(Object* value); 2131 MUST_USE_RESULT MaybeObject* AllocateCell(Object* value);
2128 2132
2129 // Allocate a tenured JS global property cell initialized with the hole. 2133 // Allocate a tenured JS global property cell initialized with the hole.
2130 MUST_USE_RESULT MaybeObject* AllocatePropertyCell(); 2134 MUST_USE_RESULT MaybeObject* AllocatePropertyCell();
2131 2135
2132 // Allocate Box. 2136 // Allocate Box.
2133 MUST_USE_RESULT MaybeObject* AllocateBox(Object* value, 2137 MUST_USE_RESULT MaybeObject* AllocateBox(Object* value,
2134 PretenureFlag pretenure); 2138 PretenureFlag pretenure);
2135 2139
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
2992 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2996 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2993 2997
2994 private: 2998 private:
2995 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2999 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2996 }; 3000 };
2997 #endif // DEBUG 3001 #endif // DEBUG
2998 3002
2999 } } // namespace v8::internal 3003 } } // namespace v8::internal
3000 3004
3001 #endif // V8_HEAP_H_ 3005 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/frames.h ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698