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

Side by Side Diff: src/runtime/runtime.h

Issue 1115263004: [strong] Check arity of functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/objects.h ('k') | src/runtime/runtime-function.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_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 F(FunctionGetSourceCode, 1, 1) \ 200 F(FunctionGetSourceCode, 1, 1) \
201 F(FunctionGetScriptSourcePosition, 1, 1) \ 201 F(FunctionGetScriptSourcePosition, 1, 1) \
202 F(FunctionGetPositionForOffset, 2, 1) \ 202 F(FunctionGetPositionForOffset, 2, 1) \
203 F(FunctionSetInstanceClassName, 2, 1) \ 203 F(FunctionSetInstanceClassName, 2, 1) \
204 F(FunctionSetLength, 2, 1) \ 204 F(FunctionSetLength, 2, 1) \
205 F(FunctionSetPrototype, 2, 1) \ 205 F(FunctionSetPrototype, 2, 1) \
206 F(FunctionIsAPIFunction, 1, 1) \ 206 F(FunctionIsAPIFunction, 1, 1) \
207 F(FunctionIsBuiltin, 1, 1) \ 207 F(FunctionIsBuiltin, 1, 1) \
208 F(SetCode, 2, 1) \ 208 F(SetCode, 2, 1) \
209 F(SetNativeFlag, 1, 1) \ 209 F(SetNativeFlag, 1, 1) \
210 F(ThrowStrongModeTooFewArguments, 0, 1) \
210 F(IsConstructor, 1, 1) \ 211 F(IsConstructor, 1, 1) \
211 F(SetInlineBuiltinFlag, 1, 1) \ 212 F(SetInlineBuiltinFlag, 1, 1) \
212 F(FunctionBindArguments, 4, 1) \ 213 F(FunctionBindArguments, 4, 1) \
213 F(BoundFunctionGetBindings, 1, 1) \ 214 F(BoundFunctionGetBindings, 1, 1) \
214 F(NewObjectFromBound, 1, 1) \ 215 F(NewObjectFromBound, 1, 1) \
215 F(Call, -1 /* >= 2 */, 1) \ 216 F(Call, -1 /* >= 2 */, 1) \
216 F(Apply, 5, 1) \ 217 F(Apply, 5, 1) \
217 F(GetFunctionDelegate, 1, 1) \ 218 F(GetFunctionDelegate, 1, 1) \
218 F(GetConstructorDelegate, 1, 1) \ 219 F(GetConstructorDelegate, 1, 1) \
219 F(CallFunction, -1 /* receiver + n args + function */, 1) \ 220 F(CallFunction, -1 /* receiver + n args + function */, 1) \
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 865
865 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 866 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
866 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 867 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
867 STATIC_ASSERT(LANGUAGE_END == 3); 868 STATIC_ASSERT(LANGUAGE_END == 3);
868 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 869 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
869 870
870 } // namespace internal 871 } // namespace internal
871 } // namespace v8 872 } // namespace v8
872 873
873 #endif // V8_RUNTIME_RUNTIME_H_ 874 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/runtime/runtime-function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698