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

Side by Side Diff: src/isolate.h

Issue 7969013: Fix pc to code cache so it can cope with a pointer to the start of the code (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 3 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 class DeoptimizerData; 59 class DeoptimizerData;
60 class Deserializer; 60 class Deserializer;
61 class EmptyStatement; 61 class EmptyStatement;
62 class ExternalReferenceTable; 62 class ExternalReferenceTable;
63 class Factory; 63 class Factory;
64 class FunctionInfoListener; 64 class FunctionInfoListener;
65 class HandleScopeImplementer; 65 class HandleScopeImplementer;
66 class HeapProfiler; 66 class HeapProfiler;
67 class InlineRuntimeFunctionsTable; 67 class InlineRuntimeFunctionsTable;
68 class NoAllocationStringAllocator; 68 class NoAllocationStringAllocator;
69 class PcToCodeCache; 69 class InnerPointerToCodeCache;
70 class PreallocatedMemoryThread; 70 class PreallocatedMemoryThread;
71 class RegExpStack; 71 class RegExpStack;
72 class SaveContext; 72 class SaveContext;
73 class UnicodeCache; 73 class UnicodeCache;
74 class StringInputBuffer; 74 class StringInputBuffer;
75 class StringTracker; 75 class StringTracker;
76 class StubCache; 76 class StubCache;
77 class ThreadManager; 77 class ThreadManager;
78 class ThreadState; 78 class ThreadState;
79 class ThreadVisitor; // Defined in v8threads.h 79 class ThreadVisitor; // Defined in v8threads.h
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 HandleScopeImplementer* handle_scope_implementer() { 834 HandleScopeImplementer* handle_scope_implementer() {
835 ASSERT(handle_scope_implementer_); 835 ASSERT(handle_scope_implementer_);
836 return handle_scope_implementer_; 836 return handle_scope_implementer_;
837 } 837 }
838 Zone* zone() { return &zone_; } 838 Zone* zone() { return &zone_; }
839 839
840 UnicodeCache* unicode_cache() { 840 UnicodeCache* unicode_cache() {
841 return unicode_cache_; 841 return unicode_cache_;
842 } 842 }
843 843
844 PcToCodeCache* pc_to_code_cache() { return pc_to_code_cache_; } 844 InnerPointerToCodeCache* inner_pointer_to_code_cache() {
845 return inner_pointer_to_code_cache_;
846 }
845 847
846 StringInputBuffer* write_input_buffer() { return write_input_buffer_; } 848 StringInputBuffer* write_input_buffer() { return write_input_buffer_; }
847 849
848 GlobalHandles* global_handles() { return global_handles_; } 850 GlobalHandles* global_handles() { return global_handles_; }
849 851
850 ThreadManager* thread_manager() { return thread_manager_; } 852 ThreadManager* thread_manager() { return thread_manager_; }
851 853
852 ContextSwitcher* context_switcher() { return context_switcher_; } 854 ContextSwitcher* context_switcher() { return context_switcher_; }
853 855
854 void set_context_switcher(ContextSwitcher* switcher) { 856 void set_context_switcher(ContextSwitcher* switcher) {
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 KeyedLookupCache* keyed_lookup_cache_; 1131 KeyedLookupCache* keyed_lookup_cache_;
1130 ContextSlotCache* context_slot_cache_; 1132 ContextSlotCache* context_slot_cache_;
1131 DescriptorLookupCache* descriptor_lookup_cache_; 1133 DescriptorLookupCache* descriptor_lookup_cache_;
1132 v8::ImplementationUtilities::HandleScopeData handle_scope_data_; 1134 v8::ImplementationUtilities::HandleScopeData handle_scope_data_;
1133 HandleScopeImplementer* handle_scope_implementer_; 1135 HandleScopeImplementer* handle_scope_implementer_;
1134 UnicodeCache* unicode_cache_; 1136 UnicodeCache* unicode_cache_;
1135 Zone zone_; 1137 Zone zone_;
1136 PreallocatedStorage in_use_list_; 1138 PreallocatedStorage in_use_list_;
1137 PreallocatedStorage free_list_; 1139 PreallocatedStorage free_list_;
1138 bool preallocated_storage_preallocated_; 1140 bool preallocated_storage_preallocated_;
1139 PcToCodeCache* pc_to_code_cache_; 1141 InnerPointerToCodeCache* inner_pointer_to_code_cache_;
1140 StringInputBuffer* write_input_buffer_; 1142 StringInputBuffer* write_input_buffer_;
1141 GlobalHandles* global_handles_; 1143 GlobalHandles* global_handles_;
1142 ContextSwitcher* context_switcher_; 1144 ContextSwitcher* context_switcher_;
1143 ThreadManager* thread_manager_; 1145 ThreadManager* thread_manager_;
1144 RuntimeState runtime_state_; 1146 RuntimeState runtime_state_;
1145 bool fp_stubs_generated_; 1147 bool fp_stubs_generated_;
1146 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_; 1148 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_;
1147 Builtins builtins_; 1149 Builtins builtins_;
1148 StringTracker* string_tracker_; 1150 StringTracker* string_tracker_;
1149 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; 1151 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_;
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1360 1362
1361 // Mark the global context with out of memory. 1363 // Mark the global context with out of memory.
1362 inline void Context::mark_out_of_memory() { 1364 inline void Context::mark_out_of_memory() {
1363 global_context()->set_out_of_memory(HEAP->true_value()); 1365 global_context()->set_out_of_memory(HEAP->true_value());
1364 } 1366 }
1365 1367
1366 1368
1367 } } // namespace v8::internal 1369 } } // namespace v8::internal
1368 1370
1369 #endif // V8_ISOLATE_H_ 1371 #endif // V8_ISOLATE_H_
OLDNEW
« src/frames-inl.h ('K') | « src/incremental-marking.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698