Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 34fd6da060ae05cd576a1c0ee63073d7060ad4b0..afd0fef4d49b657453037a25f0d54ae151cc2b59 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -628,7 +628,11 @@ HGraph::HGraph(CompilationInfo* info) |
Handle<Code> HGraph::Compile(CompilationInfo* info) { |
int values = GetMaximumValueID(); |
if (values > LAllocator::max_initial_value_ids()) { |
- if (FLAG_trace_bailout) PrintF("Function is too big\n"); |
+ if (FLAG_trace_bailout) { |
+ SmartArrayPointer<char> name( |
+ info->shared_info()->DebugName()->ToCString()); |
+ PrintF("Function @\"%s\" is too big.\n", *name); |
+ } |
return Handle<Code>::null(); |
} |