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

Side by Side Diff: src/isolate.h

Issue 11441013: Fix isolate bug introduced by generated code stubs (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback 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 | « src/ia32/lithium-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 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 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 return date_cache_; 1053 return date_cache_;
1054 } 1054 }
1055 1055
1056 void set_date_cache(DateCache* date_cache) { 1056 void set_date_cache(DateCache* date_cache) {
1057 if (date_cache != date_cache_) { 1057 if (date_cache != date_cache_) {
1058 delete date_cache_; 1058 delete date_cache_;
1059 } 1059 }
1060 date_cache_ = date_cache; 1060 date_cache_ = date_cache;
1061 } 1061 }
1062 1062
1063 CodeStubInterfaceDescriptor** code_stub_interface_descriptors() { 1063 CodeStubInterfaceDescriptor*
1064 return code_stub_interface_descriptors_; 1064 code_stub_interface_descriptor(int index);
1065 }
1066 1065
1067 void IterateDeferredHandles(ObjectVisitor* visitor); 1066 void IterateDeferredHandles(ObjectVisitor* visitor);
1068 void LinkDeferredHandles(DeferredHandles* deferred_handles); 1067 void LinkDeferredHandles(DeferredHandles* deferred_handles);
1069 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); 1068 void UnlinkDeferredHandles(DeferredHandles* deferred_handles);
1070 1069
1071 OptimizingCompilerThread* optimizing_compiler_thread() { 1070 OptimizingCompilerThread* optimizing_compiler_thread() {
1072 return &optimizing_compiler_thread_; 1071 return &optimizing_compiler_thread_;
1073 } 1072 }
1074 1073
1075 private: 1074 private:
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; 1238 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_;
1240 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; 1239 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_;
1241 StringInputBuffer objects_string_compare_buffer_a_; 1240 StringInputBuffer objects_string_compare_buffer_a_;
1242 StringInputBuffer objects_string_compare_buffer_b_; 1241 StringInputBuffer objects_string_compare_buffer_b_;
1243 StaticResource<StringInputBuffer> objects_string_input_buffer_; 1242 StaticResource<StringInputBuffer> objects_string_input_buffer_;
1244 unibrow::Mapping<unibrow::Ecma262Canonicalize> 1243 unibrow::Mapping<unibrow::Ecma262Canonicalize>
1245 regexp_macro_assembler_canonicalize_; 1244 regexp_macro_assembler_canonicalize_;
1246 RegExpStack* regexp_stack_; 1245 RegExpStack* regexp_stack_;
1247 DateCache* date_cache_; 1246 DateCache* date_cache_;
1248 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; 1247 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_;
1249 CodeStubInterfaceDescriptor** code_stub_interface_descriptors_; 1248 CodeStubInterfaceDescriptor* code_stub_interface_descriptors_;
1250 1249
1251 // The garbage collector should be a little more aggressive when it knows 1250 // The garbage collector should be a little more aggressive when it knows
1252 // that a context was recently exited. 1251 // that a context was recently exited.
1253 bool context_exit_happened_; 1252 bool context_exit_happened_;
1254 1253
1255 // Time stamp at initialization. 1254 // Time stamp at initialization.
1256 double time_millis_at_init_; 1255 double time_millis_at_init_;
1257 1256
1258 #if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \ 1257 #if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \
1259 defined(V8_TARGET_ARCH_MIPS) && !defined(__mips__) 1258 defined(V8_TARGET_ARCH_MIPS) && !defined(__mips__)
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
1445 1444
1446 // Mark the native context with out of memory. 1445 // Mark the native context with out of memory.
1447 inline void Context::mark_out_of_memory() { 1446 inline void Context::mark_out_of_memory() {
1448 native_context()->set_out_of_memory(HEAP->true_value()); 1447 native_context()->set_out_of_memory(HEAP->true_value());
1449 } 1448 }
1450 1449
1451 1450
1452 } } // namespace v8::internal 1451 } } // namespace v8::internal
1453 1452
1454 #endif // V8_ISOLATE_H_ 1453 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698