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

Unified Diff: src/interpreter/bytecode-array-builder.h

Issue 2894293003: Save/restore only live registers in the generator suspend/resume. (Closed)
Patch Set: Fix comments Created 3 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
Index: src/interpreter/bytecode-array-builder.h
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h
index 155fd24bab4953250cb6a6670523ae4be632c9bd..447aea5580e01dda5fd0a1ad5b197c585e6ccf1d 100644
--- a/src/interpreter/bytecode-array-builder.h
+++ b/src/interpreter/bytecode-array-builder.h
@@ -401,8 +401,11 @@ class V8_EXPORT_PRIVATE BytecodeArrayBuilder final
// Generators.
BytecodeArrayBuilder& SuspendGenerator(Register generator,
+ RegisterList registers,
SuspendFlags flags);
BytecodeArrayBuilder& ResumeGenerator(Register generator);
+ BytecodeArrayBuilder& RestoreGeneratorRegisters(Register generator,
+ RegisterList registers);
// Exception handling.
BytecodeArrayBuilder& MarkHandler(int handler_id,

Powered by Google App Engine
This is Rietveld 408576698