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; |
56 class CompilationCache; | 57 class CompilationCache; |
57 class ContextSlotCache; | 58 class ContextSlotCache; |
58 class ContextSwitcher; | 59 class ContextSwitcher; |
59 class Counters; | 60 class Counters; |
60 class CpuFeatures; | 61 class CpuFeatures; |
61 class CpuProfiler; | 62 class CpuProfiler; |
62 class DeoptimizerData; | 63 class DeoptimizerData; |
63 class Deserializer; | 64 class Deserializer; |
64 class EmptyStatement; | 65 class EmptyStatement; |
65 class ExternalReferenceTable; | 66 class ExternalReferenceTable; |
(...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1055 return date_cache_; | 1056 return date_cache_; |
1056 } | 1057 } |
1057 | 1058 |
1058 void set_date_cache(DateCache* date_cache) { | 1059 void set_date_cache(DateCache* date_cache) { |
1059 if (date_cache != date_cache_) { | 1060 if (date_cache != date_cache_) { |
1060 delete date_cache_; | 1061 delete date_cache_; |
1061 } | 1062 } |
1062 date_cache_ = date_cache; | 1063 date_cache_ = date_cache; |
1063 } | 1064 } |
1064 | 1065 |
| 1066 CodeStubInterfaceDescriptor** code_stub_interface_descriptors() { |
| 1067 return code_stub_interface_descriptors_; |
| 1068 } |
| 1069 |
1065 void IterateDeferredHandles(ObjectVisitor* visitor); | 1070 void IterateDeferredHandles(ObjectVisitor* visitor); |
1066 void LinkDeferredHandles(DeferredHandles* deferred_handles); | 1071 void LinkDeferredHandles(DeferredHandles* deferred_handles); |
1067 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); | 1072 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); |
1068 | 1073 |
1069 OptimizingCompilerThread* optimizing_compiler_thread() { | 1074 OptimizingCompilerThread* optimizing_compiler_thread() { |
1070 return &optimizing_compiler_thread_; | 1075 return &optimizing_compiler_thread_; |
1071 } | 1076 } |
1072 | 1077 |
1073 private: | 1078 private: |
1074 Isolate(); | 1079 Isolate(); |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1238 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1243 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
1239 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1244 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
1240 StringInputBuffer objects_string_compare_buffer_a_; | 1245 StringInputBuffer objects_string_compare_buffer_a_; |
1241 StringInputBuffer objects_string_compare_buffer_b_; | 1246 StringInputBuffer objects_string_compare_buffer_b_; |
1242 StaticResource<StringInputBuffer> objects_string_input_buffer_; | 1247 StaticResource<StringInputBuffer> objects_string_input_buffer_; |
1243 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1248 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
1244 regexp_macro_assembler_canonicalize_; | 1249 regexp_macro_assembler_canonicalize_; |
1245 RegExpStack* regexp_stack_; | 1250 RegExpStack* regexp_stack_; |
1246 DateCache* date_cache_; | 1251 DateCache* date_cache_; |
1247 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; | 1252 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; |
| 1253 CodeStubInterfaceDescriptor** code_stub_interface_descriptors_; |
1248 | 1254 |
1249 // The garbage collector should be a little more aggressive when it knows | 1255 // The garbage collector should be a little more aggressive when it knows |
1250 // that a context was recently exited. | 1256 // that a context was recently exited. |
1251 bool context_exit_happened_; | 1257 bool context_exit_happened_; |
1252 | 1258 |
1253 // Time stamp at initialization. | 1259 // Time stamp at initialization. |
1254 double time_millis_at_init_; | 1260 double time_millis_at_init_; |
1255 | 1261 |
1256 #if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \ | 1262 #if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \ |
1257 defined(V8_TARGET_ARCH_MIPS) && !defined(__mips__) | 1263 defined(V8_TARGET_ARCH_MIPS) && !defined(__mips__) |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1443 | 1449 |
1444 // Mark the native context with out of memory. | 1450 // Mark the native context with out of memory. |
1445 inline void Context::mark_out_of_memory() { | 1451 inline void Context::mark_out_of_memory() { |
1446 native_context()->set_out_of_memory(HEAP->true_value()); | 1452 native_context()->set_out_of_memory(HEAP->true_value()); |
1447 } | 1453 } |
1448 | 1454 |
1449 | 1455 |
1450 } } // namespace v8::internal | 1456 } } // namespace v8::internal |
1451 | 1457 |
1452 #endif // V8_ISOLATE_H_ | 1458 #endif // V8_ISOLATE_H_ |
OLD | NEW |