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

Side by Side Diff: src/runtime.h

Issue 181543002: Eliminate extended mode, and other modes clean-up (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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/preparser.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 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 Isolate* isolate, 787 Isolate* isolate,
788 Handle<Object> object, 788 Handle<Object> object,
789 uint32_t index); 789 uint32_t index);
790 790
791 static Handle<Object> SetObjectProperty( 791 static Handle<Object> SetObjectProperty(
792 Isolate* isolate, 792 Isolate* isolate,
793 Handle<Object> object, 793 Handle<Object> object,
794 Handle<Object> key, 794 Handle<Object> key,
795 Handle<Object> value, 795 Handle<Object> value,
796 PropertyAttributes attr, 796 PropertyAttributes attr,
797 StrictModeFlag strict_mode); 797 StrictMode strict_mode);
798 798
799 static Handle<Object> ForceSetObjectProperty( 799 static Handle<Object> ForceSetObjectProperty(
800 Isolate* isolate, 800 Isolate* isolate,
801 Handle<JSObject> object, 801 Handle<JSObject> object,
802 Handle<Object> key, 802 Handle<Object> key,
803 Handle<Object> value, 803 Handle<Object> value,
804 PropertyAttributes attr); 804 PropertyAttributes attr);
805 805
806 MUST_USE_RESULT static MaybeObject* DeleteObjectProperty( 806 MUST_USE_RESULT static MaybeObject* DeleteObjectProperty(
807 Isolate* isolate, 807 Isolate* isolate,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 static Handle<Object> CreateArrayLiteralBoilerplate( 863 static Handle<Object> CreateArrayLiteralBoilerplate(
864 Isolate* isolate, 864 Isolate* isolate,
865 Handle<FixedArray> literals, 865 Handle<FixedArray> literals,
866 Handle<FixedArray> elements); 866 Handle<FixedArray> elements);
867 }; 867 };
868 868
869 869
870 //--------------------------------------------------------------------------- 870 //---------------------------------------------------------------------------
871 // Constants used by interface to runtime functions. 871 // Constants used by interface to runtime functions.
872 872
873 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 873 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
874 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 874 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
875 875
876 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 876 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
877 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 877 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
878 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 878 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
879 879
880 } } // namespace v8::internal 880 } } // namespace v8::internal
881 881
882 #endif // V8_RUNTIME_H_ 882 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/preparser.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698