| 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 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 | 789 |
| 790 private: | 790 private: |
| 791 // TODO(dcarney): remove before cutover | 791 // TODO(dcarney): remove before cutover |
| 792 V8_INLINE(T* operator->() const) { return val_; } | 792 V8_INLINE(T* operator->() const) { return val_; } |
| 793 public: | 793 public: |
| 794 #endif | 794 #endif |
| 795 | 795 |
| 796 private: | 796 private: |
| 797 template<class F> friend class Handle; | 797 template<class F> friend class Handle; |
| 798 template<class F> friend class Local; | 798 template<class F> friend class Local; |
| 799 template<class F> friend class ReturnValue; |
| 799 friend class ImplementationUtilities; | 800 friend class ImplementationUtilities; |
| 800 friend class ObjectTemplate; | 801 friend class ObjectTemplate; |
| 801 friend class Context; | 802 friend class Context; |
| 802 friend class InternalHandleHelper; | 803 friend class InternalHandleHelper; |
| 803 friend class LocalContext; | 804 friend class LocalContext; |
| 804 | 805 |
| 805 V8_INLINE(static Persistent<T> New(Isolate* isolate, T* that)); | 806 V8_INLINE(static Persistent<T> New(Isolate* isolate, T* that)); |
| 806 | 807 |
| 807 #ifndef V8_USE_UNSAFE_HANDLES | 808 #ifndef V8_USE_UNSAFE_HANDLES |
| 808 T* val_; | 809 T* val_; |
| (...skipping 5492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6301 | 6302 |
| 6302 | 6303 |
| 6303 } // namespace v8 | 6304 } // namespace v8 |
| 6304 | 6305 |
| 6305 | 6306 |
| 6306 #undef V8EXPORT | 6307 #undef V8EXPORT |
| 6307 #undef TYPE_CHECK | 6308 #undef TYPE_CHECK |
| 6308 | 6309 |
| 6309 | 6310 |
| 6310 #endif // V8_H_ | 6311 #endif // V8_H_ |
| OLD | NEW |