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

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: Re-upload to fix code-review error. Created 7 years 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
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 2044 matching lines...) Expand 10 before | Expand all | Expand 10 after
2134 // Allocate empty fixed array. 2135 // Allocate empty fixed array.
2135 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedArray(); 2136 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedArray();
2136 2137
2137 // Allocate empty external array of given type. 2138 // Allocate empty external array of given type.
2138 MUST_USE_RESULT MaybeObject* AllocateEmptyExternalArray( 2139 MUST_USE_RESULT MaybeObject* AllocateEmptyExternalArray(
2139 ExternalArrayType array_type); 2140 ExternalArrayType array_type);
2140 2141
2141 // Allocate empty fixed double array. 2142 // Allocate empty fixed double array.
2142 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedDoubleArray(); 2143 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedDoubleArray();
2143 2144
2145 // Allocate empty constant pool array.
2146 MUST_USE_RESULT MaybeObject* AllocateEmptyConstantPoolArray();
2147
2144 // Allocate a tenured simple cell. 2148 // Allocate a tenured simple cell.
2145 MUST_USE_RESULT MaybeObject* AllocateCell(Object* value); 2149 MUST_USE_RESULT MaybeObject* AllocateCell(Object* value);
2146 2150
2147 // Allocate a tenured JS global property cell initialized with the hole. 2151 // Allocate a tenured JS global property cell initialized with the hole.
2148 MUST_USE_RESULT MaybeObject* AllocatePropertyCell(); 2152 MUST_USE_RESULT MaybeObject* AllocatePropertyCell();
2149 2153
2150 // Allocate Box. 2154 // Allocate Box.
2151 MUST_USE_RESULT MaybeObject* AllocateBox(Object* value, 2155 MUST_USE_RESULT MaybeObject* AllocateBox(Object* value,
2152 PretenureFlag pretenure); 2156 PretenureFlag pretenure);
2153 2157
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
3084 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 3088 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
3085 3089
3086 private: 3090 private:
3087 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3091 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3088 }; 3092 };
3089 #endif // DEBUG 3093 #endif // DEBUG
3090 3094
3091 } } // namespace v8::internal 3095 } } // namespace v8::internal
3092 3096
3093 #endif // V8_HEAP_H_ 3097 #endif // V8_HEAP_H_
OLDNEW
« src/arm/builtins-arm.cc ('K') | « src/frames.h ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698