| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_ISOLATE_H_ | 5 #ifndef V8_ISOLATE_H_ |
| 6 #define V8_ISOLATE_H_ | 6 #define V8_ISOLATE_H_ |
| 7 | 7 |
| 8 #include "include/v8-debug.h" | 8 #include "include/v8-debug.h" |
| 9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
| 10 #include "src/assert-scope.h" | 10 #include "src/assert-scope.h" |
| (...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1015 date_cache_ = date_cache; | 1015 date_cache_ = date_cache; |
| 1016 } | 1016 } |
| 1017 | 1017 |
| 1018 Map* get_initial_js_array_map(ElementsKind kind); | 1018 Map* get_initial_js_array_map(ElementsKind kind); |
| 1019 | 1019 |
| 1020 bool IsFastArrayConstructorPrototypeChainIntact(); | 1020 bool IsFastArrayConstructorPrototypeChainIntact(); |
| 1021 | 1021 |
| 1022 CodeStubInterfaceDescriptor* | 1022 CodeStubInterfaceDescriptor* |
| 1023 code_stub_interface_descriptor(int index); | 1023 code_stub_interface_descriptor(int index); |
| 1024 | 1024 |
| 1025 enum CallDescriptorKey { | 1025 CallInterfaceDescriptor* call_descriptor(int index); |
| 1026 KeyedCall, | |
| 1027 NamedCall, | |
| 1028 CallHandler, | |
| 1029 ArgumentAdaptorCall, | |
| 1030 ApiFunctionCall, | |
| 1031 NUMBER_OF_CALL_DESCRIPTORS | |
| 1032 }; | |
| 1033 | |
| 1034 CallInterfaceDescriptor* call_descriptor(CallDescriptorKey index); | |
| 1035 | 1026 |
| 1036 void IterateDeferredHandles(ObjectVisitor* visitor); | 1027 void IterateDeferredHandles(ObjectVisitor* visitor); |
| 1037 void LinkDeferredHandles(DeferredHandles* deferred_handles); | 1028 void LinkDeferredHandles(DeferredHandles* deferred_handles); |
| 1038 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); | 1029 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); |
| 1039 | 1030 |
| 1040 #ifdef DEBUG | 1031 #ifdef DEBUG |
| 1041 bool IsDeferredHandle(Object** location); | 1032 bool IsDeferredHandle(Object** location); |
| 1042 #endif // DEBUG | 1033 #endif // DEBUG |
| 1043 | 1034 |
| 1044 bool concurrent_recompilation_enabled() { | 1035 bool concurrent_recompilation_enabled() { |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1551 } | 1542 } |
| 1552 | 1543 |
| 1553 EmbeddedVector<char, 128> filename_; | 1544 EmbeddedVector<char, 128> filename_; |
| 1554 FILE* file_; | 1545 FILE* file_; |
| 1555 int scope_depth_; | 1546 int scope_depth_; |
| 1556 }; | 1547 }; |
| 1557 | 1548 |
| 1558 } } // namespace v8::internal | 1549 } } // namespace v8::internal |
| 1559 | 1550 |
| 1560 #endif // V8_ISOLATE_H_ | 1551 #endif // V8_ISOLATE_H_ |
| OLD | NEW |