Fix a bug in the bc reader/writer: we were not correctly encoding varargs
authorChris Lattner <sabre@nondot.org>
Fri, 26 May 2006 18:42:34 +0000 (18:42 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 26 May 2006 18:42:34 +0000 (18:42 +0000)
commita65371ea25cadd0f5669747394cce297fb3e47b7
tree5d1297d3119c5cbff30da27901422a267182ab76
parente812d1133b593d627449952ef6bdab7757904ecf
Fix a bug in the bc reader/writer: we were not correctly encoding varargs
nonccc calls (we were dropping the CC and tail flag).  This broke several
FORTRAN programs.

Testcase here: Regression/Assembler/2006-05-26-VarargsCallEncode.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28501 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bytecode/Reader/Reader.cpp
lib/Bytecode/Writer/Writer.cpp