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

Side by Side Diff: src/isolate.h

Issue 11412322: Remove some dead code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years 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 | « no previous file | 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 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 void TraceException(bool flag); 763 void TraceException(bool flag);
764 764
765 // Out of resource exception helpers. 765 // Out of resource exception helpers.
766 Failure* StackOverflow(); 766 Failure* StackOverflow();
767 Failure* TerminateExecution(); 767 Failure* TerminateExecution();
768 768
769 // Administration 769 // Administration
770 void Iterate(ObjectVisitor* v); 770 void Iterate(ObjectVisitor* v);
771 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); 771 void Iterate(ObjectVisitor* v, ThreadLocalTop* t);
772 char* Iterate(ObjectVisitor* v, char* t); 772 char* Iterate(ObjectVisitor* v, char* t);
773 void IterateThread(ThreadVisitor* v);
774 void IterateThread(ThreadVisitor* v, char* t); 773 void IterateThread(ThreadVisitor* v, char* t);
775 774
776 775
777 // Returns the current native and global context. 776 // Returns the current native and global context.
778 Handle<Context> native_context(); 777 Handle<Context> native_context();
779 Handle<Context> global_context(); 778 Handle<Context> global_context();
780 779
781 // Returns the native context of the calling JavaScript code. That 780 // Returns the native context of the calling JavaScript code. That
782 // is, the native context of the top-most JavaScript frame. 781 // is, the native context of the top-most JavaScript frame.
783 Handle<Context> GetCallingNativeContext(); 782 Handle<Context> GetCallingNativeContext();
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 } 915 }
917 916
918 RuntimeState* runtime_state() { return &runtime_state_; } 917 RuntimeState* runtime_state() { return &runtime_state_; }
919 918
920 void set_fp_stubs_generated(bool value) { 919 void set_fp_stubs_generated(bool value) {
921 fp_stubs_generated_ = value; 920 fp_stubs_generated_ = value;
922 } 921 }
923 922
924 bool fp_stubs_generated() { return fp_stubs_generated_; } 923 bool fp_stubs_generated() { return fp_stubs_generated_; }
925 924
926 StaticResource<SafeStringInputBuffer>* compiler_safe_string_input_buffer() {
927 return &compiler_safe_string_input_buffer_;
928 }
929
930 Builtins* builtins() { return &builtins_; } 925 Builtins* builtins() { return &builtins_; }
931 926
932 void NotifyExtensionInstalled() { 927 void NotifyExtensionInstalled() {
933 has_installed_extensions_ = true; 928 has_installed_extensions_ = true;
934 } 929 }
935 930
936 bool has_installed_extensions() { return has_installed_extensions_; } 931 bool has_installed_extensions() { return has_installed_extensions_; }
937 932
938 unibrow::Mapping<unibrow::Ecma262Canonicalize>* 933 unibrow::Mapping<unibrow::Ecma262Canonicalize>*
939 regexp_macro_assembler_canonicalize() { 934 regexp_macro_assembler_canonicalize() {
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
1226 PreallocatedStorage in_use_list_; 1221 PreallocatedStorage in_use_list_;
1227 PreallocatedStorage free_list_; 1222 PreallocatedStorage free_list_;
1228 bool preallocated_storage_preallocated_; 1223 bool preallocated_storage_preallocated_;
1229 InnerPointerToCodeCache* inner_pointer_to_code_cache_; 1224 InnerPointerToCodeCache* inner_pointer_to_code_cache_;
1230 StringInputBuffer* write_input_buffer_; 1225 StringInputBuffer* write_input_buffer_;
1231 GlobalHandles* global_handles_; 1226 GlobalHandles* global_handles_;
1232 ContextSwitcher* context_switcher_; 1227 ContextSwitcher* context_switcher_;
1233 ThreadManager* thread_manager_; 1228 ThreadManager* thread_manager_;
1234 RuntimeState runtime_state_; 1229 RuntimeState runtime_state_;
1235 bool fp_stubs_generated_; 1230 bool fp_stubs_generated_;
1236 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_;
1237 Builtins builtins_; 1231 Builtins builtins_;
1238 bool has_installed_extensions_; 1232 bool has_installed_extensions_;
1239 StringTracker* string_tracker_; 1233 StringTracker* string_tracker_;
1240 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; 1234 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_;
1241 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; 1235 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_;
1242 StringInputBuffer objects_string_compare_buffer_a_; 1236 StringInputBuffer objects_string_compare_buffer_a_;
1243 StringInputBuffer objects_string_compare_buffer_b_; 1237 StringInputBuffer objects_string_compare_buffer_b_;
1244 StaticResource<StringInputBuffer> objects_string_input_buffer_; 1238 StaticResource<StringInputBuffer> objects_string_input_buffer_;
1245 unibrow::Mapping<unibrow::Ecma262Canonicalize> 1239 unibrow::Mapping<unibrow::Ecma262Canonicalize>
1246 regexp_macro_assembler_canonicalize_; 1240 regexp_macro_assembler_canonicalize_;
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
1445 1439
1446 // Mark the native context with out of memory. 1440 // Mark the native context with out of memory.
1447 inline void Context::mark_out_of_memory() { 1441 inline void Context::mark_out_of_memory() {
1448 native_context()->set_out_of_memory(HEAP->true_value()); 1442 native_context()->set_out_of_memory(HEAP->true_value());
1449 } 1443 }
1450 1444
1451 1445
1452 } } // namespace v8::internal 1446 } } // namespace v8::internal
1453 1447
1454 #endif // V8_ISOLATE_H_ 1448 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698