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

Side by Side Diff: src/runtime.h

Issue 61883002: Handlify ForceSetObjectProperty (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: cr changes Created 7 years, 1 month 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 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 StrictModeFlag strict_mode); 785 StrictModeFlag strict_mode);
786 786
787 MUST_USE_RESULT static MaybeObject* SetObjectPropertyOrFail( 787 MUST_USE_RESULT static MaybeObject* SetObjectPropertyOrFail(
788 Isolate* isolate, 788 Isolate* isolate,
789 Handle<Object> object, 789 Handle<Object> object,
790 Handle<Object> key, 790 Handle<Object> key,
791 Handle<Object> value, 791 Handle<Object> value,
792 PropertyAttributes attr, 792 PropertyAttributes attr,
793 StrictModeFlag strict_mode); 793 StrictModeFlag strict_mode);
794 794
795 MUST_USE_RESULT static MaybeObject* ForceSetObjectProperty( 795 static Handle<Object> ForceSetObjectProperty(
796 Isolate* isolate, 796 Isolate* isolate,
797 Handle<JSObject> object, 797 Handle<JSObject> object,
798 Handle<Object> key, 798 Handle<Object> key,
799 Handle<Object> value, 799 Handle<Object> value,
800 PropertyAttributes attr); 800 PropertyAttributes attr);
801 801
802 MUST_USE_RESULT static MaybeObject* DeleteObjectProperty( 802 MUST_USE_RESULT static MaybeObject* DeleteObjectProperty(
803 Isolate* isolate, 803 Isolate* isolate,
804 Handle<JSReceiver> object, 804 Handle<JSReceiver> object,
805 Handle<Object> key, 805 Handle<Object> key,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 //--------------------------------------------------------------------------- 850 //---------------------------------------------------------------------------
851 // Constants used by interface to runtime functions. 851 // Constants used by interface to runtime functions.
852 852
853 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 853 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
854 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 854 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
855 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 855 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
856 856
857 } } // namespace v8::internal 857 } } // namespace v8::internal
858 858
859 #endif // V8_RUNTIME_H_ 859 #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