From 59afbf3999ebcbb5cc2bb4c8592f550b70fb0a3c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 12 Sep 2002 20:34:47 +0000 Subject: [PATCH] Fix a bug introduced by the Getelementptr change git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3695 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/CBackend/CBackend.cpp | 2 +- lib/Target/CBackend/Writer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index bc3829f67cd..c54af08e844 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -925,7 +925,7 @@ void CWriter::printIndexingExpression(Value *Ptr, User::op_iterator I, printType(cast(Ptr->getType())->getElementType()); Out << ")]"; } else { - Out << ".field" << cast(*I)->getValue(); + Out << ".field" << cast(*I)->getValue(); } } diff --git a/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp index bc3829f67cd..c54af08e844 100644 --- a/lib/Target/CBackend/Writer.cpp +++ b/lib/Target/CBackend/Writer.cpp @@ -925,7 +925,7 @@ void CWriter::printIndexingExpression(Value *Ptr, User::op_iterator I, printType(cast(Ptr->getType())->getElementType()); Out << ")]"; } else { - Out << ".field" << cast(*I)->getValue(); + Out << ".field" << cast(*I)->getValue(); } } -- 2.34.1