Chromium Code Reviews

Unified Diff: src/heap.cc

Issue 62146: Add name inference for anonymous functions to facilitate debugging and profiling of JS code. (Closed)
Patch Set: updated v8_base_arm project Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/func-name-inferrer.cc ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index 26be5a4684fbdba00d6f012af75bacd07baeb029..8427f963df3baeba3ed3c8982e93d9486d4fd233 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -1384,6 +1384,7 @@ Object* Heap::AllocateSharedFunctionInfo(Object* name) {
share->set_script(undefined_value());
share->set_start_position_and_type(0);
share->set_debug_info(undefined_value());
+ share->set_inferred_name(empty_string());
return result;
}
« no previous file with comments | « src/func-name-inferrer.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine