OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1385 | 1385 |
1386 // Sets a property that currently has lazy loading. | 1386 // Sets a property that currently has lazy loading. |
1387 Object* SetLazyProperty(LookupResult* result, | 1387 Object* SetLazyProperty(LookupResult* result, |
1388 String* name, | 1388 String* name, |
1389 Object* value, | 1389 Object* value, |
1390 PropertyAttributes attributes); | 1390 PropertyAttributes attributes); |
1391 | 1391 |
1392 // Returns the class name ([[Class]] property in the specification). | 1392 // Returns the class name ([[Class]] property in the specification). |
1393 String* class_name(); | 1393 String* class_name(); |
1394 | 1394 |
| 1395 // Returns the constructor name (the name (possibly, inferred name) of the |
| 1396 // function that was used to instantiate the object). |
| 1397 String* constructor_name(); |
| 1398 |
1395 // Retrieve interceptors. | 1399 // Retrieve interceptors. |
1396 InterceptorInfo* GetNamedInterceptor(); | 1400 InterceptorInfo* GetNamedInterceptor(); |
1397 InterceptorInfo* GetIndexedInterceptor(); | 1401 InterceptorInfo* GetIndexedInterceptor(); |
1398 | 1402 |
1399 inline PropertyAttributes GetPropertyAttribute(String* name); | 1403 inline PropertyAttributes GetPropertyAttribute(String* name); |
1400 PropertyAttributes GetPropertyAttributeWithReceiver(JSObject* receiver, | 1404 PropertyAttributes GetPropertyAttributeWithReceiver(JSObject* receiver, |
1401 String* name); | 1405 String* name); |
1402 PropertyAttributes GetLocalPropertyAttribute(String* name); | 1406 PropertyAttributes GetLocalPropertyAttribute(String* name); |
1403 | 1407 |
1404 Object* DefineAccessor(String* name, bool is_getter, JSFunction* fun, | 1408 Object* DefineAccessor(String* name, bool is_getter, JSFunction* fun, |
(...skipping 3456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4861 } else { | 4865 } else { |
4862 value &= ~(1 << bit_position); | 4866 value &= ~(1 << bit_position); |
4863 } | 4867 } |
4864 return value; | 4868 return value; |
4865 } | 4869 } |
4866 }; | 4870 }; |
4867 | 4871 |
4868 } } // namespace v8::internal | 4872 } } // namespace v8::internal |
4869 | 4873 |
4870 #endif // V8_OBJECTS_H_ | 4874 #endif // V8_OBJECTS_H_ |
OLD | NEW |