| OLD | NEW |
| 1 // Copyright 2007-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2008 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 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1069 /** Tests for an index lookup interceptor.*/ | 1069 /** Tests for an index lookup interceptor.*/ |
| 1070 bool HasIndexedLookupInterceptor(); | 1070 bool HasIndexedLookupInterceptor(); |
| 1071 | 1071 |
| 1072 /** | 1072 /** |
| 1073 * Turns on access check on the object if the object is an instance of | 1073 * Turns on access check on the object if the object is an instance of |
| 1074 * a template that has access check callbacks. If an object has no | 1074 * a template that has access check callbacks. If an object has no |
| 1075 * access check info, the object cannot be accessed by anyone. | 1075 * access check info, the object cannot be accessed by anyone. |
| 1076 */ | 1076 */ |
| 1077 void TurnOnAccessCheck(); | 1077 void TurnOnAccessCheck(); |
| 1078 | 1078 |
| 1079 /** |
| 1080 * Clone this object with a fast but shallow copy. Values will point |
| 1081 * to the same values as the original object. |
| 1082 */ |
| 1083 Local<Object> Clone(); |
| 1084 |
| 1079 static Local<Object> New(); | 1085 static Local<Object> New(); |
| 1080 static Object* Cast(Value* obj); | 1086 static Object* Cast(Value* obj); |
| 1081 private: | 1087 private: |
| 1082 Object(); | 1088 Object(); |
| 1083 }; | 1089 }; |
| 1084 | 1090 |
| 1085 | 1091 |
| 1086 /** | 1092 /** |
| 1087 * An instance of the built-in array constructor (ECMA-262, 15.4.2). | 1093 * An instance of the built-in array constructor (ECMA-262, 15.4.2). |
| 1088 */ | 1094 */ |
| (...skipping 1384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2473 | 2479 |
| 2474 } // namespace v8 | 2480 } // namespace v8 |
| 2475 | 2481 |
| 2476 | 2482 |
| 2477 #undef EXPORT | 2483 #undef EXPORT |
| 2478 #undef EXPORT_INLINE | 2484 #undef EXPORT_INLINE |
| 2479 #undef TYPE_CHECK | 2485 #undef TYPE_CHECK |
| 2480 | 2486 |
| 2481 | 2487 |
| 2482 #endif // V8_H_ | 2488 #endif // V8_H_ |
| OLD | NEW |