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

Side by Side Diff: src/runtime.h

Issue 62333002: Handlify Runtime::SetObjectProperty (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: whitespace 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/ic.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 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 // in Firefox/SpiderMonkey, Safari and Opera. 769 // in Firefox/SpiderMonkey, Safari and Opera.
770 MUST_USE_RESULT static MaybeObject* GetElementOrCharAt(Isolate* isolate, 770 MUST_USE_RESULT static MaybeObject* GetElementOrCharAt(Isolate* isolate,
771 Handle<Object> object, 771 Handle<Object> object,
772 uint32_t index); 772 uint32_t index);
773 773
774 MUST_USE_RESULT static MaybeObject* GetElementOrCharAtOrFail( 774 MUST_USE_RESULT static MaybeObject* GetElementOrCharAtOrFail(
775 Isolate* isolate, 775 Isolate* isolate,
776 Handle<Object> object, 776 Handle<Object> object,
777 uint32_t index); 777 uint32_t index);
778 778
779 MUST_USE_RESULT static MaybeObject* SetObjectProperty( 779 static Handle<Object> SetObjectProperty(
780 Isolate* isolate, 780 Isolate* isolate,
781 Handle<Object> object, 781 Handle<Object> object,
782 Handle<Object> key, 782 Handle<Object> key,
783 Handle<Object> value,
784 PropertyAttributes attr,
785 StrictModeFlag strict_mode);
786
787 MUST_USE_RESULT static MaybeObject* SetObjectPropertyOrFail(
788 Isolate* isolate,
789 Handle<Object> object,
790 Handle<Object> key,
791 Handle<Object> value, 783 Handle<Object> value,
792 PropertyAttributes attr, 784 PropertyAttributes attr,
793 StrictModeFlag strict_mode); 785 StrictModeFlag strict_mode);
794 786
795 static Handle<Object> ForceSetObjectProperty( 787 static Handle<Object> ForceSetObjectProperty(
796 Isolate* isolate, 788 Isolate* isolate,
797 Handle<JSObject> object, 789 Handle<JSObject> object,
798 Handle<Object> key, 790 Handle<Object> key,
799 Handle<Object> value, 791 Handle<Object> value,
800 PropertyAttributes attr); 792 PropertyAttributes attr);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 //--------------------------------------------------------------------------- 842 //---------------------------------------------------------------------------
851 // Constants used by interface to runtime functions. 843 // Constants used by interface to runtime functions.
852 844
853 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 845 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
854 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 846 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
855 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 847 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
856 848
857 } } // namespace v8::internal 849 } } // namespace v8::internal
858 850
859 #endif // V8_RUNTIME_H_ 851 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698