From 7b9d996e4cd7d154bb1a244d67139aff0c363cf2 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 20 Apr 2012 18:48:18 -0700 Subject: Tidy up some C-isms. Change-Id: I53b457cab9067369320457549071fc3e4c23c81b --- src/compiler/codegen/GenInvoke.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/codegen/GenInvoke.cc') 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); } -- cgit v1.2.3-59-g8ed1b