Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index b4ab623829b9657382ab58bcbe347ce4b31d3dff..154f41a6e2cde005d1a02069f9989516c0d13eb2 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -1872,9 +1872,10 @@ Statement* Parser::ParseNativeDeclaration(bool* ok) { |
const int literals = fun->NumberOfLiterals(); |
Handle<Code> code = Handle<Code>(fun->shared()->code()); |
Handle<Code> construct_stub = Handle<Code>(fun->shared()->construct_stub()); |
+ bool is_generator = false; |
Handle<SharedFunctionInfo> shared = |
- isolate()->factory()->NewSharedFunctionInfo(name, literals, code, |
- Handle<ScopeInfo>(fun->shared()->scope_info())); |
+ isolate()->factory()->NewSharedFunctionInfo(name, literals, is_generator, |
+ code, Handle<ScopeInfo>(fun->shared()->scope_info())); |
shared->set_construct_stub(*construct_stub); |
// Copy the function data to the shared function info. |