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

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: Fix nits; generator object fields are undefined if not set 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 /* Getters and Setters */ \ 288 /* Getters and Setters */ \
289 F(LookupAccessor, 3, 1) \ 289 F(LookupAccessor, 3, 1) \
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 */ \
299 F(CreateJSGeneratorObject, 0, 1) \
300 \
298 /* Harmony modules */ \ 301 /* Harmony modules */ \
299 F(IsJSModule, 1, 1) \ 302 F(IsJSModule, 1, 1) \
300 \ 303 \
301 /* Harmony symbols */ \ 304 /* Harmony symbols */ \
302 F(CreateSymbol, 1, 1) \ 305 F(CreateSymbol, 1, 1) \
303 F(SymbolName, 1, 1) \ 306 F(SymbolName, 1, 1) \
304 \ 307 \
305 /* Harmony proxies */ \ 308 /* Harmony proxies */ \
306 F(CreateJSProxy, 2, 1) \ 309 F(CreateJSProxy, 2, 1) \
307 F(CreateJSFunctionProxy, 4, 1) \ 310 F(CreateJSFunctionProxy, 4, 1) \
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 //--------------------------------------------------------------------------- 732 //---------------------------------------------------------------------------
730 // Constants used by interface to runtime functions. 733 // Constants used by interface to runtime functions.
731 734
732 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 735 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
733 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 736 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
734 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 737 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
735 738
736 } } // namespace v8::internal 739 } } // namespace v8::internal
737 740
738 #endif // V8_RUNTIME_H_ 741 #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