Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 6dd01014409c7f141758267270c967c6a0da91ff..853fba7d366bb82e826eced311a99c2aeb6ed116 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -996,7 +996,6 @@ FunctionLiteral* Parser::DoParseProgram(CompilationInfo* info, |
FunctionLiteral::kNotGenerator, |
0); |
result->set_ast_properties(factory()->visitor()->ast_properties()); |
- result->set_slot_processor(factory()->visitor()->slot_processor()); |
result->set_dont_optimize_reason( |
factory()->visitor()->dont_optimize_reason()); |
} else if (stack_overflow()) { |
@@ -3258,7 +3257,6 @@ FunctionLiteral* Parser::ParseFunctionLiteral( |
FunctionLiteral::IsParenthesizedFlag parenthesized = parenthesized_function_ |
? FunctionLiteral::kIsParenthesized |
: FunctionLiteral::kNotParenthesized; |
- DeferredFeedbackSlotProcessor* slot_processor; |
AstProperties ast_properties; |
BailoutReason dont_optimize_reason = kNoReason; |
// Parse function body. |
@@ -3429,7 +3427,6 @@ FunctionLiteral* Parser::ParseFunctionLiteral( |
CHECK_OK); |
} |
ast_properties = *factory()->visitor()->ast_properties(); |
- slot_processor = factory()->visitor()->slot_processor(); |
dont_optimize_reason = factory()->visitor()->dont_optimize_reason(); |
} |
@@ -3456,7 +3453,6 @@ FunctionLiteral* Parser::ParseFunctionLiteral( |
pos); |
function_literal->set_function_token_position(function_token_pos); |
function_literal->set_ast_properties(&ast_properties); |
- function_literal->set_slot_processor(slot_processor); |
function_literal->set_dont_optimize_reason(dont_optimize_reason); |
if (fni_ != NULL && should_infer_name) fni_->AddFunction(function_literal); |