summaryrefslogtreecommitdiff
path: root/runtime/runtime.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2015-11-05 23:29:42 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-11-05 23:29:42 +0000
commit51c1b63fc71bea1b22b9719bc24ffd130aa2e420 (patch)
treed76e1e95f4e63af1b930cc8e139a870eb147f55e /runtime/runtime.h
parent1a143287f23d8ed7f69ccc336733f605f44cf5da (diff)
parent07ddb6f713f8c919e6da7c4b473cfb3bacb7cf10 (diff)
Merge "Fix elf writer to properly handle empty text sections"
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 7b1fdb21c4..a8ba19bd95 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -151,6 +151,11 @@ class Runtime {
return compiler_callbacks_;
}
+ void SetCompilerCallbacks(CompilerCallbacks* callbacks) {
+ CHECK(callbacks != nullptr);
+ compiler_callbacks_ = callbacks;
+ }
+
bool IsZygote() const {
return is_zygote_;
}