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

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

Issue 2187523002: [interpreter] Add CreateFunctionContext bytecode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fncontextstubslotparam
Patch Set: fix bytecode-generator 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
Index: src/interpreter/bytecode-array-builder.h
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h
index 39e9cbf644163bd565d0e2d9d7d302aca41863fd..b0916f0d6367a094074719fef60d3fedd24e9925 100644
--- a/src/interpreter/bytecode-array-builder.h
+++ b/src/interpreter/bytecode-array-builder.h
@@ -135,6 +135,9 @@ class BytecodeArrayBuilder final : public ZoneObject {
BytecodeArrayBuilder& CreateClosure(Handle<SharedFunctionInfo> shared_info,
int flags);
+ // Create a new context with size |slots| in the accumulator.
rmcilroy 2016/08/03 10:58:14 nit - drop the "in the accumulator" (slight confus
klaasb 2016/08/03 12:28:16 Done.
+ BytecodeArrayBuilder& CreateFunctionContext(int slots);
+
// Create a new arguments object in the accumulator.
BytecodeArrayBuilder& CreateArguments(CreateArgumentsType type);

Powered by Google App Engine
This is Rietveld 408576698