| commit | b207e1473dda1730604a28db2b4fa52f2998aeae | [log] [tgz] |
|---|---|---|
| author | Vladimir Marko <vmarko@google.com> | Thu Apr 02 21:25:21 2015 +0100 |
| committer | Vladimir Marko <vmarko@google.com> | Thu Apr 02 21:36:48 2015 +0100 |
| tree | f11edd5afaab57f733f18cc6cba66cf84d8a6571 | |
| parent | 3795e94a8bd42a1de3a98935f45399f1805a9f6e [diff] |
Pass linker patches around as const. Change-Id: I0eabd713d29475db9eb6e186f331dbfb00e0cf6b
diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc index 483a5d0..f944c11 100644 --- a/compiler/dex/quick/codegen_util.cc +++ b/compiler/dex/quick/codegen_util.cc
@@ -1171,7 +1171,7 @@ 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 {