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 1539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1550 // TODO(yangguo): this should eventually replace the non-handlified version. | 1550 // TODO(yangguo): this should eventually replace the non-handlified version. |
1551 static Handle<Object> GetPropertyWithReceiver(Handle<Object> object, | 1551 static Handle<Object> GetPropertyWithReceiver(Handle<Object> object, |
1552 Handle<Object> receiver, | 1552 Handle<Object> receiver, |
1553 Handle<Name> name, | 1553 Handle<Name> name, |
1554 PropertyAttributes* attributes); | 1554 PropertyAttributes* attributes); |
1555 MUST_USE_RESULT MaybeObject* GetPropertyWithReceiver( | 1555 MUST_USE_RESULT MaybeObject* GetPropertyWithReceiver( |
1556 Object* receiver, | 1556 Object* receiver, |
1557 Name* key, | 1557 Name* key, |
1558 PropertyAttributes* attributes); | 1558 PropertyAttributes* attributes); |
1559 | 1559 |
| 1560 static Handle<Object> GetPropertyOrElement(Handle<Object> object, |
| 1561 Handle<Name> key); |
| 1562 |
1560 static Handle<Object> GetProperty(Handle<Object> object, | 1563 static Handle<Object> GetProperty(Handle<Object> object, |
1561 Handle<Name> key); | 1564 Handle<Name> key); |
1562 static Handle<Object> GetProperty(Handle<Object> object, | 1565 static Handle<Object> GetProperty(Handle<Object> object, |
1563 Handle<Object> receiver, | 1566 Handle<Object> receiver, |
1564 LookupResult* result, | 1567 LookupResult* result, |
1565 Handle<Name> key, | 1568 Handle<Name> key, |
1566 PropertyAttributes* attributes); | 1569 PropertyAttributes* attributes); |
1567 | 1570 |
1568 MUST_USE_RESULT static MaybeObject* GetPropertyOrFail( | 1571 MUST_USE_RESULT static MaybeObject* GetPropertyOrFail( |
1569 Handle<Object> object, | 1572 Handle<Object> object, |
(...skipping 9221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10791 } else { | 10794 } else { |
10792 value &= ~(1 << bit_position); | 10795 value &= ~(1 << bit_position); |
10793 } | 10796 } |
10794 return value; | 10797 return value; |
10795 } | 10798 } |
10796 }; | 10799 }; |
10797 | 10800 |
10798 } } // namespace v8::internal | 10801 } } // namespace v8::internal |
10799 | 10802 |
10800 #endif // V8_OBJECTS_H_ | 10803 #endif // V8_OBJECTS_H_ |
OLD | NEW |