Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index 5d8857440975f6684cf69d732985963449e2aaa1..f2ee95aa3790daf37ab0d8b600a85ee5e5f81a45 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -473,6 +473,12 @@ void BytecodeGenerator::MakeBytecodeBody() { |
// Build the arguments object if it is used. |
VisitArgumentsObject(scope()->arguments()); |
+ // TODO(mythria): Build rest arguments array if it is used. |
+ int rest_index; |
+ if (scope()->rest_parameter(&rest_index)) { |
+ UNIMPLEMENTED(); |
+ } |
+ |
// Build assignment to {.this_function} variable if it is used. |
VisitThisFunctionVariable(scope()->this_function_var()); |