Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index d588f467d7ad87d33287c5d81cd0f26d47070ce2..8961debaab4055f5869c9df0d6b73b1b203b41fa 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -619,12 +619,7 @@ |
bool is_toplevel, |
Handle<Script> script) { |
function_info->set_length(lit->parameter_count()); |
- if (FLAG_experimental_classes && IsSubclassConstructor(lit->kind())) { |
- function_info->set_internal_formal_parameter_count(lit->parameter_count() + |
- 1); |
- } else { |
- function_info->set_internal_formal_parameter_count(lit->parameter_count()); |
- } |
+ function_info->set_formal_parameter_count(lit->parameter_count()); |
function_info->set_script(*script); |
function_info->set_function_token_position(lit->function_token_position()); |
function_info->set_start_position(lit->start_position()); |