optimizing_compiler: Avoid extra std::string copy am: e7e195db8e
am: 2457c9c6de

Change-Id: If38f00a26f407715b9c9a36247ec0e5f9a775a1e