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

Side by Side Diff: src/isolate.h

Issue 2817018: [Isolates] StatsTable moved to Isolate.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 10 years, 6 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/counters.cc ('k') | src/isolate.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 } 451 }
452 GLOBAL_CONTEXT_FIELDS(GLOBAL_CONTEXT_FIELD_ACCESSOR) 452 GLOBAL_CONTEXT_FIELDS(GLOBAL_CONTEXT_FIELD_ACCESSOR)
453 #undef GLOBAL_CONTEXT_FIELD_ACCESSOR 453 #undef GLOBAL_CONTEXT_FIELD_ACCESSOR
454 454
455 Bootstrapper* bootstrapper() { return bootstrapper_; } 455 Bootstrapper* bootstrapper() { return bootstrapper_; }
456 CpuFeatures* cpu_features() { return cpu_features_; } 456 CpuFeatures* cpu_features() { return cpu_features_; }
457 CodeRange* code_range() { return code_range_; } 457 CodeRange* code_range() { return code_range_; }
458 CompilationCache* compilation_cache() { return compilation_cache_; } 458 CompilationCache* compilation_cache() { return compilation_cache_; }
459 StackGuard* stack_guard() { return &stack_guard_; } 459 StackGuard* stack_guard() { return &stack_guard_; }
460 Heap* heap() { return &heap_; } 460 Heap* heap() { return &heap_; }
461 StatsTable* stats_table() { return stats_table_; }
461 StubCache* stub_cache() { return stub_cache_; } 462 StubCache* stub_cache() { return stub_cache_; }
462 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } 463 ThreadLocalTop* thread_local_top() { return &thread_local_top_; }
463 464
464 TranscendentalCache* transcendental_cache() const { 465 TranscendentalCache* transcendental_cache() const {
465 return transcendental_cache_; 466 return transcendental_cache_;
466 } 467 }
467 468
468 MemoryAllocator* memory_allocator() { 469 MemoryAllocator* memory_allocator() {
469 return memory_allocator_; 470 return memory_allocator_;
470 } 471 }
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 Address isolate_addresses_[k_isolate_address_count + 1]; 555 Address isolate_addresses_[k_isolate_address_count + 1];
555 NoAllocationStringAllocator* preallocated_message_space_; 556 NoAllocationStringAllocator* preallocated_message_space_;
556 557
557 Bootstrapper* bootstrapper_; 558 Bootstrapper* bootstrapper_;
558 CompilationCache* compilation_cache_; 559 CompilationCache* compilation_cache_;
559 CpuFeatures* cpu_features_; 560 CpuFeatures* cpu_features_;
560 CodeRange* code_range_; 561 CodeRange* code_range_;
561 Mutex* break_access_; 562 Mutex* break_access_;
562 Heap heap_; 563 Heap heap_;
563 StackGuard stack_guard_; 564 StackGuard stack_guard_;
565 StatsTable* stats_table_;
564 StubCache* stub_cache_; 566 StubCache* stub_cache_;
565 ThreadLocalTop thread_local_top_; 567 ThreadLocalTop thread_local_top_;
566 TranscendentalCache* transcendental_cache_; 568 TranscendentalCache* transcendental_cache_;
567 MemoryAllocator* memory_allocator_; 569 MemoryAllocator* memory_allocator_;
568 KeyedLookupCache* keyed_lookup_cache_; 570 KeyedLookupCache* keyed_lookup_cache_;
569 ContextSlotCache* context_slot_cache_; 571 ContextSlotCache* context_slot_cache_;
570 DescriptorLookupCache* descriptor_lookup_cache_; 572 DescriptorLookupCache* descriptor_lookup_cache_;
571 v8::ImplementationUtilities::HandleScopeData handle_scope_data_; 573 v8::ImplementationUtilities::HandleScopeData handle_scope_data_;
572 HandleScopeImplementer* handle_scope_implementer_; 574 HandleScopeImplementer* handle_scope_implementer_;
573 ScannerCharacterClasses* scanner_character_classes_; 575 ScannerCharacterClasses* scanner_character_classes_;
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 729
728 // Temporary macro to be used to flag classes that are completely converted 730 // Temporary macro to be used to flag classes that are completely converted
729 // to be isolate-friendly. Their mix of static/nonstatic methods/fields is 731 // to be isolate-friendly. Their mix of static/nonstatic methods/fields is
730 // correct. 732 // correct.
731 #define ISOLATED_CLASS class 733 #define ISOLATED_CLASS class
732 734
733 } } // namespace v8::internal 735 } } // namespace v8::internal
734 736
735 737
736 #endif // V8_ISOLATE_H_ 738 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/counters.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698