Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index eec86978ce4895df3dd74c6ca55e1fb88fa45c54..c7e6139251fdbcb8b126ea4aede7368edee2b3ee 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -716,6 +716,10 @@ void Deoptimizer::DoComputeOutputFrames() { |
// Print some helpful diagnostic information. |
int64_t start = OS::Ticks(); |
+ if (FLAG_log_timer_events && |
+ compiled_code_->kind() == Code::OPTIMIZED_FUNCTION) { |
+ LOG(isolate(), CodeDeoptEvent(compiled_code_)); |
+ } |
if (trace_) { |
PrintF("[deoptimizing (DEOPT %s): begin 0x%08" V8PRIxPTR " ", |
MessageFor(bailout_type_), |