diff options
| author | 2012-07-10 04:07:28 -0700 | |
|---|---|---|
| committer | 2012-07-11 10:26:43 -0700 | |
| commit | 1258417d54c85a2cbb98267b397c238070f28338 (patch) | |
| tree | af89aa0abba0df86b5f942b25ae50e6613ef4265 /src/compiler_llvm/jni_compiler.cc | |
| parent | f1f863695b28f630abb772f50170fefaddc2fb91 (diff) | |
Code cleanup: Use "const T*" instead of "T const*"
Change-Id: I97d205df7d659e5670009df21b8c20b1d8224133
Diffstat (limited to 'src/compiler_llvm/jni_compiler.cc')
| -rw-r--r-- | src/compiler_llvm/jni_compiler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler_llvm/jni_compiler.cc b/src/compiler_llvm/jni_compiler.cc index f4f5be56c3..b96e0be5c4 100644 --- a/src/compiler_llvm/jni_compiler.cc +++ b/src/compiler_llvm/jni_compiler.cc @@ -294,7 +294,7 @@ llvm::FunctionType* JniCompiler::GetFunctionType(uint32_t method_idx, DexFile::MethodId const& method_id = dex_file_->GetMethodId(method_idx); uint32_t shorty_size; - char const* shorty = dex_file_->GetMethodShorty(method_id, &shorty_size); + const char* shorty = dex_file_->GetMethodShorty(method_id, &shorty_size); CHECK_GE(shorty_size, 1u); // Get return type |