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

Unified Diff: src/compiler/js-operator.h

Issue 1991203002: [generators] Replace some runtime functions with Turbofan JS operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/js-operator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-operator.h
diff --git a/src/compiler/js-operator.h b/src/compiler/js-operator.h
index 750817a0f243736de8bb2d1827baabba343a9555..a65e534ba7384ca2364d8d58c706afb5543dcaa2 100644
--- a/src/compiler/js-operator.h
+++ b/src/compiler/js-operator.h
@@ -470,6 +470,13 @@ class JSOperatorBuilder final : public ZoneObject {
const Operator* LoadMessage();
const Operator* StoreMessage();
+ // Used to implement Ignition's SuspendGenerator bytecode.
+ const Operator* GeneratorStore(int register_count);
+
+ // Used to implement Ignition's ResumeGenerator bytecode.
+ const Operator* GeneratorRestoreContinuation();
+ const Operator* GeneratorRestoreRegister(int index);
+
const Operator* StackCheck();
const Operator* CreateFunctionContext(int slot_count);
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/js-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698