Index: src/compiler/js-inlining.cc |
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc |
index 51e7f06b4ed9bb6f7b913f2bd1c181a4b62e0fff..35693308fd3d320ca6c854855632c4f062b7c988 100644 |
--- a/src/compiler/js-inlining.cc |
+++ b/src/compiler/js-inlining.cc |
@@ -302,6 +302,9 @@ Reduction JSInliner::Reduce(Node* node) { |
info.zone()); |
} |
+ // Remember that we inlined this function. |
+ info_->AddInlinedFunction(info.shared_info()); |
+ |
return InlineCall(node, frame_state, start, end); |
} |