Chromium Code Reviews| Index: src/factory.cc |
| diff --git a/src/factory.cc b/src/factory.cc |
| index cc437620a5d15aafe987f17a2668e95cabe933b2..15ded01e7b46204e28945ca7fd60122a57a7fae9 100644 |
| --- a/src/factory.cc |
| +++ b/src/factory.cc |
| @@ -547,11 +547,7 @@ Handle<JSFunction> Factory::NewFunctionFromSharedFunctionInfo( |
| context->global_context()); |
| } |
| result->set_literals(*literals); |
| - } else { |
| - result->set_function_bindings(isolate()->heap()->empty_fixed_array()); |
| } |
| - result->set_next_function_link(isolate()->heap()->undefined_value()); |
|
ulan
2012/02/21 12:51:13
Heap::InitializeFunction sets these fields.
|
| - |
| if (V8::UseCrankshaft() && |
| FLAG_always_opt && |
| result->is_compiled() && |