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

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

Issue 2366863002: Mirror API for IsAsyncFunction (Closed)
Patch Set: Created 4 years, 3 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/debug/mirrors.js ('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 <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 F(FunctionSetName, 2, 1) \ 221 F(FunctionSetName, 2, 1) \
222 F(FunctionRemovePrototype, 1, 1) \ 222 F(FunctionRemovePrototype, 1, 1) \
223 F(FunctionGetScript, 1, 1) \ 223 F(FunctionGetScript, 1, 1) \
224 F(FunctionGetSourceCode, 1, 1) \ 224 F(FunctionGetSourceCode, 1, 1) \
225 F(FunctionGetScriptSourcePosition, 1, 1) \ 225 F(FunctionGetScriptSourcePosition, 1, 1) \
226 F(FunctionGetContextData, 1, 1) \ 226 F(FunctionGetContextData, 1, 1) \
227 F(FunctionSetInstanceClassName, 2, 1) \ 227 F(FunctionSetInstanceClassName, 2, 1) \
228 F(FunctionSetLength, 2, 1) \ 228 F(FunctionSetLength, 2, 1) \
229 F(FunctionSetPrototype, 2, 1) \ 229 F(FunctionSetPrototype, 2, 1) \
230 F(FunctionIsAPIFunction, 1, 1) \ 230 F(FunctionIsAPIFunction, 1, 1) \
231 F(FunctionIsAsyncFunction, 1, 1) \
231 F(SetCode, 2, 1) \ 232 F(SetCode, 2, 1) \
232 F(SetNativeFlag, 1, 1) \ 233 F(SetNativeFlag, 1, 1) \
233 F(IsConstructor, 1, 1) \ 234 F(IsConstructor, 1, 1) \
234 F(SetForceInlineFlag, 1, 1) \ 235 F(SetForceInlineFlag, 1, 1) \
235 F(Call, -1 /* >= 2 */, 1) \ 236 F(Call, -1 /* >= 2 */, 1) \
236 F(ConvertReceiver, 1, 1) \ 237 F(ConvertReceiver, 1, 1) \
237 F(IsFunction, 1, 1) \ 238 F(IsFunction, 1, 1) \
238 F(FunctionToString, 1, 1) 239 F(FunctionToString, 1, 1)
239 240
240 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ 241 #define FOR_EACH_INTRINSIC_GENERATOR(F) \
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 1127
1127 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1128 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1128 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1129 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1129 STATIC_ASSERT(LANGUAGE_END == 2); 1130 STATIC_ASSERT(LANGUAGE_END == 2);
1130 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1131 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1131 1132
1132 } // namespace internal 1133 } // namespace internal
1133 } // namespace v8 1134 } // namespace v8
1134 1135
1135 #endif // V8_RUNTIME_RUNTIME_H_ 1136 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/debug/mirrors.js ('k') | src/runtime/runtime-function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698