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/stub_compiler.cc | |
| parent | f1f863695b28f630abb772f50170fefaddc2fb91 (diff) | |
Code cleanup: Use "const T*" instead of "T const*"
Change-Id: I97d205df7d659e5670009df21b8c20b1d8224133
Diffstat (limited to 'src/compiler_llvm/stub_compiler.cc')
| -rw-r--r-- | src/compiler_llvm/stub_compiler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler_llvm/stub_compiler.cc b/src/compiler_llvm/stub_compiler.cc index 75395324a7..d14dd6274b 100644 --- a/src/compiler_llvm/stub_compiler.cc +++ b/src/compiler_llvm/stub_compiler.cc @@ -47,7 +47,7 @@ StubCompiler::StubCompiler(CompilationUnit* cunit, Compiler& compiler) CompiledInvokeStub* StubCompiler::CreateInvokeStub(bool is_static, - char const* shorty) { + const char* shorty) { CHECK(shorty != NULL); size_t shorty_size = strlen(shorty); @@ -174,7 +174,7 @@ CompiledInvokeStub* StubCompiler::CreateInvokeStub(bool is_static, } -CompiledInvokeStub* StubCompiler::CreateProxyStub(char const* shorty) { +CompiledInvokeStub* StubCompiler::CreateProxyStub(const char* shorty) { CHECK(shorty != NULL); size_t shorty_size = strlen(shorty); |