summaryrefslogtreecommitdiff
path: root/compiler/dex/quick/codegen_util.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-04-02 21:25:21 +0100
committer Vladimir Marko <vmarko@google.com> 2015-04-02 21:36:48 +0100
commitb207e1473dda1730604a28db2b4fa52f2998aeae (patch)
treef11edd5afaab57f733f18cc6cba66cf84d8a6571 /compiler/dex/quick/codegen_util.cc
parent3795e94a8bd42a1de3a98935f45399f1805a9f6e (diff)
Pass linker patches around as const.
Change-Id: I0eabd713d29475db9eb6e186f331dbfb00e0cf6b
Diffstat (limited to 'compiler/dex/quick/codegen_util.cc')
-rw-r--r--compiler/dex/quick/codegen_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc
index 483a5d06cc..f944c11931 100644
--- a/compiler/dex/quick/codegen_util.cc
+++ b/compiler/dex/quick/codegen_util.cc
@@ -1171,7 +1171,7 @@ CompiledMethod* Mir2Lir::GetCompiledMethod() {
ArrayRef<const uint8_t>(vmap_encoder.GetData()),
ArrayRef<const uint8_t>(native_gc_map_),
cfi_ref,
- ArrayRef<LinkerPatch>(patches_));
+ ArrayRef<const LinkerPatch>(patches_));
}
size_t Mir2Lir::GetMaxPossibleCompilerTemps() const {