Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 8e93a5329479360b3133b1d68a1fcd938c4a7ec6..6f5b25fc7b05f4c964e6cb614dee76f48c96087d 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -2698,13 +2698,13 @@ FunctionLiteral* Parser::ParseFunctionLiteral( |
: (use_temp_zone ? "Preparse resolution" : "Full parse"), |
scope->start_position(), scope->end_position(), |
function_name->byte_length(), function_name->raw_data()); |
- if (is_lazy_top_level_function) { |
- CHANGE_CURRENT_RUNTIME_COUNTER(runtime_call_stats_, |
- PreParseNoVariableResolution); |
- } else if (use_temp_zone) { |
- CHANGE_CURRENT_RUNTIME_COUNTER(runtime_call_stats_, |
- PreParseWithVariableResolution); |
- } |
+ } |
+ if (is_lazy_top_level_function) { |
+ CHANGE_CURRENT_RUNTIME_COUNTER(runtime_call_stats_, |
+ PreParseNoVariableResolution); |
+ } else if (use_temp_zone) { |
+ CHANGE_CURRENT_RUNTIME_COUNTER(runtime_call_stats_, |
+ PreParseWithVariableResolution); |
} |
// Validate function name. We can do this only after parsing the function, |