diff options
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
| -rw-r--r-- | llvm/lib/ExecutionEngine/ExecutionEngine.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp index 9455a3847692..01456d54465d 100644 --- a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp @@ -952,8 +952,7 @@ GenericValue ExecutionEngine::getConstantValue(const Constant *C) { if (CAZ) { GenericValue floatZero; floatZero.FloatVal = 0.f; - std::fill(Result.AggregateVal.begin(), Result.AggregateVal.end(), - floatZero); + llvm::fill(Result.AggregateVal, floatZero); break; } if(CV) { @@ -974,8 +973,7 @@ GenericValue ExecutionEngine::getConstantValue(const Constant *C) { if (CAZ) { GenericValue doubleZero; doubleZero.DoubleVal = 0.0; - std::fill(Result.AggregateVal.begin(), Result.AggregateVal.end(), - doubleZero); + llvm::fill(Result.AggregateVal, doubleZero); break; } if(CV) { @@ -996,8 +994,7 @@ GenericValue ExecutionEngine::getConstantValue(const Constant *C) { if (CAZ) { GenericValue intZero; intZero.IntVal = APInt(ElemTy->getScalarSizeInBits(), 0ull); - std::fill(Result.AggregateVal.begin(), Result.AggregateVal.end(), - intZero); + llvm::fill(Result.AggregateVal, intZero); break; } if(CV) { |
