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

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: Add immed check 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
« src/frames.h ('K') | « 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 2048 matching lines...) Expand 10 before | Expand all | Expand 10 after
2138 // Allocate empty fixed array. 2139 // Allocate empty fixed array.
2139 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedArray(); 2140 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedArray();
2140 2141
2141 // Allocate empty external array of given type. 2142 // Allocate empty external array of given type.
2142 MUST_USE_RESULT MaybeObject* AllocateEmptyExternalArray( 2143 MUST_USE_RESULT MaybeObject* AllocateEmptyExternalArray(
2143 ExternalArrayType array_type); 2144 ExternalArrayType array_type);
2144 2145
2145 // Allocate empty fixed double array. 2146 // Allocate empty fixed double array.
2146 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedDoubleArray(); 2147 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedDoubleArray();
2147 2148
2149 // Allocate empty constant pool array.
2150 MUST_USE_RESULT MaybeObject* AllocateEmptyConstantPoolArray();
2151
2148 // Allocate a tenured simple cell. 2152 // Allocate a tenured simple cell.
2149 MUST_USE_RESULT MaybeObject* AllocateCell(Object* value); 2153 MUST_USE_RESULT MaybeObject* AllocateCell(Object* value);
2150 2154
2151 // Allocate a tenured JS global property cell initialized with the hole. 2155 // Allocate a tenured JS global property cell initialized with the hole.
2152 MUST_USE_RESULT MaybeObject* AllocatePropertyCell(); 2156 MUST_USE_RESULT MaybeObject* AllocatePropertyCell();
2153 2157
2154 // Allocate Box. 2158 // Allocate Box.
2155 MUST_USE_RESULT MaybeObject* AllocateBox(Object* value, 2159 MUST_USE_RESULT MaybeObject* AllocateBox(Object* value,
2156 PretenureFlag pretenure); 2160 PretenureFlag pretenure);
2157 2161
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
3088 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 3092 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
3089 3093
3090 private: 3094 private:
3091 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3095 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3092 }; 3096 };
3093 #endif // DEBUG 3097 #endif // DEBUG
3094 3098
3095 } } // namespace v8::internal 3099 } } // namespace v8::internal
3096 3100
3097 #endif // V8_HEAP_H_ 3101 #endif // V8_HEAP_H_
OLDNEW
« src/frames.h ('K') | « src/frames.h ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698