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 "allocation.h" | 8 #include "allocation.h" |
9 #include "zone.h" | 9 #include "zone.h" |
10 | 10 |
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
812 Handle<Object> object, | 812 Handle<Object> object, |
813 Handle<Object> key, | 813 Handle<Object> key, |
814 Handle<Object> value, | 814 Handle<Object> value, |
815 PropertyAttributes attr, | 815 PropertyAttributes attr, |
816 StrictMode strict_mode); | 816 StrictMode strict_mode); |
817 | 817 |
818 MUST_USE_RESULT static MaybeHandle<Object> ForceSetObjectProperty( | 818 MUST_USE_RESULT static MaybeHandle<Object> ForceSetObjectProperty( |
819 Handle<JSObject> object, | 819 Handle<JSObject> object, |
820 Handle<Object> key, | 820 Handle<Object> key, |
821 Handle<Object> value, | 821 Handle<Object> value, |
822 PropertyAttributes attr); | 822 PropertyAttributes attr, |
| 823 JSReceiver::StoreFromKeyed store_from_keyed |
| 824 = JSReceiver::MAY_BE_STORE_FROM_KEYED); |
823 | 825 |
824 MUST_USE_RESULT static MaybeHandle<Object> DeleteObjectProperty( | 826 MUST_USE_RESULT static MaybeHandle<Object> DeleteObjectProperty( |
825 Isolate* isolate, | 827 Isolate* isolate, |
826 Handle<JSReceiver> object, | 828 Handle<JSReceiver> object, |
827 Handle<Object> key, | 829 Handle<Object> key, |
828 JSReceiver::DeleteMode mode); | 830 JSReceiver::DeleteMode mode); |
829 | 831 |
830 MUST_USE_RESULT static MaybeHandle<Object> HasObjectProperty( | 832 MUST_USE_RESULT static MaybeHandle<Object> HasObjectProperty( |
831 Isolate* isolate, | 833 Isolate* isolate, |
832 Handle<JSReceiver> object, | 834 Handle<JSReceiver> object, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 890 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
889 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 891 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
890 | 892 |
891 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 893 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
892 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 894 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
893 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 895 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
894 | 896 |
895 } } // namespace v8::internal | 897 } } // namespace v8::internal |
896 | 898 |
897 #endif // V8_RUNTIME_H_ | 899 #endif // V8_RUNTIME_H_ |
OLD | NEW |