diff options
Diffstat (limited to 'llvm/unittests/ExecutionEngine/MCJIT')
| -rw-r--r-- | llvm/unittests/ExecutionEngine/MCJIT/MCJITTestAPICommon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestAPICommon.h b/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestAPICommon.h index f709f0c04d5..a3d3d1fffdb 100644 --- a/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestAPICommon.h +++ b/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestAPICommon.h @@ -67,7 +67,7 @@ protected: // If ARCH has sub-arch support, find it SmallVectorImpl<std::string>::const_iterator I = SupportedSubArchs.begin(); for(; I != SupportedSubArchs.end(); ++I) - if (Host.getArchName().startswith(I->c_str())) + if (Host.getArchName().startswith(*I)) return true; return false; |

