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 2168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2179 PropertyAttributes attributes); | 2179 PropertyAttributes attributes); |
2180 MUST_USE_RESULT MaybeObject* SetPropertyCallback( | 2180 MUST_USE_RESULT MaybeObject* SetPropertyCallback( |
2181 String* name, | 2181 String* name, |
2182 Object* structure, | 2182 Object* structure, |
2183 PropertyAttributes attributes); | 2183 PropertyAttributes attributes); |
2184 MUST_USE_RESULT MaybeObject* DefineElementAccessor( | 2184 MUST_USE_RESULT MaybeObject* DefineElementAccessor( |
2185 uint32_t index, | 2185 uint32_t index, |
2186 Object* getter, | 2186 Object* getter, |
2187 Object* setter, | 2187 Object* setter, |
2188 PropertyAttributes attributes); | 2188 PropertyAttributes attributes); |
| 2189 MUST_USE_RESULT MaybeObject* CreateAccessorPairFor(String* name); |
2189 MUST_USE_RESULT MaybeObject* DefinePropertyAccessor( | 2190 MUST_USE_RESULT MaybeObject* DefinePropertyAccessor( |
2190 String* name, | 2191 String* name, |
2191 Object* getter, | 2192 Object* getter, |
2192 Object* setter, | 2193 Object* setter, |
2193 PropertyAttributes attributes); | 2194 PropertyAttributes attributes); |
2194 void LookupInDescriptor(String* name, LookupResult* result); | 2195 void LookupInDescriptor(String* name, LookupResult* result); |
2195 | 2196 |
2196 // Returns the hidden properties backing store object, currently | 2197 // Returns the hidden properties backing store object, currently |
2197 // a StringDictionary, stored on this object. | 2198 // a StringDictionary, stored on this object. |
2198 // If no hidden properties object has been put on this object, | 2199 // If no hidden properties object has been put on this object, |
(...skipping 6395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8594 } else { | 8595 } else { |
8595 value &= ~(1 << bit_position); | 8596 value &= ~(1 << bit_position); |
8596 } | 8597 } |
8597 return value; | 8598 return value; |
8598 } | 8599 } |
8599 }; | 8600 }; |
8600 | 8601 |
8601 } } // namespace v8::internal | 8602 } } // namespace v8::internal |
8602 | 8603 |
8603 #endif // V8_OBJECTS_H_ | 8604 #endif // V8_OBJECTS_H_ |
OLD | NEW |