| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_RUNTIME_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_RUNTIME_H_ |
| 6 #define V8_RUNTIME_RUNTIME_H_ | 6 #define V8_RUNTIME_RUNTIME_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/objects.h" | 9 #include "src/objects.h" |
| 10 #include "src/zone.h" | 10 #include "src/zone.h" |
| (...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 817 // in Firefox/SpiderMonkey, Safari and Opera. | 817 // in Firefox/SpiderMonkey, Safari and Opera. |
| 818 MUST_USE_RESULT static MaybeHandle<Object> GetElementOrCharAt( | 818 MUST_USE_RESULT static MaybeHandle<Object> GetElementOrCharAt( |
| 819 Isolate* isolate, Handle<Object> object, uint32_t index); | 819 Isolate* isolate, Handle<Object> object, uint32_t index); |
| 820 | 820 |
| 821 MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty( | 821 MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty( |
| 822 Isolate* isolate, Handle<Object> object, Handle<Object> key, | 822 Isolate* isolate, Handle<Object> object, Handle<Object> key, |
| 823 Handle<Object> value, LanguageMode language_mode); | 823 Handle<Object> value, LanguageMode language_mode); |
| 824 | 824 |
| 825 MUST_USE_RESULT static MaybeHandle<Object> DefineObjectProperty( | 825 MUST_USE_RESULT static MaybeHandle<Object> DefineObjectProperty( |
| 826 Handle<JSObject> object, Handle<Object> key, Handle<Object> value, | 826 Handle<JSObject> object, Handle<Object> key, Handle<Object> value, |
| 827 PropertyAttributes attr); | 827 PropertyAttributes attr, |
| 828 JSObject::ExecutableAccessorInfoHandling handling = |
| 829 JSObject::DEFAULT_HANDLING); |
| 828 | 830 |
| 829 MUST_USE_RESULT static MaybeHandle<Object> GetObjectProperty( | 831 MUST_USE_RESULT static MaybeHandle<Object> GetObjectProperty( |
| 830 Isolate* isolate, Handle<Object> object, Handle<Object> key); | 832 Isolate* isolate, Handle<Object> object, Handle<Object> key); |
| 831 | 833 |
| 832 MUST_USE_RESULT static MaybeHandle<Object> GetPrototype( | 834 MUST_USE_RESULT static MaybeHandle<Object> GetPrototype( |
| 833 Isolate* isolate, Handle<Object> object); | 835 Isolate* isolate, Handle<Object> object); |
| 834 | 836 |
| 835 MUST_USE_RESULT static MaybeHandle<Name> ToName(Isolate* isolate, | 837 MUST_USE_RESULT static MaybeHandle<Name> ToName(Isolate* isolate, |
| 836 Handle<Object> key); | 838 Handle<Object> key); |
| 837 | 839 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 929 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 931 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
| 930 return size == 1 || size == 2 || size == 4; | 932 return size == 1 || size == 2 || size == 4; |
| 931 } | 933 } |
| 932 | 934 |
| 933 #endif | 935 #endif |
| 934 | 936 |
| 935 } // namespace internal | 937 } // namespace internal |
| 936 } // namespace v8 | 938 } // namespace v8 |
| 937 | 939 |
| 938 #endif // V8_RUNTIME_RUNTIME_H_ | 940 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |