| OLD | NEW | 
|---|
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 801       String* key, | 801       String* key, | 
| 802       PropertyAttributes* attributes); | 802       PropertyAttributes* attributes); | 
| 803   MUST_USE_RESULT MaybeObject* GetProperty(Object* receiver, | 803   MUST_USE_RESULT MaybeObject* GetProperty(Object* receiver, | 
| 804                                            LookupResult* result, | 804                                            LookupResult* result, | 
| 805                                            String* key, | 805                                            String* key, | 
| 806                                            PropertyAttributes* attributes); | 806                                            PropertyAttributes* attributes); | 
| 807   MUST_USE_RESULT MaybeObject* GetPropertyWithCallback(Object* receiver, | 807   MUST_USE_RESULT MaybeObject* GetPropertyWithCallback(Object* receiver, | 
| 808                                                        Object* structure, | 808                                                        Object* structure, | 
| 809                                                        String* name, | 809                                                        String* name, | 
| 810                                                        Object* holder); | 810                                                        Object* holder); | 
|  | 811   MUST_USE_RESULT MaybeObject* GetPropertyWithHandler(Object* receiver, | 
|  | 812                                                       String* name, | 
|  | 813                                                       Object* handler); | 
| 811   MUST_USE_RESULT MaybeObject* GetPropertyWithDefinedGetter(Object* receiver, | 814   MUST_USE_RESULT MaybeObject* GetPropertyWithDefinedGetter(Object* receiver, | 
| 812                                                             JSFunction* getter); | 815                                                             JSFunction* getter); | 
| 813 | 816 | 
| 814   inline MaybeObject* GetElement(uint32_t index); | 817   inline MaybeObject* GetElement(uint32_t index); | 
| 815   // For use when we know that no exception can be thrown. | 818   // For use when we know that no exception can be thrown. | 
| 816   inline Object* GetElementNoExceptionThrown(uint32_t index); | 819   inline Object* GetElementNoExceptionThrown(uint32_t index); | 
| 817   MaybeObject* GetElementWithReceiver(Object* receiver, uint32_t index); | 820   MaybeObject* GetElementWithReceiver(Object* receiver, uint32_t index); | 
| 818 | 821 | 
| 819   // Return the object's prototype (might be Heap::null_value()). | 822   // Return the object's prototype (might be Heap::null_value()). | 
| 820   Object* GetPrototype(); | 823   Object* GetPrototype(); | 
| (...skipping 5954 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 6775     } else { | 6778     } else { | 
| 6776       value &= ~(1 << bit_position); | 6779       value &= ~(1 << bit_position); | 
| 6777     } | 6780     } | 
| 6778     return value; | 6781     return value; | 
| 6779   } | 6782   } | 
| 6780 }; | 6783 }; | 
| 6781 | 6784 | 
| 6782 } }  // namespace v8::internal | 6785 } }  // namespace v8::internal | 
| 6783 | 6786 | 
| 6784 #endif  // V8_OBJECTS_H_ | 6787 #endif  // V8_OBJECTS_H_ | 
| OLD | NEW | 
|---|