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

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

Issue 2248633002: [interpreter] Add CreateBlockContext bytecode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments Created 4 years, 4 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/bytecode-graph-builder.cc ('k') | src/interpreter/bytecode-array-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/bytecode-array-builder.h
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h
index 18e2bb16ed503a0d22eb4436fb9aeaa9a306e8d5..d8756c0ebab99a6757b0e21c9ae91d3f27938b33 100644
--- a/src/interpreter/bytecode-array-builder.h
+++ b/src/interpreter/bytecode-array-builder.h
@@ -135,6 +135,10 @@ class BytecodeArrayBuilder final : public ZoneObject {
// constant pool index |entry|.
BytecodeArrayBuilder& CreateClosure(size_t entry, int flags);
+ // Create a new local context for a |scope_info| and a closure which should be
+ // in the accumulator.
+ BytecodeArrayBuilder& CreateBlockContext(Handle<ScopeInfo> scope_info);
+
// Create a new context with size |slots|.
BytecodeArrayBuilder& CreateFunctionContext(int slots);
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/interpreter/bytecode-array-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698