diff options
author | 2012-04-20 18:48:18 -0700 | |
---|---|---|
committer | 2012-04-20 18:57:19 -0700 | |
commit | 7b9d996e4cd7d154bb1a244d67139aff0c363cf2 (patch) | |
tree | a9dabe8f910b4b8bf29c2f4285d860995e25f58d /src/compiler/codegen/GenInvoke.cc | |
parent | 934100aea5a0f498c17e2c4a1fd0193af1557b42 (diff) |
Tidy up some C-isms.
Change-Id: I53b457cab9067369320457549071fc3e4c23c81b
Diffstat (limited to 'src/compiler/codegen/GenInvoke.cc')
-rw-r--r-- | src/compiler/codegen/GenInvoke.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/codegen/GenInvoke.cc b/src/compiler/codegen/GenInvoke.cc index a904419138..b986e785b3 100644 --- a/src/compiler/codegen/GenInvoke.cc +++ b/src/compiler/codegen/GenInvoke.cc @@ -884,7 +884,7 @@ bool genIntrinsic(CompilationUnit* cUnit, BasicBlock* bb, MIR* mir, * method. By doing this during basic block construction, we can also * take advantage of/generate new useful dataflow info. */ - std::string tgtMethod = PrettyMethod(mir->dalvikInsn.vB, *cUnit->dex_file); + std::string tgtMethod(PrettyMethod(mir->dalvikInsn.vB, *cUnit->dex_file)); if (tgtMethod.compare("char java.lang.String.charAt(int)") == 0) { return genInlinedCharAt(cUnit, bb, mir, type, isRange); } |