Index: src/runtime/runtime-function.cc |
diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc |
index e0be0698fec13998728c920eb0d390b1e2fbec7b..b86d969dd9ed4b8fa54fefc896b40a7b68e2aa81 100644 |
--- a/src/runtime/runtime-function.cc |
+++ b/src/runtime/runtime-function.cc |
@@ -407,6 +407,7 @@ RUNTIME_FUNCTION(Runtime_FunctionBindArguments) { |
// TODO(lrn): Create bound function in C++ code from premade shared info. |
bound_function->shared()->set_bound(true); |
+ bound_function->shared()->set_inferred_name(isolate->heap()->empty_string()); |
// Get all arguments of calling function (Function.prototype.bind). |
int argc = 0; |
SmartArrayPointer<Handle<Object> > arguments = |