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

Side by Side Diff: src/isolate.h

Issue 9221011: Collect AstNode type information (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback (embedded AstProperties and AstConstructionVisitor) Created 8 years, 10 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
« src/ast.h ('K') | « src/hydrogen.cc ('k') | src/objects.h » ('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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 /* State for CodeEntry in profile-generator. */ \ 355 /* State for CodeEntry in profile-generator. */ \
356 V(CodeGenerator*, current_code_generator, NULL) \ 356 V(CodeGenerator*, current_code_generator, NULL) \
357 V(bool, jump_target_compiling_deferred_code, false) \ 357 V(bool, jump_target_compiling_deferred_code, false) \
358 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \ 358 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \
359 V(Object*, string_stream_current_security_token, NULL) \ 359 V(Object*, string_stream_current_security_token, NULL) \
360 /* TODO(isolates): Release this on destruction? */ \ 360 /* TODO(isolates): Release this on destruction? */ \
361 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ 361 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \
362 /* Serializer state. */ \ 362 /* Serializer state. */ \
363 V(ExternalReferenceTable*, external_reference_table, NULL) \ 363 V(ExternalReferenceTable*, external_reference_table, NULL) \
364 /* AstNode state. */ \ 364 /* AstNode state. */ \
365 V(unsigned, ast_node_id, 0) \ 365 V(int, ast_node_id, 0) \
366 V(unsigned, ast_node_count, 0) \ 366 V(unsigned, ast_node_count, 0) \
367 /* SafeStackFrameIterator activations count. */ \ 367 /* SafeStackFrameIterator activations count. */ \
368 V(int, safe_stack_iterator_counter, 0) \ 368 V(int, safe_stack_iterator_counter, 0) \
369 V(uint64_t, enabled_cpu_features, 0) \ 369 V(uint64_t, enabled_cpu_features, 0) \
370 V(CpuProfiler*, cpu_profiler, NULL) \ 370 V(CpuProfiler*, cpu_profiler, NULL) \
371 V(HeapProfiler*, heap_profiler, NULL) \ 371 V(HeapProfiler*, heap_profiler, NULL) \
372 ISOLATE_PLATFORM_INIT_LIST(V) \ 372 ISOLATE_PLATFORM_INIT_LIST(V) \
373 ISOLATE_DEBUGGER_INIT_LIST(V) 373 ISOLATE_DEBUGGER_INIT_LIST(V)
374 374
375 class Isolate { 375 class Isolate {
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 1391
1392 // Mark the global context with out of memory. 1392 // Mark the global context with out of memory.
1393 inline void Context::mark_out_of_memory() { 1393 inline void Context::mark_out_of_memory() {
1394 global_context()->set_out_of_memory(HEAP->true_value()); 1394 global_context()->set_out_of_memory(HEAP->true_value());
1395 } 1395 }
1396 1396
1397 1397
1398 } } // namespace v8::internal 1398 } } // namespace v8::internal
1399 1399
1400 #endif // V8_ISOLATE_H_ 1400 #endif // V8_ISOLATE_H_
OLDNEW
« src/ast.h ('K') | « src/hydrogen.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698