diff options
Diffstat (limited to 'runtime/runtime.h')
| -rw-r--r-- | runtime/runtime.h | 5 |
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_; } |