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 1538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1549 Handle<Name> key); | 1549 Handle<Name> key); |
1550 | 1550 |
1551 static Handle<Object> GetProperty(Handle<Object> object, | 1551 static Handle<Object> GetProperty(Handle<Object> object, |
1552 Handle<Name> key); | 1552 Handle<Name> key); |
1553 static Handle<Object> GetProperty(Handle<Object> object, | 1553 static Handle<Object> GetProperty(Handle<Object> object, |
1554 Handle<Object> receiver, | 1554 Handle<Object> receiver, |
1555 LookupResult* result, | 1555 LookupResult* result, |
1556 Handle<Name> key, | 1556 Handle<Name> key, |
1557 PropertyAttributes* attributes); | 1557 PropertyAttributes* attributes); |
1558 | 1558 |
1559 MUST_USE_RESULT static MaybeObject* GetPropertyOrFail( | |
1560 Handle<Object> object, | |
1561 Handle<Object> receiver, | |
1562 LookupResult* result, | |
1563 Handle<Name> key, | |
1564 PropertyAttributes* attributes); | |
1565 | |
1566 MUST_USE_RESULT MaybeObject* GetProperty(Object* receiver, | 1559 MUST_USE_RESULT MaybeObject* GetProperty(Object* receiver, |
1567 LookupResult* result, | 1560 LookupResult* result, |
1568 Name* key, | 1561 Name* key, |
1569 PropertyAttributes* attributes); | 1562 PropertyAttributes* attributes); |
1570 | 1563 |
1571 MUST_USE_RESULT MaybeObject* GetPropertyWithDefinedGetter(Object* receiver, | 1564 MUST_USE_RESULT MaybeObject* GetPropertyWithDefinedGetter(Object* receiver, |
1572 JSReceiver* getter); | 1565 JSReceiver* getter); |
1573 | 1566 |
1574 static inline Handle<Object> GetElement(Isolate* isolate, | 1567 static inline Handle<Object> GetElement(Isolate* isolate, |
1575 Handle<Object> object, | 1568 Handle<Object> object, |
(...skipping 9252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10828 } else { | 10821 } else { |
10829 value &= ~(1 << bit_position); | 10822 value &= ~(1 << bit_position); |
10830 } | 10823 } |
10831 return value; | 10824 return value; |
10832 } | 10825 } |
10833 }; | 10826 }; |
10834 | 10827 |
10835 } } // namespace v8::internal | 10828 } } // namespace v8::internal |
10836 | 10829 |
10837 #endif // V8_OBJECTS_H_ | 10830 #endif // V8_OBJECTS_H_ |
OLD | NEW |