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