| 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_API_H_ | 5 #ifndef V8_API_H_ |
| 6 #define V8_API_H_ | 6 #define V8_API_H_ |
| 7 | 7 |
| 8 #include "include/v8-testing.h" | 8 #include "include/v8-testing.h" |
| 9 #include "src/contexts.h" | 9 #include "src/contexts.h" |
| 10 #include "src/factory.h" | 10 #include "src/factory.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 static void UnregisterAll(); | 62 static void UnregisterAll(); |
| 63 Extension* extension() { return extension_; } | 63 Extension* extension() { return extension_; } |
| 64 RegisteredExtension* next() { return next_; } | 64 RegisteredExtension* next() { return next_; } |
| 65 static RegisteredExtension* first_extension() { return first_extension_; } | 65 static RegisteredExtension* first_extension() { return first_extension_; } |
| 66 private: | 66 private: |
| 67 Extension* extension_; | 67 Extension* extension_; |
| 68 RegisteredExtension* next_; | 68 RegisteredExtension* next_; |
| 69 static RegisteredExtension* first_extension_; | 69 static RegisteredExtension* first_extension_; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 | |
| 73 #define OPEN_HANDLE_LIST(V) \ | 72 #define OPEN_HANDLE_LIST(V) \ |
| 74 V(Template, TemplateInfo) \ | 73 V(Template, TemplateInfo) \ |
| 75 V(FunctionTemplate, FunctionTemplateInfo) \ | 74 V(FunctionTemplate, FunctionTemplateInfo) \ |
| 76 V(ObjectTemplate, ObjectTemplateInfo) \ | 75 V(ObjectTemplate, ObjectTemplateInfo) \ |
| 77 V(Signature, FunctionTemplateInfo) \ | 76 V(Signature, FunctionTemplateInfo) \ |
| 78 V(AccessorSignature, FunctionTemplateInfo) \ | 77 V(AccessorSignature, FunctionTemplateInfo) \ |
| 79 V(Data, Object) \ | 78 V(Data, Object) \ |
| 80 V(RegExp, JSRegExp) \ | 79 V(RegExp, JSRegExp) \ |
| 81 V(Object, JSReceiver) \ | 80 V(Object, JSReceiver) \ |
| 82 V(Array, JSArray) \ | 81 V(Array, JSArray) \ |
| (...skipping 11 matching lines...) Expand all Loading... |
| 94 V(Int32Array, JSTypedArray) \ | 93 V(Int32Array, JSTypedArray) \ |
| 95 V(Float32Array, JSTypedArray) \ | 94 V(Float32Array, JSTypedArray) \ |
| 96 V(Float64Array, JSTypedArray) \ | 95 V(Float64Array, JSTypedArray) \ |
| 97 V(DataView, JSDataView) \ | 96 V(DataView, JSDataView) \ |
| 98 V(SharedArrayBuffer, JSArrayBuffer) \ | 97 V(SharedArrayBuffer, JSArrayBuffer) \ |
| 99 V(Name, Name) \ | 98 V(Name, Name) \ |
| 100 V(String, String) \ | 99 V(String, String) \ |
| 101 V(Symbol, Symbol) \ | 100 V(Symbol, Symbol) \ |
| 102 V(Script, JSFunction) \ | 101 V(Script, JSFunction) \ |
| 103 V(UnboundScript, SharedFunctionInfo) \ | 102 V(UnboundScript, SharedFunctionInfo) \ |
| 103 V(Module, Module) \ |
| 104 V(Function, JSReceiver) \ | 104 V(Function, JSReceiver) \ |
| 105 V(Message, JSMessageObject) \ | 105 V(Message, JSMessageObject) \ |
| 106 V(Context, Context) \ | 106 V(Context, Context) \ |
| 107 V(External, Object) \ | 107 V(External, Object) \ |
| 108 V(StackTrace, JSArray) \ | 108 V(StackTrace, JSArray) \ |
| 109 V(StackFrame, JSObject) \ | 109 V(StackFrame, JSObject) \ |
| 110 V(Proxy, JSProxy) \ | 110 V(Proxy, JSProxy) \ |
| 111 V(NativeWeakMap, JSWeakMap) | 111 V(NativeWeakMap, JSWeakMap) |
| 112 | 112 |
| 113 class Utils { | 113 class Utils { |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 } | 646 } |
| 647 | 647 |
| 648 private: | 648 private: |
| 649 static v8::Testing::StressType stress_type_; | 649 static v8::Testing::StressType stress_type_; |
| 650 }; | 650 }; |
| 651 | 651 |
| 652 } // namespace internal | 652 } // namespace internal |
| 653 } // namespace v8 | 653 } // namespace v8 |
| 654 | 654 |
| 655 #endif // V8_API_H_ | 655 #endif // V8_API_H_ |
| OLD | NEW |