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 | d84d35ba70296aca01d3c48ab9088b0515619fd9 (patch) | |
tree | 1badc3977131947db9d60139549cbdb3898ffb09 /llvm/lib/ExecutionEngine/ExecutionEngine.cpp | |
parent | dad84a7c0203636b30f98d6d2315bf5af0ec6046 (diff) | |
download | bcm5719-llvm-d84d35ba70296aca01d3c48ab9088b0515619fd9.tar.gz bcm5719-llvm-d84d35ba70296aca01d3c48ab9088b0515619fd9.zip |
For PR1195:
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
llvm-svn: 34293
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/ExecutionEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp index f0ba43477df..47266bf5920 100644 --- a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/llvm/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) |