[llvm-commits] CVS: llvm/lib/Bytecode/Reader/ReadInst.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Sep 8 14:45:02 PDT 2003


Changes in directory llvm/lib/Bytecode/Reader:

ReadInst.cpp updated: 1.49 -> 1.50

---
Log message:

Fix bug


---
Diffs of the changes:

Index: llvm/lib/Bytecode/Reader/ReadInst.cpp
diff -u llvm/lib/Bytecode/Reader/ReadInst.cpp:1.49 llvm/lib/Bytecode/Reader/ReadInst.cpp:1.50
--- llvm/lib/Bytecode/Reader/ReadInst.cpp:1.49	Mon Sep  8 13:54:49 2003
+++ llvm/lib/Bytecode/Reader/ReadInst.cpp	Mon Sep  8 14:43:46 2003
@@ -423,7 +423,8 @@
   }
   case Instruction::Unwind:
     if (Raw.NumOperands != 0) return true;
-    return new UnwindInst();
+    Res = new UnwindInst();
+    return false;
   }  // end switch(Raw.Opcode) 
 
   std::cerr << "Unrecognized instruction! " << Raw.Opcode 





More information about the llvm-commits mailing list