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 1665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1676 | 1676 |
1677 MUST_USE_RESULT MaybeObject* DefineAccessor(AccessorInfo* info); | 1677 MUST_USE_RESULT MaybeObject* DefineAccessor(AccessorInfo* info); |
1678 | 1678 |
1679 // Used from Object::GetProperty(). | 1679 // Used from Object::GetProperty(). |
1680 MUST_USE_RESULT MaybeObject* GetPropertyWithFailedAccessCheck( | 1680 MUST_USE_RESULT MaybeObject* GetPropertyWithFailedAccessCheck( |
1681 Object* receiver, | 1681 Object* receiver, |
1682 LookupResult* result, | 1682 LookupResult* result, |
1683 String* name, | 1683 String* name, |
1684 PropertyAttributes* attributes); | 1684 PropertyAttributes* attributes); |
1685 MUST_USE_RESULT MaybeObject* GetPropertyWithInterceptor( | 1685 MUST_USE_RESULT MaybeObject* GetPropertyWithInterceptor( |
1686 Object* receiver, | 1686 JSReceiver* receiver, |
1687 String* name, | 1687 String* name, |
1688 PropertyAttributes* attributes); | 1688 PropertyAttributes* attributes); |
1689 MUST_USE_RESULT MaybeObject* GetPropertyPostInterceptor( | 1689 MUST_USE_RESULT MaybeObject* GetPropertyPostInterceptor( |
1690 Object* receiver, | 1690 JSReceiver* receiver, |
1691 String* name, | 1691 String* name, |
1692 PropertyAttributes* attributes); | 1692 PropertyAttributes* attributes); |
1693 MUST_USE_RESULT MaybeObject* GetLocalPropertyPostInterceptor( | 1693 MUST_USE_RESULT MaybeObject* GetLocalPropertyPostInterceptor( |
1694 Object* receiver, | 1694 JSReceiver* receiver, |
1695 String* name, | 1695 String* name, |
1696 PropertyAttributes* attributes); | 1696 PropertyAttributes* attributes); |
1697 | 1697 |
1698 // Returns true if this is an instance of an api function and has | 1698 // Returns true if this is an instance of an api function and has |
1699 // been modified since it was created. May give false positives. | 1699 // been modified since it was created. May give false positives. |
1700 bool IsDirty(); | 1700 bool IsDirty(); |
1701 | 1701 |
1702 // If the receiver is a JSGlobalProxy this method will return its prototype, | 1702 // If the receiver is a JSGlobalProxy this method will return its prototype, |
1703 // otherwise the result is the receiver itself. | 1703 // otherwise the result is the receiver itself. |
1704 inline Object* BypassGlobalProxy(); | 1704 inline Object* BypassGlobalProxy(); |
(...skipping 7234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8939 } else { | 8939 } else { |
8940 value &= ~(1 << bit_position); | 8940 value &= ~(1 << bit_position); |
8941 } | 8941 } |
8942 return value; | 8942 return value; |
8943 } | 8943 } |
8944 }; | 8944 }; |
8945 | 8945 |
8946 } } // namespace v8::internal | 8946 } } // namespace v8::internal |
8947 | 8947 |
8948 #endif // V8_OBJECTS_H_ | 8948 #endif // V8_OBJECTS_H_ |
OLD | NEW |