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

Side by Side Diff: src/full-codegen.h

Issue 14066016: Generators can resume (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: ia32 fixups 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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id); 479 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id);
480 480
481 void EmitInlineRuntimeCall(CallRuntime* expr); 481 void EmitInlineRuntimeCall(CallRuntime* expr);
482 482
483 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \ 483 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \
484 void Emit##name(CallRuntime* expr); 484 void Emit##name(CallRuntime* expr);
485 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) 485 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL)
486 INLINE_RUNTIME_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) 486 INLINE_RUNTIME_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL)
487 #undef EMIT_INLINE_RUNTIME_CALL 487 #undef EMIT_INLINE_RUNTIME_CALL
488 488
489 void EmitResume(Expression *generator_object, Expression *value,
Michael Starzinger 2013/04/21 22:45:21 Let's rename this helper to EmitGeneratorResume()
wingo 2013/04/23 13:51:04 Done.
490 JSGeneratorObject::ResumeMode resume_mode);
491
489 // Platform-specific code for loading variables. 492 // Platform-specific code for loading variables.
490 void EmitLoadGlobalCheckExtensions(Variable* var, 493 void EmitLoadGlobalCheckExtensions(Variable* var,
491 TypeofState typeof_state, 494 TypeofState typeof_state,
492 Label* slow); 495 Label* slow);
493 MemOperand ContextSlotOperandCheckExtensions(Variable* var, Label* slow); 496 MemOperand ContextSlotOperandCheckExtensions(Variable* var, Label* slow);
494 void EmitDynamicLookupFastCase(Variable* var, 497 void EmitDynamicLookupFastCase(Variable* var,
495 TypeofState typeof_state, 498 TypeofState typeof_state,
496 Label* slow, 499 Label* slow,
497 Label* done); 500 Label* done);
498 void EmitVariableLoad(VariableProxy* proxy); 501 void EmitVariableLoad(VariableProxy* proxy);
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 } 861 }
859 862
860 private: 863 private:
861 Zone* zone_; 864 Zone* zone_;
862 }; 865 };
863 866
864 867
865 } } // namespace v8::internal 868 } } // namespace v8::internal
866 869
867 #endif // V8_FULL_CODEGEN_H_ 870 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/full-codegen.cc » ('j') | src/ia32/full-codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698