Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 8f411a37e3e711e90cf3ff7d2cdaacfadd9a1b03..e0a1a99c18d84a5aeee9f488b7b90aae769e60f1 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -378,6 +378,7 @@ Deoptimizer::Deoptimizer(Isolate* isolate, |
reinterpret_cast<intptr_t>(from), |
fp_to_sp_delta - (2 * kPointerSize)); |
} |
+ function->shared()->increment_deopt_count(); |
// Find the optimized code. |
if (type == EAGER) { |
ASSERT(from == NULL); |