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 1926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1937 PropertyAttributes GetElementAttributeWithReceiver(JSReceiver* receiver, | 1937 PropertyAttributes GetElementAttributeWithReceiver(JSReceiver* receiver, |
1938 uint32_t index, | 1938 uint32_t index, |
1939 bool continue_search); | 1939 bool continue_search); |
1940 | 1940 |
1941 static void DefineAccessor(Handle<JSObject> object, | 1941 static void DefineAccessor(Handle<JSObject> object, |
1942 Handle<Name> name, | 1942 Handle<Name> name, |
1943 Handle<Object> getter, | 1943 Handle<Object> getter, |
1944 Handle<Object> setter, | 1944 Handle<Object> setter, |
1945 PropertyAttributes attributes); | 1945 PropertyAttributes attributes); |
1946 | 1946 |
1947 Object* LookupAccessor(Name* name, AccessorComponent component); | 1947 MaybeObject* LookupAccessor(Name* name, AccessorComponent component); |
1948 | 1948 |
1949 MUST_USE_RESULT MaybeObject* DefineAccessor(AccessorInfo* info); | 1949 MUST_USE_RESULT MaybeObject* DefineAccessor(AccessorInfo* info); |
1950 | 1950 |
1951 // Used from Object::GetProperty(). | 1951 // Used from Object::GetProperty(). |
1952 MUST_USE_RESULT MaybeObject* GetPropertyWithFailedAccessCheck( | 1952 MUST_USE_RESULT MaybeObject* GetPropertyWithFailedAccessCheck( |
1953 Object* receiver, | 1953 Object* receiver, |
1954 LookupResult* result, | 1954 LookupResult* result, |
1955 Name* name, | 1955 Name* name, |
1956 PropertyAttributes* attributes); | 1956 PropertyAttributes* attributes); |
1957 MUST_USE_RESULT MaybeObject* GetPropertyWithInterceptor( | 1957 MUST_USE_RESULT MaybeObject* GetPropertyWithInterceptor( |
(...skipping 7848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9806 } else { | 9806 } else { |
9807 value &= ~(1 << bit_position); | 9807 value &= ~(1 << bit_position); |
9808 } | 9808 } |
9809 return value; | 9809 return value; |
9810 } | 9810 } |
9811 }; | 9811 }; |
9812 | 9812 |
9813 } } // namespace v8::internal | 9813 } } // namespace v8::internal |
9814 | 9814 |
9815 #endif // V8_OBJECTS_H_ | 9815 #endif // V8_OBJECTS_H_ |
OLD | NEW |