summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.cc
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-09-07 13:35:22 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-09-07 13:35:22 +0000
commit20f6b3c6ca7fee0b2aa6a7d4b74eaad8c4de3354 (patch)
tree749fad00d07fb4b58855e0a860a843ef8d3c227c /compiler/common_compiler_test.cc
parent38f0c5c42fb5be333af7492a5d007024f345fd19 (diff)
parent38d29fda9849b2e0e46a26a91b711e29177692cb (diff)
Merge "ART: Simplify cache flush calls"
Diffstat (limited to 'compiler/common_compiler_test.cc')
-rw-r--r--compiler/common_compiler_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc
index d603d9673c..586891a3ff 100644
--- a/compiler/common_compiler_test.cc
+++ b/compiler/common_compiler_test.cc
@@ -108,7 +108,7 @@ void CommonCompilerTest::MakeExecutable(const void* code_start, size_t code_leng
int result = mprotect(reinterpret_cast<void*>(base), len, PROT_READ | PROT_WRITE | PROT_EXEC);
CHECK_EQ(result, 0);
- FlushInstructionCache(reinterpret_cast<char*>(base), reinterpret_cast<char*>(base + len));
+ FlushInstructionCache(reinterpret_cast<void*>(base), reinterpret_cast<void*>(base + len));
}
void CommonCompilerTest::MakeExecutable(ObjPtr<mirror::ClassLoader> class_loader,