From 809ce0c822366e7c09298a8f2bf943f26a984a0b Mon Sep 17 00:00:00 2001 From: "ulan@chromium.org" Date: Tue, 21 Feb 2012 13:08:50 +0000 Subject: [PATCH] Remove redundant statements in NewFunctionFromSharedFunctionInfo. R=rossberg@chromium.org Review URL: https://chromiumcodereview.appspot.com/9428001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10780 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/factory.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/factory.cc b/src/factory.cc index cc437620a5..15ded01e7b 100644 --- a/src/factory.cc +++ b/src/factory.cc @@ -547,11 +547,7 @@ Handle 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()); - if (V8::UseCrankshaft() && FLAG_always_opt && result->is_compiled() &&