| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 1561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1572 // Lookup a property. If found, the result is valid and has | 1572 // Lookup a property. If found, the result is valid and has |
| 1573 // detailed information. | 1573 // detailed information. |
| 1574 void LocalLookup(String* name, LookupResult* result); | 1574 void LocalLookup(String* name, LookupResult* result); |
| 1575 void Lookup(String* name, LookupResult* result); | 1575 void Lookup(String* name, LookupResult* result); |
| 1576 | 1576 |
| 1577 // The following lookup functions skip interceptors. | 1577 // The following lookup functions skip interceptors. |
| 1578 void LocalLookupRealNamedProperty(String* name, LookupResult* result); | 1578 void LocalLookupRealNamedProperty(String* name, LookupResult* result); |
| 1579 void LookupRealNamedProperty(String* name, LookupResult* result); | 1579 void LookupRealNamedProperty(String* name, LookupResult* result); |
| 1580 void LookupRealNamedPropertyInPrototypes(String* name, LookupResult* result); | 1580 void LookupRealNamedPropertyInPrototypes(String* name, LookupResult* result); |
| 1581 void LookupCallbackSetterInPrototypes(String* name, LookupResult* result); | 1581 void LookupCallbackSetterInPrototypes(String* name, LookupResult* result); |
| 1582 bool SetElementWithCallbackSetterInPrototypes(uint32_t index, Object* value); | 1582 MUST_USE_RESULT MaybeObject* SetElementWithCallbackSetterInPrototypes( |
| 1583 uint32_t index, Object* value, bool* found); |
| 1583 void LookupCallback(String* name, LookupResult* result); | 1584 void LookupCallback(String* name, LookupResult* result); |
| 1584 | 1585 |
| 1585 // Returns the number of properties on this object filtering out properties | 1586 // Returns the number of properties on this object filtering out properties |
| 1586 // with the specified attributes (ignoring interceptors). | 1587 // with the specified attributes (ignoring interceptors). |
| 1587 int NumberOfLocalProperties(PropertyAttributes filter); | 1588 int NumberOfLocalProperties(PropertyAttributes filter); |
| 1588 // Returns the number of enumerable properties (ignoring interceptors). | 1589 // Returns the number of enumerable properties (ignoring interceptors). |
| 1589 int NumberOfEnumProperties(); | 1590 int NumberOfEnumProperties(); |
| 1590 // Fill in details for properties into storage starting at the specified | 1591 // Fill in details for properties into storage starting at the specified |
| 1591 // index. | 1592 // index. |
| 1592 void GetLocalPropertyNames(FixedArray* storage, int index); | 1593 void GetLocalPropertyNames(FixedArray* storage, int index); |
| (...skipping 4899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6492 } else { | 6493 } else { |
| 6493 value &= ~(1 << bit_position); | 6494 value &= ~(1 << bit_position); |
| 6494 } | 6495 } |
| 6495 return value; | 6496 return value; |
| 6496 } | 6497 } |
| 6497 }; | 6498 }; |
| 6498 | 6499 |
| 6499 } } // namespace v8::internal | 6500 } } // namespace v8::internal |
| 6500 | 6501 |
| 6501 #endif // V8_OBJECTS_H_ | 6502 #endif // V8_OBJECTS_H_ |
| OLD | NEW |