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

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

Issue 1884183002: First version of the new generators implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 8 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 F(FunctionToString, 1, 1) 232 F(FunctionToString, 1, 1)
233 233
234 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ 234 #define FOR_EACH_INTRINSIC_GENERATOR(F) \
235 F(CreateJSGeneratorObject, 2, 1) \ 235 F(CreateJSGeneratorObject, 2, 1) \
236 F(SuspendJSGeneratorObject, 1, 1) \ 236 F(SuspendJSGeneratorObject, 1, 1) \
237 F(GeneratorClose, 1, 1) \ 237 F(GeneratorClose, 1, 1) \
238 F(GeneratorGetFunction, 1, 1) \ 238 F(GeneratorGetFunction, 1, 1) \
239 F(GeneratorGetReceiver, 1, 1) \ 239 F(GeneratorGetReceiver, 1, 1) \
240 F(GeneratorGetInput, 1, 1) \ 240 F(GeneratorGetInput, 1, 1) \
241 F(GeneratorGetContinuation, 1, 1) \ 241 F(GeneratorGetContinuation, 1, 1) \
242 F(GeneratorGetSourcePosition, 1, 1) 242 F(GeneratorGetSourcePosition, 1, 1) \
243 F(GeneratorGetResumeMode, 1, 1) \
244 F(SuspendIgnitionGenerator, 2, 1) \
245 F(ResumeIgnitionGenerator, 1, 1)
243 246
244 #ifdef V8_I18N_SUPPORT 247 #ifdef V8_I18N_SUPPORT
245 #define FOR_EACH_INTRINSIC_I18N(F) \ 248 #define FOR_EACH_INTRINSIC_I18N(F) \
246 F(CanonicalizeLanguageTag, 1, 1) \ 249 F(CanonicalizeLanguageTag, 1, 1) \
247 F(AvailableLocalesOf, 1, 1) \ 250 F(AvailableLocalesOf, 1, 1) \
248 F(GetDefaultICULocale, 0, 1) \ 251 F(GetDefaultICULocale, 0, 1) \
249 F(GetLanguageTagVariants, 1, 1) \ 252 F(GetLanguageTagVariants, 1, 1) \
250 F(IsInitializedIntlObject, 1, 1) \ 253 F(IsInitializedIntlObject, 1, 1) \
251 F(IsInitializedIntlObjectOfType, 2, 1) \ 254 F(IsInitializedIntlObjectOfType, 2, 1) \
252 F(MarkAsInitializedIntlObjectOfType, 3, 1) \ 255 F(MarkAsInitializedIntlObjectOfType, 3, 1) \
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 1186
1184 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1187 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1185 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1188 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1186 STATIC_ASSERT(LANGUAGE_END == 3); 1189 STATIC_ASSERT(LANGUAGE_END == 3);
1187 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1190 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1188 1191
1189 } // namespace internal 1192 } // namespace internal
1190 } // namespace v8 1193 } // namespace v8
1191 1194
1192 #endif // V8_RUNTIME_RUNTIME_H_ 1195 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698