diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-15 02:26:10 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-15 02:26:10 +0000 |
commit | 9d6565a5b1fbc4286d6ee638d8f47a3171a9ed7e (patch) | |
tree | 6bac879128a02cb08acd536416a5f2d32fb465a7 /lib/ExecutionEngine/ExecutionEngine.cpp | |
parent | b7d61101b1a9e28541470e05af1321fea76f08e5 (diff) | |
download | external_llvm-9d6565a5b1fbc4286d6ee638d8f47a3171a9ed7e.zip external_llvm-9d6565a5b1fbc4286d6ee638d8f47a3171a9ed7e.tar.gz external_llvm-9d6565a5b1fbc4286d6ee638d8f47a3171a9ed7e.tar.bz2 |
For PR1195:
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/ExecutionEngine.cpp')
-rw-r--r-- | lib/ExecutionEngine/ExecutionEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/ExecutionEngine.cpp b/lib/ExecutionEngine/ExecutionEngine.cpp index f0ba434..47266bf 100644 --- a/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/lib/ExecutionEngine/ExecutionEngine.cpp @@ -687,7 +687,7 @@ GenericValue ExecutionEngine::LoadValueFromMemory(GenericValue *Ptr, void ExecutionEngine::InitializeMemory(const Constant *Init, void *Addr) { if (isa<UndefValue>(Init)) { return; - } else if (const ConstantPacked *CP = dyn_cast<ConstantPacked>(Init)) { + } else if (const ConstantVector *CP = dyn_cast<ConstantVector>(Init)) { unsigned ElementSize = getTargetData()->getTypeSize(CP->getType()->getElementType()); for (unsigned i = 0, e = CP->getNumOperands(); i != e; ++i) |