diff options
author | 2018-09-27 16:40:03 +0000 | |
---|---|---|
committer | 2018-09-27 16:40:03 +0000 | |
commit | 233b572a940431a94a1790750afdceab2d6f4fde (patch) | |
tree | 85360608b41023a895d1fe1a933edec6311054bf /compiler/dex/quick_compiler_callbacks.h | |
parent | 62741139ea636682568237417c3bda84dfd1606b (diff) | |
parent | f3d077373536c54824e4449759dff2f18369eab3 (diff) |
Merge "Revert "Load boot image at a random address.""
Diffstat (limited to 'compiler/dex/quick_compiler_callbacks.h')
-rw-r--r-- | compiler/dex/quick_compiler_callbacks.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/dex/quick_compiler_callbacks.h b/compiler/dex/quick_compiler_callbacks.h index e92b67a0e8..b7117bd223 100644 --- a/compiler/dex/quick_compiler_callbacks.h +++ b/compiler/dex/quick_compiler_callbacks.h @@ -38,6 +38,11 @@ class QuickCompilerCallbacks final : public CompilerCallbacks { void ClassRejected(ClassReference ref) override; + // We are running in an environment where we can call patchoat safely so we should. + bool IsRelocationPossible() override { + return true; + } + verifier::VerifierDeps* GetVerifierDeps() const override { return verifier_deps_.get(); } |