Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 6086645db3c2c08dc3706474d2e224792544a012..cfc19a7b7df5b9cdd9cdcef98fa99abfb51f2cc4 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1268,7 +1268,7 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info, |
!pretenure && |
scope()->is_function_scope() && |
info->num_literals() == 0) { |
- FastNewClosureStub stub(info->language_mode()); |
+ FastNewClosureStub stub(info->language_mode(), info->is_generator()); |
__ mov(r0, Operand(info)); |
__ push(r0); |
__ CallStub(&stub); |