Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: src/runtime.h

Issue 227573002: Return MaybeHandle from SetElement and DeleteElement. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698