summaryrefslogtreecommitdiff
path: root/runtime/quick_exception_handler.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2025-02-12 14:30:16 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2025-02-18 07:29:58 -0800
commit17c7ed2de734cf892b005b1d15b3db9855506f14 (patch)
treeec7cd925e8648e601166e835a061d7b290940e00 /runtime/quick_exception_handler.cc
parentcb3c3b2819f326d54a6bd960a9a82c5290aa69b0 (diff)
Refactor `Instrumentation` out of `Runtime`.
Avoid indirectly `#include`-ing `instrumentation.h` in every compilation unit that needs the `runtime.h`. This reduces incremental compilation times when touching certain files. The additional load when accessing `Instrumentation` via the `Runtime` has negligible performance impact. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: Ibaf96696693b105e843c7c2cbf4e7604b126808e
Diffstat (limited to 'runtime/quick_exception_handler.cc')
-rw-r--r--runtime/quick_exception_handler.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/quick_exception_handler.cc b/runtime/quick_exception_handler.cc
index 365a63459d..8180d0a5b3 100644
--- a/runtime/quick_exception_handler.cc
+++ b/runtime/quick_exception_handler.cc
@@ -34,6 +34,7 @@
#include "entrypoints/quick/quick_entrypoints_enum.h"
#include "entrypoints/runtime_asm_entrypoints.h"
#include "handle_scope-inl.h"
+#include "instrumentation.h"
#include "interpreter/shadow_frame-inl.h"
#include "jit/jit.h"
#include "jit/jit_code_cache.h"