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

Side by Side Diff: src/runtime.h

Issue 13704010: Generator objects can suspend (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Use sentinel values for continuations Created 7 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/parser.cc ('k') | src/runtime.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 \ 290 \
291 /* Literals */ \ 291 /* Literals */ \
292 F(MaterializeRegExpLiteral, 4, 1)\ 292 F(MaterializeRegExpLiteral, 4, 1)\
293 F(CreateObjectLiteral, 4, 1) \ 293 F(CreateObjectLiteral, 4, 1) \
294 F(CreateObjectLiteralShallow, 4, 1) \ 294 F(CreateObjectLiteralShallow, 4, 1) \
295 F(CreateArrayLiteral, 3, 1) \ 295 F(CreateArrayLiteral, 3, 1) \
296 F(CreateArrayLiteralShallow, 3, 1) \ 296 F(CreateArrayLiteralShallow, 3, 1) \
297 \ 297 \
298 /* Harmony generators */ \ 298 /* Harmony generators */ \
299 F(CreateJSGeneratorObject, 0, 1) \ 299 F(CreateJSGeneratorObject, 0, 1) \
300 F(SuspendJSGeneratorObject, 1, 1) \
300 \ 301 \
301 /* Harmony modules */ \ 302 /* Harmony modules */ \
302 F(IsJSModule, 1, 1) \ 303 F(IsJSModule, 1, 1) \
303 \ 304 \
304 /* Harmony symbols */ \ 305 /* Harmony symbols */ \
305 F(CreateSymbol, 1, 1) \ 306 F(CreateSymbol, 1, 1) \
306 F(SymbolName, 1, 1) \ 307 F(SymbolName, 1, 1) \
307 \ 308 \
308 /* Harmony proxies */ \ 309 /* Harmony proxies */ \
309 F(CreateJSProxy, 2, 1) \ 310 F(CreateJSProxy, 2, 1) \
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 //--------------------------------------------------------------------------- 733 //---------------------------------------------------------------------------
733 // Constants used by interface to runtime functions. 734 // Constants used by interface to runtime functions.
734 735
735 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 736 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
736 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 737 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
737 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 738 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
738 739
739 } } // namespace v8::internal 740 } } // namespace v8::internal
740 741
741 #endif // V8_RUNTIME_H_ 742 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/parser.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698