| OLD | NEW |
| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #include "runtime-profiler.h" | 46 #include "runtime-profiler.h" |
| 47 #include "runtime.h" | 47 #include "runtime.h" |
| 48 #include "zone.h" | 48 #include "zone.h" |
| 49 | 49 |
| 50 namespace v8 { | 50 namespace v8 { |
| 51 namespace internal { | 51 namespace internal { |
| 52 | 52 |
| 53 class Bootstrapper; | 53 class Bootstrapper; |
| 54 class CodeGenerator; | 54 class CodeGenerator; |
| 55 class CodeRange; | 55 class CodeRange; |
| 56 struct CodeStubInterfaceDescriptor; | |
| 57 class CompilationCache; | 56 class CompilationCache; |
| 58 class ContextSlotCache; | 57 class ContextSlotCache; |
| 59 class ContextSwitcher; | 58 class ContextSwitcher; |
| 60 class Counters; | 59 class Counters; |
| 61 class CpuFeatures; | 60 class CpuFeatures; |
| 62 class CpuProfiler; | 61 class CpuProfiler; |
| 63 class DeoptimizerData; | 62 class DeoptimizerData; |
| 64 class Deserializer; | 63 class Deserializer; |
| 65 class EmptyStatement; | 64 class EmptyStatement; |
| 66 class ExternalReferenceTable; | 65 class ExternalReferenceTable; |
| (...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1053 return date_cache_; | 1052 return date_cache_; |
| 1054 } | 1053 } |
| 1055 | 1054 |
| 1056 void set_date_cache(DateCache* date_cache) { | 1055 void set_date_cache(DateCache* date_cache) { |
| 1057 if (date_cache != date_cache_) { | 1056 if (date_cache != date_cache_) { |
| 1058 delete date_cache_; | 1057 delete date_cache_; |
| 1059 } | 1058 } |
| 1060 date_cache_ = date_cache; | 1059 date_cache_ = date_cache; |
| 1061 } | 1060 } |
| 1062 | 1061 |
| 1063 CodeStubInterfaceDescriptor* | |
| 1064 code_stub_interface_descriptor(int index); | |
| 1065 | |
| 1066 void IterateDeferredHandles(ObjectVisitor* visitor); | 1062 void IterateDeferredHandles(ObjectVisitor* visitor); |
| 1067 void LinkDeferredHandles(DeferredHandles* deferred_handles); | 1063 void LinkDeferredHandles(DeferredHandles* deferred_handles); |
| 1068 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); | 1064 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); |
| 1069 | 1065 |
| 1070 OptimizingCompilerThread* optimizing_compiler_thread() { | 1066 OptimizingCompilerThread* optimizing_compiler_thread() { |
| 1071 return &optimizing_compiler_thread_; | 1067 return &optimizing_compiler_thread_; |
| 1072 } | 1068 } |
| 1073 | 1069 |
| 1074 private: | 1070 private: |
| 1075 Isolate(); | 1071 Isolate(); |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1238 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1234 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
| 1239 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1235 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
| 1240 StringInputBuffer objects_string_compare_buffer_a_; | 1236 StringInputBuffer objects_string_compare_buffer_a_; |
| 1241 StringInputBuffer objects_string_compare_buffer_b_; | 1237 StringInputBuffer objects_string_compare_buffer_b_; |
| 1242 StaticResource<StringInputBuffer> objects_string_input_buffer_; | 1238 StaticResource<StringInputBuffer> objects_string_input_buffer_; |
| 1243 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1239 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
| 1244 regexp_macro_assembler_canonicalize_; | 1240 regexp_macro_assembler_canonicalize_; |
| 1245 RegExpStack* regexp_stack_; | 1241 RegExpStack* regexp_stack_; |
| 1246 DateCache* date_cache_; | 1242 DateCache* date_cache_; |
| 1247 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; | 1243 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; |
| 1248 CodeStubInterfaceDescriptor* code_stub_interface_descriptors_; | |
| 1249 | 1244 |
| 1250 // The garbage collector should be a little more aggressive when it knows | 1245 // The garbage collector should be a little more aggressive when it knows |
| 1251 // that a context was recently exited. | 1246 // that a context was recently exited. |
| 1252 bool context_exit_happened_; | 1247 bool context_exit_happened_; |
| 1253 | 1248 |
| 1254 // Time stamp at initialization. | 1249 // Time stamp at initialization. |
| 1255 double time_millis_at_init_; | 1250 double time_millis_at_init_; |
| 1256 | 1251 |
| 1257 #if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \ | 1252 #if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \ |
| 1258 defined(V8_TARGET_ARCH_MIPS) && !defined(__mips__) | 1253 defined(V8_TARGET_ARCH_MIPS) && !defined(__mips__) |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1444 | 1439 |
| 1445 // Mark the native context with out of memory. | 1440 // Mark the native context with out of memory. |
| 1446 inline void Context::mark_out_of_memory() { | 1441 inline void Context::mark_out_of_memory() { |
| 1447 native_context()->set_out_of_memory(HEAP->true_value()); | 1442 native_context()->set_out_of_memory(HEAP->true_value()); |
| 1448 } | 1443 } |
| 1449 | 1444 |
| 1450 | 1445 |
| 1451 } } // namespace v8::internal | 1446 } } // namespace v8::internal |
| 1452 | 1447 |
| 1453 #endif // V8_ISOLATE_H_ | 1448 #endif // V8_ISOLATE_H_ |
| OLD | NEW |