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

Side by Side Diff: src/runtime.h

Issue 274463003: Directly create API functions with readonly prototypes rather than converting. Remove FunctionSetRe… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove test Created 6 years, 7 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_RUNTIME_H_ 5 #ifndef V8_RUNTIME_H_
6 #define V8_RUNTIME_H_ 6 #define V8_RUNTIME_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "zone.h" 9 #include "zone.h"
10 10
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 F(NumberToExponential, 2, 1) \ 173 F(NumberToExponential, 2, 1) \
174 F(NumberToPrecision, 2, 1) \ 174 F(NumberToPrecision, 2, 1) \
175 F(IsValidSmi, 1, 1) 175 F(IsValidSmi, 1, 1)
176 176
177 177
178 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ 178 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
179 /* Reflection */ \ 179 /* Reflection */ \
180 F(FunctionSetInstanceClassName, 2, 1) \ 180 F(FunctionSetInstanceClassName, 2, 1) \
181 F(FunctionSetLength, 2, 1) \ 181 F(FunctionSetLength, 2, 1) \
182 F(FunctionSetPrototype, 2, 1) \ 182 F(FunctionSetPrototype, 2, 1) \
183 F(FunctionSetReadOnlyPrototype, 1, 1) \
184 F(FunctionGetName, 1, 1) \ 183 F(FunctionGetName, 1, 1) \
185 F(FunctionSetName, 2, 1) \ 184 F(FunctionSetName, 2, 1) \
186 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ 185 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \
187 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \ 186 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \
188 F(FunctionIsGenerator, 1, 1) \ 187 F(FunctionIsGenerator, 1, 1) \
189 F(FunctionBindArguments, 4, 1) \ 188 F(FunctionBindArguments, 4, 1) \
190 F(BoundFunctionGetBindings, 1, 1) \ 189 F(BoundFunctionGetBindings, 1, 1) \
191 F(FunctionRemovePrototype, 1, 1) \ 190 F(FunctionRemovePrototype, 1, 1) \
192 F(FunctionGetSourceCode, 1, 1) \ 191 F(FunctionGetSourceCode, 1, 1) \
193 F(FunctionGetScript, 1, 1) \ 192 F(FunctionGetScript, 1, 1) \
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 895 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
897 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 896 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
898 897
899 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 898 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
900 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 899 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
901 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 900 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
902 901
903 } } // namespace v8::internal 902 } } // namespace v8::internal
904 903
905 #endif // V8_RUNTIME_H_ 904 #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