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

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

Issue 2010493002: Check CallSite arguments more rigorously (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove unneeded cast Created 4 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
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/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 F(IS_VAR, 1, 1) \ 315 F(IS_VAR, 1, 1) \
316 F(ThrowConstructedNonConstructable, 1, 1) \ 316 F(ThrowConstructedNonConstructable, 1, 1) \
317 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ 317 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \
318 F(ThrowCalledNonCallable, 1, 1) \ 318 F(ThrowCalledNonCallable, 1, 1) \
319 F(ThrowCalledOnNullOrUndefined, 1, 1) \ 319 F(ThrowCalledOnNullOrUndefined, 1, 1) \
320 F(CreateListFromArrayLike, 1, 1) \ 320 F(CreateListFromArrayLike, 1, 1) \
321 F(IncrementUseCounter, 1, 1) \ 321 F(IncrementUseCounter, 1, 1) \
322 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ 322 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \
323 F(EnqueueMicrotask, 1, 1) \ 323 F(EnqueueMicrotask, 1, 1) \
324 F(RunMicrotasks, 0, 1) \ 324 F(RunMicrotasks, 0, 1) \
325 F(OrdinaryHasInstance, 2, 1) 325 F(OrdinaryHasInstance, 2, 1) \
326 F(IsWasmObject, 1, 1)
326 327
327 #define FOR_EACH_INTRINSIC_JSON(F) \ 328 #define FOR_EACH_INTRINSIC_JSON(F) \
328 F(QuoteJSONString, 1, 1) \ 329 F(QuoteJSONString, 1, 1) \
329 F(BasicJSONStringify, 2, 1) \ 330 F(BasicJSONStringify, 2, 1) \
330 F(ParseJson, 1, 1) 331 F(ParseJson, 1, 1)
331 332
332 #define FOR_EACH_INTRINSIC_LITERALS(F) \ 333 #define FOR_EACH_INTRINSIC_LITERALS(F) \
333 F(CreateRegExpLiteral, 4, 1) \ 334 F(CreateRegExpLiteral, 4, 1) \
334 F(CreateObjectLiteral, 4, 1) \ 335 F(CreateObjectLiteral, 4, 1) \
335 F(CreateArrayLiteral, 4, 1) \ 336 F(CreateArrayLiteral, 4, 1) \
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 1162
1162 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1163 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1163 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1164 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1164 STATIC_ASSERT(LANGUAGE_END == 3); 1165 STATIC_ASSERT(LANGUAGE_END == 3);
1165 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1166 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1166 1167
1167 } // namespace internal 1168 } // namespace internal
1168 } // namespace v8 1169 } // namespace v8
1169 1170
1170 #endif // V8_RUNTIME_RUNTIME_H_ 1171 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« src/messages.cc ('K') | « src/messages.cc ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698