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

Side by Side Diff: src/heap.h

Issue 424743002: Clean up name distinction between Keyed ICs and Element Handlers (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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/code-stubs-hydrogen.cc ('k') | src/ia32/ic-ia32.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_H_ 5 #ifndef V8_HEAP_H_
6 #define V8_HEAP_H_ 6 #define V8_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 V(global_context_map) \ 260 V(global_context_map) \
261 V(undefined_map) \ 261 V(undefined_map) \
262 V(the_hole_map) \ 262 V(the_hole_map) \
263 V(null_map) \ 263 V(null_map) \
264 V(boolean_map) \ 264 V(boolean_map) \
265 V(uninitialized_map) \ 265 V(uninitialized_map) \
266 V(message_object_map) \ 266 V(message_object_map) \
267 V(foreign_map) \ 267 V(foreign_map) \
268 V(neander_map) 268 V(neander_map)
269 269
270 #define INTERNALIZED_STRING_LIST(V) \ 270 #define INTERNALIZED_STRING_LIST(V) \
271 V(Array_string, "Array") \ 271 V(Array_string, "Array") \
272 V(Object_string, "Object") \ 272 V(Object_string, "Object") \
273 V(proto_string, "__proto__") \ 273 V(proto_string, "__proto__") \
274 V(arguments_string, "arguments") \ 274 V(arguments_string, "arguments") \
275 V(Arguments_string, "Arguments") \ 275 V(Arguments_string, "Arguments") \
276 V(call_string, "call") \ 276 V(call_string, "call") \
277 V(apply_string, "apply") \ 277 V(apply_string, "apply") \
278 V(caller_string, "caller") \ 278 V(caller_string, "caller") \
279 V(boolean_string, "boolean") \ 279 V(boolean_string, "boolean") \
280 V(Boolean_string, "Boolean") \ 280 V(Boolean_string, "Boolean") \
281 V(callee_string, "callee") \ 281 V(callee_string, "callee") \
282 V(constructor_string, "constructor") \ 282 V(constructor_string, "constructor") \
283 V(dot_result_string, ".result") \ 283 V(dot_result_string, ".result") \
284 V(dot_for_string, ".for.") \ 284 V(dot_for_string, ".for.") \
285 V(eval_string, "eval") \ 285 V(eval_string, "eval") \
286 V(empty_string, "") \ 286 V(empty_string, "") \
287 V(function_string, "function") \ 287 V(function_string, "function") \
288 V(length_string, "length") \ 288 V(length_string, "length") \
289 V(name_string, "name") \ 289 V(name_string, "name") \
290 V(null_string, "null") \ 290 V(null_string, "null") \
291 V(number_string, "number") \ 291 V(number_string, "number") \
292 V(Number_string, "Number") \ 292 V(Number_string, "Number") \
293 V(nan_string, "NaN") \ 293 V(nan_string, "NaN") \
294 V(RegExp_string, "RegExp") \ 294 V(RegExp_string, "RegExp") \
295 V(source_string, "source") \ 295 V(source_string, "source") \
296 V(source_url_string, "source_url") \ 296 V(source_url_string, "source_url") \
297 V(source_mapping_url_string, "source_mapping_url") \ 297 V(source_mapping_url_string, "source_mapping_url") \
298 V(global_string, "global") \ 298 V(global_string, "global") \
299 V(ignore_case_string, "ignoreCase") \ 299 V(ignore_case_string, "ignoreCase") \
300 V(multiline_string, "multiline") \ 300 V(multiline_string, "multiline") \
301 V(input_string, "input") \ 301 V(input_string, "input") \
302 V(index_string, "index") \ 302 V(index_string, "index") \
303 V(last_index_string, "lastIndex") \ 303 V(last_index_string, "lastIndex") \
304 V(object_string, "object") \ 304 V(object_string, "object") \
305 V(literals_string, "literals") \ 305 V(literals_string, "literals") \
306 V(prototype_string, "prototype") \ 306 V(prototype_string, "prototype") \
307 V(string_string, "string") \ 307 V(string_string, "string") \
308 V(String_string, "String") \ 308 V(String_string, "String") \
309 V(symbol_string, "symbol") \ 309 V(symbol_string, "symbol") \
310 V(Symbol_string, "Symbol") \ 310 V(Symbol_string, "Symbol") \
311 V(for_string, "for") \ 311 V(for_string, "for") \
312 V(for_api_string, "for_api") \ 312 V(for_api_string, "for_api") \
313 V(for_intern_string, "for_intern") \ 313 V(for_intern_string, "for_intern") \
314 V(private_api_string, "private_api") \ 314 V(private_api_string, "private_api") \
315 V(private_intern_string, "private_intern") \ 315 V(private_intern_string, "private_intern") \
316 V(Date_string, "Date") \ 316 V(Date_string, "Date") \
317 V(to_string_string, "toString") \ 317 V(to_string_string, "toString") \
318 V(char_at_string, "CharAt") \ 318 V(char_at_string, "CharAt") \
319 V(undefined_string, "undefined") \ 319 V(undefined_string, "undefined") \
320 V(value_of_string, "valueOf") \ 320 V(value_of_string, "valueOf") \
321 V(stack_string, "stack") \ 321 V(stack_string, "stack") \
322 V(toJSON_string, "toJSON") \ 322 V(toJSON_string, "toJSON") \
323 V(InitializeVarGlobal_string, "InitializeVarGlobal") \ 323 V(InitializeVarGlobal_string, "InitializeVarGlobal") \
324 V(InitializeConstGlobal_string, "InitializeConstGlobal") \ 324 V(InitializeConstGlobal_string, "InitializeConstGlobal") \
325 V(KeyedLoadElementMonomorphic_string, \ 325 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \
326 "KeyedLoadElementMonomorphic") \ 326 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \
327 V(KeyedStoreElementMonomorphic_string, \ 327 V(stack_overflow_string, "kStackOverflowBoilerplate") \
328 "KeyedStoreElementMonomorphic") \ 328 V(illegal_access_string, "illegal access") \
329 V(stack_overflow_string, "kStackOverflowBoilerplate") \ 329 V(get_string, "get") \
330 V(illegal_access_string, "illegal access") \ 330 V(set_string, "set") \
331 V(get_string, "get") \ 331 V(map_field_string, "%map") \
332 V(set_string, "set") \ 332 V(elements_field_string, "%elements") \
333 V(map_field_string, "%map") \ 333 V(length_field_string, "%length") \
334 V(elements_field_string, "%elements") \ 334 V(cell_value_string, "%cell_value") \
335 V(length_field_string, "%length") \ 335 V(function_class_string, "Function") \
336 V(cell_value_string, "%cell_value") \ 336 V(illegal_argument_string, "illegal argument") \
337 V(function_class_string, "Function") \ 337 V(space_string, " ") \
338 V(illegal_argument_string, "illegal argument") \ 338 V(exec_string, "exec") \
339 V(space_string, " ") \ 339 V(zero_string, "0") \
340 V(exec_string, "exec") \ 340 V(global_eval_string, "GlobalEval") \
341 V(zero_string, "0") \ 341 V(identity_hash_string, "v8::IdentityHash") \
342 V(global_eval_string, "GlobalEval") \ 342 V(closure_string, "(closure)") \
343 V(identity_hash_string, "v8::IdentityHash") \ 343 V(dot_string, ".") \
344 V(closure_string, "(closure)") \ 344 V(compare_ic_string, "==") \
345 V(dot_string, ".") \ 345 V(strict_compare_ic_string, "===") \
346 V(compare_ic_string, "==") \ 346 V(infinity_string, "Infinity") \
347 V(strict_compare_ic_string, "===") \ 347 V(minus_infinity_string, "-Infinity") \
348 V(infinity_string, "Infinity") \ 348 V(query_colon_string, "(?:)") \
349 V(minus_infinity_string, "-Infinity") \ 349 V(Generator_string, "Generator") \
350 V(query_colon_string, "(?:)") \ 350 V(throw_string, "throw") \
351 V(Generator_string, "Generator") \ 351 V(done_string, "done") \
352 V(throw_string, "throw") \ 352 V(value_string, "value") \
353 V(done_string, "done") \ 353 V(next_string, "next") \
354 V(value_string, "value") \ 354 V(byte_length_string, "byteLength") \
355 V(next_string, "next") \ 355 V(byte_offset_string, "byteOffset") \
356 V(byte_length_string, "byteLength") \ 356 V(buffer_string, "buffer") \
357 V(byte_offset_string, "byteOffset") \ 357 V(intl_initialized_marker_string, "v8::intl_initialized_marker") \
358 V(buffer_string, "buffer") \
359 V(intl_initialized_marker_string, "v8::intl_initialized_marker") \
360 V(intl_impl_object_string, "v8::intl_object") 358 V(intl_impl_object_string, "v8::intl_object")
361 359
362 // Forward declarations. 360 // Forward declarations.
363 class HeapStats; 361 class HeapStats;
364 class Isolate; 362 class Isolate;
365 class WeakObjectRetainer; 363 class WeakObjectRetainer;
366 364
367 365
368 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap, 366 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap,
369 Object** pointer); 367 Object** pointer);
(...skipping 2287 matching lines...) Expand 10 before | Expand all | Expand 10 after
2657 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2655 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2658 2656
2659 private: 2657 private:
2660 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2658 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2661 }; 2659 };
2662 #endif // DEBUG 2660 #endif // DEBUG
2663 2661
2664 } } // namespace v8::internal 2662 } } // namespace v8::internal
2665 2663
2666 #endif // V8_HEAP_H_ 2664 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/ia32/ic-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698