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

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

Issue 1883443003: [generators] Simplify %CreateJSGeneratorObject (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add back initialization of continuation, just to be on the safe side. 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
« no previous file with comments | « src/parsing/parser.cc ('k') | src/runtime/runtime-generator.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/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 F(SetCode, 2, 1) \ 224 F(SetCode, 2, 1) \
225 F(SetNativeFlag, 1, 1) \ 225 F(SetNativeFlag, 1, 1) \
226 F(IsConstructor, 1, 1) \ 226 F(IsConstructor, 1, 1) \
227 F(SetForceInlineFlag, 1, 1) \ 227 F(SetForceInlineFlag, 1, 1) \
228 F(Call, -1 /* >= 2 */, 1) \ 228 F(Call, -1 /* >= 2 */, 1) \
229 F(ConvertReceiver, 1, 1) \ 229 F(ConvertReceiver, 1, 1) \
230 F(IsFunction, 1, 1) \ 230 F(IsFunction, 1, 1) \
231 F(FunctionToString, 1, 1) 231 F(FunctionToString, 1, 1)
232 232
233 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ 233 #define FOR_EACH_INTRINSIC_GENERATOR(F) \
234 F(CreateJSGeneratorObject, 0, 1) \ 234 F(CreateJSGeneratorObject, 2, 1) \
235 F(SuspendJSGeneratorObject, 1, 1) \ 235 F(SuspendJSGeneratorObject, 1, 1) \
236 F(GeneratorClose, 1, 1) \ 236 F(GeneratorClose, 1, 1) \
237 F(GeneratorGetFunction, 1, 1) \ 237 F(GeneratorGetFunction, 1, 1) \
238 F(GeneratorGetReceiver, 1, 1) \ 238 F(GeneratorGetReceiver, 1, 1) \
239 F(GeneratorGetInput, 1, 1) \ 239 F(GeneratorGetInput, 1, 1) \
240 F(GeneratorGetContinuation, 1, 1) \ 240 F(GeneratorGetContinuation, 1, 1) \
241 F(GeneratorGetSourcePosition, 1, 1) 241 F(GeneratorGetSourcePosition, 1, 1)
242 242
243 #ifdef V8_I18N_SUPPORT 243 #ifdef V8_I18N_SUPPORT
244 #define FOR_EACH_INTRINSIC_I18N(F) \ 244 #define FOR_EACH_INTRINSIC_I18N(F) \
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 1173
1174 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1174 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1175 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1175 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1176 STATIC_ASSERT(LANGUAGE_END == 3); 1176 STATIC_ASSERT(LANGUAGE_END == 3);
1177 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1177 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1178 1178
1179 } // namespace internal 1179 } // namespace internal
1180 } // namespace v8 1180 } // namespace v8
1181 1181
1182 #endif // V8_RUNTIME_RUNTIME_H_ 1182 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/parsing/parser.cc ('k') | src/runtime/runtime-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698