| 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 1669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1680 | 1680 |
| 1681 MUST_USE_RESULT MaybeObject* DefineAccessor(AccessorInfo* info); | 1681 MUST_USE_RESULT MaybeObject* DefineAccessor(AccessorInfo* info); |
| 1682 | 1682 |
| 1683 // Used from Object::GetProperty(). | 1683 // Used from Object::GetProperty(). |
| 1684 MUST_USE_RESULT MaybeObject* GetPropertyWithFailedAccessCheck( | 1684 MUST_USE_RESULT MaybeObject* GetPropertyWithFailedAccessCheck( |
| 1685 Object* receiver, | 1685 Object* receiver, |
| 1686 LookupResult* result, | 1686 LookupResult* result, |
| 1687 String* name, | 1687 String* name, |
| 1688 PropertyAttributes* attributes); | 1688 PropertyAttributes* attributes); |
| 1689 MUST_USE_RESULT MaybeObject* GetPropertyWithInterceptor( | 1689 MUST_USE_RESULT MaybeObject* GetPropertyWithInterceptor( |
| 1690 JSReceiver* receiver, | 1690 Object* receiver, |
| 1691 String* name, | 1691 String* name, |
| 1692 PropertyAttributes* attributes); | 1692 PropertyAttributes* attributes); |
| 1693 MUST_USE_RESULT MaybeObject* GetPropertyPostInterceptor( | 1693 MUST_USE_RESULT MaybeObject* GetPropertyPostInterceptor( |
| 1694 JSReceiver* receiver, | 1694 Object* receiver, |
| 1695 String* name, | 1695 String* name, |
| 1696 PropertyAttributes* attributes); | 1696 PropertyAttributes* attributes); |
| 1697 MUST_USE_RESULT MaybeObject* GetLocalPropertyPostInterceptor( | 1697 MUST_USE_RESULT MaybeObject* GetLocalPropertyPostInterceptor( |
| 1698 JSReceiver* receiver, | 1698 Object* receiver, |
| 1699 String* name, | 1699 String* name, |
| 1700 PropertyAttributes* attributes); | 1700 PropertyAttributes* attributes); |
| 1701 | 1701 |
| 1702 // Returns true if this is an instance of an api function and has | 1702 // Returns true if this is an instance of an api function and has |
| 1703 // been modified since it was created. May give false positives. | 1703 // been modified since it was created. May give false positives. |
| 1704 bool IsDirty(); | 1704 bool IsDirty(); |
| 1705 | 1705 |
| 1706 // If the receiver is a JSGlobalProxy this method will return its prototype, | 1706 // If the receiver is a JSGlobalProxy this method will return its prototype, |
| 1707 // otherwise the result is the receiver itself. | 1707 // otherwise the result is the receiver itself. |
| 1708 inline Object* BypassGlobalProxy(); | 1708 inline Object* BypassGlobalProxy(); |
| (...skipping 7267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8976 } else { | 8976 } else { |
| 8977 value &= ~(1 << bit_position); | 8977 value &= ~(1 << bit_position); |
| 8978 } | 8978 } |
| 8979 return value; | 8979 return value; |
| 8980 } | 8980 } |
| 8981 }; | 8981 }; |
| 8982 | 8982 |
| 8983 } } // namespace v8::internal | 8983 } } // namespace v8::internal |
| 8984 | 8984 |
| 8985 #endif // V8_OBJECTS_H_ | 8985 #endif // V8_OBJECTS_H_ |
| OLD | NEW |