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 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
834 Handle<Object> value, | 834 Handle<Object> value, |
835 PropertyAttributes attr, | 835 PropertyAttributes attr, |
836 StrictMode strict_mode); | 836 StrictMode strict_mode); |
837 | 837 |
838 MUST_USE_RESULT static MaybeHandle<Object> ForceSetObjectProperty( | 838 MUST_USE_RESULT static MaybeHandle<Object> ForceSetObjectProperty( |
839 Handle<JSObject> object, | 839 Handle<JSObject> object, |
840 Handle<Object> key, | 840 Handle<Object> key, |
841 Handle<Object> value, | 841 Handle<Object> value, |
842 PropertyAttributes attr); | 842 PropertyAttributes attr); |
843 | 843 |
844 MUST_USE_RESULT static MaybeObject* DeleteObjectProperty( | 844 MUST_USE_RESULT static MaybeHandle<Object> DeleteObjectProperty( |
845 Isolate* isolate, | 845 Isolate* isolate, |
846 Handle<JSReceiver> object, | 846 Handle<JSReceiver> object, |
847 Handle<Object> key, | 847 Handle<Object> key, |
848 JSReceiver::DeleteMode mode); | 848 JSReceiver::DeleteMode mode); |
849 | 849 |
850 MUST_USE_RESULT static MaybeObject* HasObjectProperty( | 850 MUST_USE_RESULT static MaybeHandle<Object> HasObjectProperty( |
851 Isolate* isolate, | 851 Isolate* isolate, |
852 Handle<JSReceiver> object, | 852 Handle<JSReceiver> object, |
853 Handle<Object> key); | 853 Handle<Object> key); |
854 | 854 |
855 static Handle<Object> GetObjectProperty(Isolate* isolate, | 855 static Handle<Object> GetObjectProperty(Isolate* isolate, |
856 Handle<Object> object, | 856 Handle<Object> object, |
857 Handle<Object> key); | 857 Handle<Object> key); |
858 | 858 |
859 static void SetupArrayBuffer(Isolate* isolate, | 859 static void SetupArrayBuffer(Isolate* isolate, |
860 Handle<JSArrayBuffer> array_buffer, | 860 Handle<JSArrayBuffer> array_buffer, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
911 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 911 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
912 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 912 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
913 | 913 |
914 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 914 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
915 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 915 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
916 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 916 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
917 | 917 |
918 } } // namespace v8::internal | 918 } } // namespace v8::internal |
919 | 919 |
920 #endif // V8_RUNTIME_H_ | 920 #endif // V8_RUNTIME_H_ |
OLD | NEW |