diff options
author | Chris Lattner <sabre@nondot.org> | 2001-07-15 00:18:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-07-15 00:18:39 +0000 |
commit | a59c266d843ffef164a5038ed7d14ffd90b9d445 (patch) | |
tree | c7023b406bdef059e1712efc7f0b6ba0d65d9f93 /lib/VMCore/iMemory.cpp | |
parent | ff5eccef96fa0344b0b6035da543640c2e885b75 (diff) |
Add support for assembly printing fp constants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/iMemory.cpp')
-rw-r--r-- | lib/VMCore/iMemory.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/VMCore/iMemory.cpp b/lib/VMCore/iMemory.cpp index a003e89a10..2f2c6c115f 100644 --- a/lib/VMCore/iMemory.cpp +++ b/lib/VMCore/iMemory.cpp @@ -86,7 +86,9 @@ StoreInst::StoreInst(Value *Val, Value *Ptr, const vector<ConstPoolVal*> &Idx, GetElementPtrInst::GetElementPtrInst(Value *Ptr, const vector<ConstPoolVal*> &Idx, const string &Name = "") - : MemAccessInst(PointerType::getPointerType(getIndexedType(Ptr->getType(), Idx, true)), GetElementPtr, Name) { + : MemAccessInst(PointerType::getPointerType(getIndexedType(Ptr->getType(), + Idx, true)), + GetElementPtr, Name) { assert(getIndexedType(Ptr->getType(), Idx, true) && "gep operands invalid!"); Operands.reserve(1+Idx.size()); Operands.push_back(Use(Ptr, this)); |