Index: src/codegen.cc |
=================================================================== |
--- src/codegen.cc (revision 1355) |
+++ src/codegen.cc (working copy) |
@@ -130,7 +130,10 @@ |
cgen.masm()->GetCode(&desc); |
ScopeInfo<> sinfo(flit->scope()); |
Code::Flags flags = Code::ComputeFlags(Code::FUNCTION); |
- Handle<Code> code = Factory::NewCode(desc, &sinfo, flags); |
+ Handle<Code> code = Factory::NewCode(desc, |
+ &sinfo, |
+ flags, |
+ cgen.masm()->CodeObject()); |
// Add unresolved entries in the code to the fixup list. |
Bootstrapper::AddFixup(*code, cgen.masm()); |