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

Side by Side Diff: src/isolate.h

Issue 7920006: Fix asserts and GC unsafeness in stub generation, bug=1689. (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
« no previous file with comments | « src/ia32/lithium-codegen-ia32.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 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 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 StringInputBuffer* objects_string_compare_buffer_b() { 872 StringInputBuffer* objects_string_compare_buffer_b() {
873 return &objects_string_compare_buffer_b_; 873 return &objects_string_compare_buffer_b_;
874 } 874 }
875 875
876 StaticResource<StringInputBuffer>* objects_string_input_buffer() { 876 StaticResource<StringInputBuffer>* objects_string_input_buffer() {
877 return &objects_string_input_buffer_; 877 return &objects_string_input_buffer_;
878 } 878 }
879 879
880 RuntimeState* runtime_state() { return &runtime_state_; } 880 RuntimeState* runtime_state() { return &runtime_state_; }
881 881
882 void set_fp_stubs_generated(bool value) {
883 fp_stubs_generated_ = value;
884 }
885
886 bool fp_stubs_generated() { return fp_stubs_generated_; }
887
882 StaticResource<SafeStringInputBuffer>* compiler_safe_string_input_buffer() { 888 StaticResource<SafeStringInputBuffer>* compiler_safe_string_input_buffer() {
883 return &compiler_safe_string_input_buffer_; 889 return &compiler_safe_string_input_buffer_;
884 } 890 }
885 891
886 Builtins* builtins() { return &builtins_; } 892 Builtins* builtins() { return &builtins_; }
887 893
888 unibrow::Mapping<unibrow::Ecma262Canonicalize>* 894 unibrow::Mapping<unibrow::Ecma262Canonicalize>*
889 regexp_macro_assembler_canonicalize() { 895 regexp_macro_assembler_canonicalize() {
890 return &regexp_macro_assembler_canonicalize_; 896 return &regexp_macro_assembler_canonicalize_;
891 } 897 }
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 Zone zone_; 1135 Zone zone_;
1130 PreallocatedStorage in_use_list_; 1136 PreallocatedStorage in_use_list_;
1131 PreallocatedStorage free_list_; 1137 PreallocatedStorage free_list_;
1132 bool preallocated_storage_preallocated_; 1138 bool preallocated_storage_preallocated_;
1133 PcToCodeCache* pc_to_code_cache_; 1139 PcToCodeCache* pc_to_code_cache_;
1134 StringInputBuffer* write_input_buffer_; 1140 StringInputBuffer* write_input_buffer_;
1135 GlobalHandles* global_handles_; 1141 GlobalHandles* global_handles_;
1136 ContextSwitcher* context_switcher_; 1142 ContextSwitcher* context_switcher_;
1137 ThreadManager* thread_manager_; 1143 ThreadManager* thread_manager_;
1138 RuntimeState runtime_state_; 1144 RuntimeState runtime_state_;
1145 bool fp_stubs_generated_;
1139 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_; 1146 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_;
1140 Builtins builtins_; 1147 Builtins builtins_;
1141 StringTracker* string_tracker_; 1148 StringTracker* string_tracker_;
1142 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; 1149 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_;
1143 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; 1150 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_;
1144 StringInputBuffer objects_string_compare_buffer_a_; 1151 StringInputBuffer objects_string_compare_buffer_a_;
1145 StringInputBuffer objects_string_compare_buffer_b_; 1152 StringInputBuffer objects_string_compare_buffer_b_;
1146 StaticResource<StringInputBuffer> objects_string_input_buffer_; 1153 StaticResource<StringInputBuffer> objects_string_input_buffer_;
1147 unibrow::Mapping<unibrow::Ecma262Canonicalize> 1154 unibrow::Mapping<unibrow::Ecma262Canonicalize>
1148 regexp_macro_assembler_canonicalize_; 1155 regexp_macro_assembler_canonicalize_;
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 1360
1354 // Mark the global context with out of memory. 1361 // Mark the global context with out of memory.
1355 inline void Context::mark_out_of_memory() { 1362 inline void Context::mark_out_of_memory() {
1356 global_context()->set_out_of_memory(HEAP->true_value()); 1363 global_context()->set_out_of_memory(HEAP->true_value());
1357 } 1364 }
1358 1365
1359 1366
1360 } } // namespace v8::internal 1367 } } // namespace v8::internal
1361 1368
1362 #endif // V8_ISOLATE_H_ 1369 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698