Index: src/cpu-profiler-inl.h |
diff --git a/src/cpu-profiler-inl.h b/src/cpu-profiler-inl.h |
index c4efef1b323525153eceb135ba26912cafe765cb..e088f2ef48253bd20270ed70170ec7a92069814a 100644 |
--- a/src/cpu-profiler-inl.h |
+++ b/src/cpu-profiler-inl.h |
@@ -28,6 +28,14 @@ void CodeMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { |
} |
+void CodeDisableOptEventRecord::UpdateCodeMap(CodeMap* code_map) { |
+ CodeEntry* entry = code_map->FindEntry(start); |
+ if (entry != NULL) { |
+ entry->set_bailout_reason(bailout_reason); |
+ } |
+} |
+ |
+ |
void SharedFunctionInfoMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { |
code_map->MoveCode(from, to); |
} |