| 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 2194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2205 uint32_t index, | 2205 uint32_t index, |
| 2206 Object* getter, | 2206 Object* getter, |
| 2207 Object* setter, | 2207 Object* setter, |
| 2208 PropertyAttributes attributes); | 2208 PropertyAttributes attributes); |
| 2209 MUST_USE_RESULT MaybeObject* CreateAccessorPairFor(String* name); | 2209 MUST_USE_RESULT MaybeObject* CreateAccessorPairFor(String* name); |
| 2210 MUST_USE_RESULT MaybeObject* DefinePropertyAccessor( | 2210 MUST_USE_RESULT MaybeObject* DefinePropertyAccessor( |
| 2211 String* name, | 2211 String* name, |
| 2212 Object* getter, | 2212 Object* getter, |
| 2213 Object* setter, | 2213 Object* setter, |
| 2214 PropertyAttributes attributes); | 2214 PropertyAttributes attributes); |
| 2215 void LookupInDescriptor(String* name, LookupResult* result); | |
| 2216 | 2215 |
| 2217 // Returns the hidden properties backing store object, currently | 2216 // Returns the hidden properties backing store object, currently |
| 2218 // a StringDictionary, stored on this object. | 2217 // a StringDictionary, stored on this object. |
| 2219 // If no hidden properties object has been put on this object, | 2218 // If no hidden properties object has been put on this object, |
| 2220 // return undefined, unless create_if_absent is true, in which case | 2219 // return undefined, unless create_if_absent is true, in which case |
| 2221 // a new dictionary is created, added to this object, and returned. | 2220 // a new dictionary is created, added to this object, and returned. |
| 2222 MUST_USE_RESULT MaybeObject* GetHiddenPropertiesDictionary( | 2221 MUST_USE_RESULT MaybeObject* GetHiddenPropertiesDictionary( |
| 2223 bool create_if_absent); | 2222 bool create_if_absent); |
| 2224 // Updates the existing hidden properties dictionary. | 2223 // Updates the existing hidden properties dictionary. |
| 2225 MUST_USE_RESULT MaybeObject* SetHiddenPropertiesDictionary( | 2224 MUST_USE_RESULT MaybeObject* SetHiddenPropertiesDictionary( |
| (...skipping 6588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8814 } else { | 8813 } else { |
| 8815 value &= ~(1 << bit_position); | 8814 value &= ~(1 << bit_position); |
| 8816 } | 8815 } |
| 8817 return value; | 8816 return value; |
| 8818 } | 8817 } |
| 8819 }; | 8818 }; |
| 8820 | 8819 |
| 8821 } } // namespace v8::internal | 8820 } } // namespace v8::internal |
| 8822 | 8821 |
| 8823 #endif // V8_OBJECTS_H_ | 8822 #endif // V8_OBJECTS_H_ |
| OLD | NEW |