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

Unified Diff: src/interpreter/bytecodes.h

Issue 1396693003: [Interpreter] Add function literal support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_newcontext
Patch Set: Make CreateClosure a bytecode Created 5 years, 2 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/bytecodes.h
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h
index eb0a7b03f9855575150822b82a51763fb8b100a9..c17517a9f76fd12d1b8e16df31ce00077644ee37 100644
--- a/src/interpreter/bytecodes.h
+++ b/src/interpreter/bytecodes.h
@@ -103,6 +103,9 @@ namespace interpreter {
/* Cast operators */ \
V(ToBoolean, OperandType::kNone) \
\
+ /* Closure allocation */ \
+ V(CreateClosure, OperandType::kImm8) \
+ \
/* Control Flow */ \
V(Jump, OperandType::kImm8) \
V(JumpConstant, OperandType::kIdx8) \

Powered by Google App Engine
This is Rietveld 408576698