| Index: src/compiler.cc
|
| ===================================================================
|
| --- src/compiler.cc (revision 2686)
|
| +++ src/compiler.cc (working copy)
|
| @@ -219,11 +219,8 @@
|
| lit->contains_array_literal(),
|
| code);
|
|
|
| - CodeGenerator::SetFunctionInfo(fun, lit->scope()->num_parameters(),
|
| - RelocInfo::kNoPosition,
|
| - lit->start_position(), lit->end_position(),
|
| - lit->is_expression(), true, script,
|
| - lit->inferred_name());
|
| + ASSERT_EQ(RelocInfo::kNoPosition, lit->function_token_position());
|
| + CodeGenerator::SetFunctionInfo(fun, lit, true, script);
|
|
|
| // Hint to the runtime system used when allocating space for initial
|
| // property space by setting the expected number of properties for
|
|
|