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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 #include "runtime.h" | 48 #include "runtime.h" |
49 #include "zone.h" | 49 #include "zone.h" |
50 | 50 |
51 namespace v8 { | 51 namespace v8 { |
52 namespace internal { | 52 namespace internal { |
53 | 53 |
54 class Bootstrapper; | 54 class Bootstrapper; |
55 class CodeGenerator; | 55 class CodeGenerator; |
56 class CodeRange; | 56 class CodeRange; |
57 struct CodeStubInterfaceDescriptor; | 57 struct CodeStubInterfaceDescriptor; |
| 58 struct CallInterfaceDescriptor; |
58 class CodeTracer; | 59 class CodeTracer; |
59 class CompilationCache; | 60 class CompilationCache; |
60 class ContextSlotCache; | 61 class ContextSlotCache; |
61 class Counters; | 62 class Counters; |
62 class CpuFeatures; | 63 class CpuFeatures; |
63 class CpuProfiler; | 64 class CpuProfiler; |
64 class DeoptimizerData; | 65 class DeoptimizerData; |
65 class Deserializer; | 66 class Deserializer; |
66 class EmptyStatement; | 67 class EmptyStatement; |
67 class ExternalCallbackScope; | 68 class ExternalCallbackScope; |
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1067 date_cache_ = date_cache; | 1068 date_cache_ = date_cache; |
1068 } | 1069 } |
1069 | 1070 |
1070 Map* get_initial_js_array_map(ElementsKind kind); | 1071 Map* get_initial_js_array_map(ElementsKind kind); |
1071 | 1072 |
1072 bool IsFastArrayConstructorPrototypeChainIntact(); | 1073 bool IsFastArrayConstructorPrototypeChainIntact(); |
1073 | 1074 |
1074 CodeStubInterfaceDescriptor* | 1075 CodeStubInterfaceDescriptor* |
1075 code_stub_interface_descriptor(int index); | 1076 code_stub_interface_descriptor(int index); |
1076 | 1077 |
| 1078 enum CallDescriptorKey { |
| 1079 KeyedCall, |
| 1080 NamedCall, |
| 1081 ArgumentAdaptorCall, |
| 1082 NUMBER_OF_CALL_DESCRIPTORS |
| 1083 }; |
| 1084 |
| 1085 CallInterfaceDescriptor* call_descriptor(CallDescriptorKey index); |
| 1086 |
1077 void IterateDeferredHandles(ObjectVisitor* visitor); | 1087 void IterateDeferredHandles(ObjectVisitor* visitor); |
1078 void LinkDeferredHandles(DeferredHandles* deferred_handles); | 1088 void LinkDeferredHandles(DeferredHandles* deferred_handles); |
1079 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); | 1089 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); |
1080 | 1090 |
1081 #ifdef DEBUG | 1091 #ifdef DEBUG |
1082 bool IsDeferredHandle(Object** location); | 1092 bool IsDeferredHandle(Object** location); |
1083 #endif // DEBUG | 1093 #endif // DEBUG |
1084 | 1094 |
1085 int max_available_threads() const { | 1095 int max_available_threads() const { |
1086 return max_available_threads_; | 1096 return max_available_threads_; |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1292 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1302 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
1293 ConsStringIteratorOp objects_string_compare_iterator_a_; | 1303 ConsStringIteratorOp objects_string_compare_iterator_a_; |
1294 ConsStringIteratorOp objects_string_compare_iterator_b_; | 1304 ConsStringIteratorOp objects_string_compare_iterator_b_; |
1295 StaticResource<ConsStringIteratorOp> objects_string_iterator_; | 1305 StaticResource<ConsStringIteratorOp> objects_string_iterator_; |
1296 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1306 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
1297 regexp_macro_assembler_canonicalize_; | 1307 regexp_macro_assembler_canonicalize_; |
1298 RegExpStack* regexp_stack_; | 1308 RegExpStack* regexp_stack_; |
1299 DateCache* date_cache_; | 1309 DateCache* date_cache_; |
1300 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; | 1310 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; |
1301 CodeStubInterfaceDescriptor* code_stub_interface_descriptors_; | 1311 CodeStubInterfaceDescriptor* code_stub_interface_descriptors_; |
| 1312 CallInterfaceDescriptor* call_descriptors_; |
1302 RandomNumberGenerator* random_number_generator_; | 1313 RandomNumberGenerator* random_number_generator_; |
1303 | 1314 |
1304 // True if fatal error has been signaled for this isolate. | 1315 // True if fatal error has been signaled for this isolate. |
1305 bool has_fatal_error_; | 1316 bool has_fatal_error_; |
1306 | 1317 |
1307 // True if we are using the Crankshaft optimizing compiler. | 1318 // True if we are using the Crankshaft optimizing compiler. |
1308 bool use_crankshaft_; | 1319 bool use_crankshaft_; |
1309 | 1320 |
1310 // True if this isolate was initialized from a snapshot. | 1321 // True if this isolate was initialized from a snapshot. |
1311 bool initialized_from_snapshot_; | 1322 bool initialized_from_snapshot_; |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1565 } | 1576 } |
1566 | 1577 |
1567 EmbeddedVector<char, 128> filename_; | 1578 EmbeddedVector<char, 128> filename_; |
1568 FILE* file_; | 1579 FILE* file_; |
1569 int scope_depth_; | 1580 int scope_depth_; |
1570 }; | 1581 }; |
1571 | 1582 |
1572 } } // namespace v8::internal | 1583 } } // namespace v8::internal |
1573 | 1584 |
1574 #endif // V8_ISOLATE_H_ | 1585 #endif // V8_ISOLATE_H_ |
OLD | NEW |