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

Side by Side Diff: src/isolate.h

Issue 17827005: Get rid of ZoneScope completely. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Suggestions from danno Created 7 years, 5 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/hydrogen-gvn.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 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 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 return descriptor_lookup_cache_; 885 return descriptor_lookup_cache_;
886 } 886 }
887 887
888 v8::ImplementationUtilities::HandleScopeData* handle_scope_data() { 888 v8::ImplementationUtilities::HandleScopeData* handle_scope_data() {
889 return &handle_scope_data_; 889 return &handle_scope_data_;
890 } 890 }
891 HandleScopeImplementer* handle_scope_implementer() { 891 HandleScopeImplementer* handle_scope_implementer() {
892 ASSERT(handle_scope_implementer_); 892 ASSERT(handle_scope_implementer_);
893 return handle_scope_implementer_; 893 return handle_scope_implementer_;
894 } 894 }
895 Zone* runtime_zone() { return &runtime_zone_; }
896 895
897 UnicodeCache* unicode_cache() { 896 UnicodeCache* unicode_cache() {
898 return unicode_cache_; 897 return unicode_cache_;
899 } 898 }
900 899
901 InnerPointerToCodeCache* inner_pointer_to_code_cache() { 900 InnerPointerToCodeCache* inner_pointer_to_code_cache() {
902 return inner_pointer_to_code_cache_; 901 return inner_pointer_to_code_cache_;
903 } 902 }
904 903
905 ConsStringIteratorOp* write_iterator() { return write_iterator_; } 904 ConsStringIteratorOp* write_iterator() { return write_iterator_; }
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 int stack_trace_for_uncaught_exceptions_frame_limit_; 1252 int stack_trace_for_uncaught_exceptions_frame_limit_;
1254 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; 1253 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_;
1255 TranscendentalCache* transcendental_cache_; 1254 TranscendentalCache* transcendental_cache_;
1256 MemoryAllocator* memory_allocator_; 1255 MemoryAllocator* memory_allocator_;
1257 KeyedLookupCache* keyed_lookup_cache_; 1256 KeyedLookupCache* keyed_lookup_cache_;
1258 ContextSlotCache* context_slot_cache_; 1257 ContextSlotCache* context_slot_cache_;
1259 DescriptorLookupCache* descriptor_lookup_cache_; 1258 DescriptorLookupCache* descriptor_lookup_cache_;
1260 v8::ImplementationUtilities::HandleScopeData handle_scope_data_; 1259 v8::ImplementationUtilities::HandleScopeData handle_scope_data_;
1261 HandleScopeImplementer* handle_scope_implementer_; 1260 HandleScopeImplementer* handle_scope_implementer_;
1262 UnicodeCache* unicode_cache_; 1261 UnicodeCache* unicode_cache_;
1263 Zone runtime_zone_;
1264 PreallocatedStorage in_use_list_; 1262 PreallocatedStorage in_use_list_;
1265 PreallocatedStorage free_list_; 1263 PreallocatedStorage free_list_;
1266 bool preallocated_storage_preallocated_; 1264 bool preallocated_storage_preallocated_;
1267 InnerPointerToCodeCache* inner_pointer_to_code_cache_; 1265 InnerPointerToCodeCache* inner_pointer_to_code_cache_;
1268 ConsStringIteratorOp* write_iterator_; 1266 ConsStringIteratorOp* write_iterator_;
1269 GlobalHandles* global_handles_; 1267 GlobalHandles* global_handles_;
1270 ContextSwitcher* context_switcher_; 1268 ContextSwitcher* context_switcher_;
1271 ThreadManager* thread_manager_; 1269 ThreadManager* thread_manager_;
1272 RuntimeState runtime_state_; 1270 RuntimeState runtime_state_;
1273 bool fp_stubs_generated_; 1271 bool fp_stubs_generated_;
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
1489 1487
1490 // Mark the native context with out of memory. 1488 // Mark the native context with out of memory.
1491 inline void Context::mark_out_of_memory() { 1489 inline void Context::mark_out_of_memory() {
1492 native_context()->set_out_of_memory(HEAP->true_value()); 1490 native_context()->set_out_of_memory(HEAP->true_value());
1493 } 1491 }
1494 1492
1495 1493
1496 } } // namespace v8::internal 1494 } } // namespace v8::internal
1497 1495
1498 #endif // V8_ISOLATE_H_ 1496 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/hydrogen-gvn.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698