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

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

Issue 1410793002: Alpha-sort internalized string list. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | no next file » | 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 <map> 9 #include <map>
10 10
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ 202 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \
203 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) 203 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset)
204 204
205 205
206 #define ROOT_LIST(V) \ 206 #define ROOT_LIST(V) \
207 STRONG_ROOT_LIST(V) \ 207 STRONG_ROOT_LIST(V) \
208 SMI_ROOT_LIST(V) \ 208 SMI_ROOT_LIST(V) \
209 V(StringTable, string_table, StringTable) 209 V(StringTable, string_table, StringTable)
210 210
211 #define INTERNALIZED_STRING_LIST(V) \ 211 #define INTERNALIZED_STRING_LIST(V) \
212 V(Object_string, "Object") \ 212 V(anonymous_string, "anonymous") \
213 V(proto_string, "__proto__") \
214 V(arguments_string, "arguments") \ 213 V(arguments_string, "arguments") \
215 V(Arguments_string, "Arguments") \ 214 V(Arguments_string, "Arguments") \
216 V(caller_string, "caller") \ 215 V(Array_string, "Array") \
216 V(bool16x8_string, "bool16x8") \
217 V(Bool16x8_string, "Bool16x8") \
218 V(bool32x4_string, "bool32x4") \
219 V(Bool32x4_string, "Bool32x4") \
220 V(bool8x16_string, "bool8x16") \
221 V(Bool8x16_string, "Bool8x16") \
217 V(boolean_string, "boolean") \ 222 V(boolean_string, "boolean") \
218 V(Boolean_string, "Boolean") \ 223 V(Boolean_string, "Boolean") \
224 V(byte_length_string, "byteLength") \
225 V(byte_offset_string, "byteOffset") \
219 V(callee_string, "callee") \ 226 V(callee_string, "callee") \
227 V(caller_string, "caller") \
228 V(cell_value_string, "%cell_value") \
229 V(char_at_string, "CharAt") \
230 V(closure_string, "(closure)") \
231 V(compare_ic_string, "==") \
220 V(configurable_string, "configurable") \ 232 V(configurable_string, "configurable") \
221 V(constructor_string, "constructor") \ 233 V(constructor_string, "constructor") \
234 V(Date_string, "Date") \
222 V(default_string, "default") \ 235 V(default_string, "default") \
236 V(done_string, "done") \
223 V(dot_result_string, ".result") \ 237 V(dot_result_string, ".result") \
238 V(dot_string, ".") \
224 V(enumerable_string, "enumerable") \ 239 V(enumerable_string, "enumerable") \
240 V(Error_string, "Error") \
225 V(eval_string, "eval") \ 241 V(eval_string, "eval") \
226 V(float32x4_string, "float32x4") \ 242 V(float32x4_string, "float32x4") \
227 V(Float32x4_string, "Float32x4") \ 243 V(Float32x4_string, "Float32x4") \
244 V(for_api_string, "for_api") \
245 V(for_string, "for") \
246 V(function_string, "function") \
247 V(Function_string, "Function") \
248 V(Generator_string, "Generator") \
249 V(get_string, "get") \
250 V(global_string, "global") \
251 V(ignore_case_string, "ignoreCase") \
252 V(illegal_access_string, "illegal access") \
253 V(illegal_argument_string, "illegal argument") \
254 V(index_string, "index") \
255 V(infinity_string, "Infinity") \
256 V(input_string, "input") \
257 V(int16x8_string, "int16x8") \
258 V(Int16x8_string, "Int16x8") \
228 V(int32x4_string, "int32x4") \ 259 V(int32x4_string, "int32x4") \
229 V(Int32x4_string, "Int32x4") \ 260 V(Int32x4_string, "Int32x4") \
230 V(uint32x4_string, "uint32x4") \
231 V(Uint32x4_string, "Uint32x4") \
232 V(bool32x4_string, "bool32x4") \
233 V(Bool32x4_string, "Bool32x4") \
234 V(int16x8_string, "int16x8") \
235 V(Int16x8_string, "Int16x8") \
236 V(uint16x8_string, "uint16x8") \
237 V(Uint16x8_string, "Uint16x8") \
238 V(bool16x8_string, "bool16x8") \
239 V(Bool16x8_string, "Bool16x8") \
240 V(int8x16_string, "int8x16") \ 261 V(int8x16_string, "int8x16") \
241 V(Int8x16_string, "Int8x16") \ 262 V(Int8x16_string, "Int8x16") \
242 V(uint8x16_string, "uint8x16") \ 263 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \
243 V(Uint8x16_string, "Uint8x16") \ 264 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \
244 V(bool8x16_string, "bool8x16") \ 265 V(last_index_string, "lastIndex") \
245 V(Bool8x16_string, "Bool8x16") \
246 V(function_string, "function") \
247 V(Function_string, "Function") \
248 V(get_string, "get") \
249 V(length_string, "length") \ 266 V(length_string, "length") \
267 V(Map_string, "Map") \
268 V(minus_infinity_string, "-Infinity") \
269 V(minus_zero_string, "-0") \
270 V(multiline_string, "multiline") \
250 V(name_string, "name") \ 271 V(name_string, "name") \
272 V(nan_string, "NaN") \
273 V(next_string, "next") \
251 V(null_string, "null") \ 274 V(null_string, "null") \
252 V(number_string, "number") \ 275 V(number_string, "number") \
253 V(Number_string, "Number") \ 276 V(Number_string, "Number") \
254 V(nan_string, "NaN") \ 277 V(object_string, "object") \
278 V(Object_string, "Object") \
279 V(proto_string, "__proto__") \
280 V(prototype_string, "prototype") \
281 V(query_colon_string, "(?:)") \
282 V(RegExp_string, "RegExp") \
255 V(set_string, "set") \ 283 V(set_string, "set") \
284 V(Set_string, "Set") \
285 V(source_mapping_url_string, "source_mapping_url") \
256 V(source_string, "source") \ 286 V(source_string, "source") \
257 V(source_url_string, "source_url") \ 287 V(source_url_string, "source_url") \
258 V(source_mapping_url_string, "source_mapping_url") \ 288 V(stack_string, "stack") \
259 V(this_string, "this") \
260 V(writable_string, "writable") \
261 V(global_string, "global") \
262 V(ignore_case_string, "ignoreCase") \
263 V(multiline_string, "multiline") \
264 V(sticky_string, "sticky") \ 289 V(sticky_string, "sticky") \
265 V(unicode_string, "unicode") \ 290 V(strict_compare_ic_string, "===") \
266 V(input_string, "input") \
267 V(index_string, "index") \
268 V(last_index_string, "lastIndex") \
269 V(object_string, "object") \
270 V(prototype_string, "prototype") \
271 V(string_string, "string") \ 291 V(string_string, "string") \
272 V(String_string, "String") \ 292 V(String_string, "String") \
273 V(symbol_string, "symbol") \ 293 V(symbol_string, "symbol") \
274 V(Symbol_string, "Symbol") \ 294 V(Symbol_string, "Symbol") \
275 V(Map_string, "Map") \ 295 V(this_string, "this") \
276 V(Set_string, "Set") \ 296 V(throw_string, "throw") \
297 V(toJSON_string, "toJSON") \
298 V(toString_string, "toString") \
299 V(uint16x8_string, "uint16x8") \
300 V(Uint16x8_string, "Uint16x8") \
301 V(uint32x4_string, "uint32x4") \
302 V(Uint32x4_string, "Uint32x4") \
303 V(uint8x16_string, "uint8x16") \
304 V(Uint8x16_string, "Uint8x16") \
305 V(undefined_string, "undefined") \
306 V(unicode_string, "unicode") \
307 V(valueOf_string, "valueOf") \
308 V(value_string, "value") \
277 V(WeakMap_string, "WeakMap") \ 309 V(WeakMap_string, "WeakMap") \
278 V(WeakSet_string, "WeakSet") \ 310 V(WeakSet_string, "WeakSet") \
279 V(for_string, "for") \ 311 V(writable_string, "writable")
280 V(for_api_string, "for_api") \
281 V(Date_string, "Date") \
282 V(char_at_string, "CharAt") \
283 V(undefined_string, "undefined") \
284 V(valueOf_string, "valueOf") \
285 V(stack_string, "stack") \
286 V(toString_string, "toString") \
287 V(toJSON_string, "toJSON") \
288 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \
289 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \
290 V(illegal_access_string, "illegal access") \
291 V(cell_value_string, "%cell_value") \
292 V(illegal_argument_string, "illegal argument") \
293 V(closure_string, "(closure)") \
294 V(dot_string, ".") \
295 V(compare_ic_string, "==") \
296 V(strict_compare_ic_string, "===") \
297 V(infinity_string, "Infinity") \
298 V(minus_infinity_string, "-Infinity") \
299 V(query_colon_string, "(?:)") \
300 V(Generator_string, "Generator") \
301 V(throw_string, "throw") \
302 V(done_string, "done") \
303 V(value_string, "value") \
304 V(next_string, "next") \
305 V(byte_length_string, "byteLength") \
306 V(byte_offset_string, "byteOffset") \
307 V(minus_zero_string, "-0") \
308 V(Array_string, "Array") \
309 V(Error_string, "Error") \
310 V(RegExp_string, "RegExp") \
311 V(anonymous_string, "anonymous")
312 312
313 #define PRIVATE_SYMBOL_LIST(V) \ 313 #define PRIVATE_SYMBOL_LIST(V) \
314 V(array_iteration_kind_symbol) \ 314 V(array_iteration_kind_symbol) \
315 V(array_iterator_next_symbol) \ 315 V(array_iterator_next_symbol) \
316 V(array_iterator_object_symbol) \ 316 V(array_iterator_object_symbol) \
317 V(call_site_function_symbol) \ 317 V(call_site_function_symbol) \
318 V(call_site_position_symbol) \ 318 V(call_site_position_symbol) \
319 V(call_site_receiver_symbol) \ 319 V(call_site_receiver_symbol) \
320 V(call_site_strict_symbol) \ 320 V(call_site_strict_symbol) \
321 V(class_end_position_symbol) \ 321 V(class_end_position_symbol) \
(...skipping 2409 matching lines...) Expand 10 before | Expand all | Expand 10 after
2731 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2731 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2732 2732
2733 private: 2733 private:
2734 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2734 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2735 }; 2735 };
2736 #endif // DEBUG 2736 #endif // DEBUG
2737 } // namespace internal 2737 } // namespace internal
2738 } // namespace v8 2738 } // namespace v8
2739 2739
2740 #endif // V8_HEAP_HEAP_H_ 2740 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698