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_H_ | 5 #ifndef V8_RUNTIME_H_ |
6 #define V8_RUNTIME_H_ | 6 #define V8_RUNTIME_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/zone.h" | 9 #include "src/zone.h" |
10 | 10 |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
820 MUST_USE_RESULT static MaybeHandle<Object> GetElementOrCharAt( | 820 MUST_USE_RESULT static MaybeHandle<Object> GetElementOrCharAt( |
821 Isolate* isolate, | 821 Isolate* isolate, |
822 Handle<Object> object, | 822 Handle<Object> object, |
823 uint32_t index); | 823 uint32_t index); |
824 | 824 |
825 MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty( | 825 MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty( |
826 Isolate* isolate, Handle<Object> object, Handle<Object> key, | 826 Isolate* isolate, Handle<Object> object, Handle<Object> key, |
827 Handle<Object> value, StrictMode strict_mode); | 827 Handle<Object> value, StrictMode strict_mode); |
828 | 828 |
829 MUST_USE_RESULT static MaybeHandle<Object> DefineObjectProperty( | 829 MUST_USE_RESULT static MaybeHandle<Object> DefineObjectProperty( |
830 Handle<JSObject> object, | 830 Handle<JSObject> object, Handle<Object> key, Handle<Object> value, |
831 Handle<Object> key, | 831 PropertyAttributes attr); |
832 Handle<Object> value, | |
833 PropertyAttributes attr, | |
834 JSReceiver::StoreFromKeyed store_from_keyed = | |
835 JSReceiver::MAY_BE_STORE_FROM_KEYED); | |
836 | 832 |
837 MUST_USE_RESULT static MaybeHandle<Object> DeleteObjectProperty( | 833 MUST_USE_RESULT static MaybeHandle<Object> DeleteObjectProperty( |
838 Isolate* isolate, | 834 Isolate* isolate, |
839 Handle<JSReceiver> object, | 835 Handle<JSReceiver> object, |
840 Handle<Object> key, | 836 Handle<Object> key, |
841 JSReceiver::DeleteMode mode); | 837 JSReceiver::DeleteMode mode); |
842 | 838 |
843 MUST_USE_RESULT static MaybeHandle<Object> HasObjectProperty( | 839 MUST_USE_RESULT static MaybeHandle<Object> HasObjectProperty( |
844 Isolate* isolate, | 840 Isolate* isolate, |
845 Handle<JSReceiver> object, | 841 Handle<JSReceiver> object, |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 900 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
905 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 901 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
906 | 902 |
907 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 903 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
908 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 904 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
909 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 905 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
910 | 906 |
911 } } // namespace v8::internal | 907 } } // namespace v8::internal |
912 | 908 |
913 #endif // V8_RUNTIME_H_ | 909 #endif // V8_RUNTIME_H_ |
OLD | NEW |