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

Side by Side Diff: src/runtime.h

Issue 13542002: Calling a generator function returns a generator object (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Link generator iterator definitions and uses through local variable 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
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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 /* Getters and Setters */ \ 287 /* Getters and Setters */ \
288 F(LookupAccessor, 3, 1) \ 288 F(LookupAccessor, 3, 1) \
289 \ 289 \
290 /* Literals */ \ 290 /* Literals */ \
291 F(MaterializeRegExpLiteral, 4, 1)\ 291 F(MaterializeRegExpLiteral, 4, 1)\
292 F(CreateObjectLiteral, 4, 1) \ 292 F(CreateObjectLiteral, 4, 1) \
293 F(CreateObjectLiteralShallow, 4, 1) \ 293 F(CreateObjectLiteralShallow, 4, 1) \
294 F(CreateArrayLiteral, 3, 1) \ 294 F(CreateArrayLiteral, 3, 1) \
295 F(CreateArrayLiteralShallow, 3, 1) \ 295 F(CreateArrayLiteralShallow, 3, 1) \
296 \ 296 \
297 /* Harmony generators */ \
298 F(CreateJSGeneratorIterator, 1, 1) \
299 \
297 /* Harmony modules */ \ 300 /* Harmony modules */ \
298 F(IsJSModule, 1, 1) \ 301 F(IsJSModule, 1, 1) \
299 \ 302 \
300 /* Harmony symbols */ \ 303 /* Harmony symbols */ \
301 F(CreateSymbol, 1, 1) \ 304 F(CreateSymbol, 1, 1) \
302 F(SymbolName, 1, 1) \ 305 F(SymbolName, 1, 1) \
303 \ 306 \
304 /* Harmony proxies */ \ 307 /* Harmony proxies */ \
305 F(CreateJSProxy, 2, 1) \ 308 F(CreateJSProxy, 2, 1) \
306 F(CreateJSFunctionProxy, 4, 1) \ 309 F(CreateJSFunctionProxy, 4, 1) \
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 //--------------------------------------------------------------------------- 725 //---------------------------------------------------------------------------
723 // Constants used by interface to runtime functions. 726 // Constants used by interface to runtime functions.
724 727
725 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 728 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
726 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 729 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
727 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 730 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
728 731
729 } } // namespace v8::internal 732 } } // namespace v8::internal
730 733
731 #endif // V8_RUNTIME_H_ 734 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698