OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 1258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1269 ShouldThrow should_throw); | 1269 ShouldThrow should_throw); |
1270 MUST_USE_RESULT static Maybe<bool> SetDataProperty(LookupIterator* it, | 1270 MUST_USE_RESULT static Maybe<bool> SetDataProperty(LookupIterator* it, |
1271 Handle<Object> value); | 1271 Handle<Object> value); |
1272 MUST_USE_RESULT static Maybe<bool> AddDataProperty( | 1272 MUST_USE_RESULT static Maybe<bool> AddDataProperty( |
1273 LookupIterator* it, Handle<Object> value, PropertyAttributes attributes, | 1273 LookupIterator* it, Handle<Object> value, PropertyAttributes attributes, |
1274 ShouldThrow should_throw, StoreFromKeyed store_mode); | 1274 ShouldThrow should_throw, StoreFromKeyed store_mode); |
1275 MUST_USE_RESULT static inline MaybeHandle<Object> GetPropertyOrElement( | 1275 MUST_USE_RESULT static inline MaybeHandle<Object> GetPropertyOrElement( |
1276 Handle<Object> object, Handle<Name> name, | 1276 Handle<Object> object, Handle<Name> name, |
1277 LanguageMode language_mode = SLOPPY); | 1277 LanguageMode language_mode = SLOPPY); |
1278 MUST_USE_RESULT static inline MaybeHandle<Object> GetPropertyOrElement( | 1278 MUST_USE_RESULT static inline MaybeHandle<Object> GetPropertyOrElement( |
1279 Handle<JSReceiver> holder, Handle<Name> name, Handle<Object> receiver, | 1279 Handle<Object> receiver, Handle<Name> name, Handle<JSReceiver> holder, |
1280 LanguageMode language_mode = SLOPPY); | 1280 LanguageMode language_mode = SLOPPY); |
1281 MUST_USE_RESULT static inline MaybeHandle<Object> GetProperty( | 1281 MUST_USE_RESULT static inline MaybeHandle<Object> GetProperty( |
1282 Isolate* isolate, Handle<Object> object, const char* key, | 1282 Isolate* isolate, Handle<Object> object, const char* key, |
1283 LanguageMode language_mode = SLOPPY); | 1283 LanguageMode language_mode = SLOPPY); |
1284 MUST_USE_RESULT static inline MaybeHandle<Object> GetProperty( | 1284 MUST_USE_RESULT static inline MaybeHandle<Object> GetProperty( |
1285 Handle<Object> object, Handle<Name> name, | 1285 Handle<Object> object, Handle<Name> name, |
1286 LanguageMode language_mode = SLOPPY); | 1286 LanguageMode language_mode = SLOPPY); |
1287 | 1287 |
1288 MUST_USE_RESULT static MaybeHandle<Object> GetPropertyWithAccessor( | 1288 MUST_USE_RESULT static MaybeHandle<Object> GetPropertyWithAccessor( |
1289 LookupIterator* it, LanguageMode language_mode); | 1289 LookupIterator* it, LanguageMode language_mode); |
(...skipping 9516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10806 } | 10806 } |
10807 return value; | 10807 return value; |
10808 } | 10808 } |
10809 }; | 10809 }; |
10810 | 10810 |
10811 | 10811 |
10812 } // NOLINT, false-positive due to second-order macros. | 10812 } // NOLINT, false-positive due to second-order macros. |
10813 } // NOLINT, false-positive due to second-order macros. | 10813 } // NOLINT, false-positive due to second-order macros. |
10814 | 10814 |
10815 #endif // V8_OBJECTS_H_ | 10815 #endif // V8_OBJECTS_H_ |
OLD | NEW |