From 721b4e5715d97dedce0a4f0206c7d8c0b5af9ca3 Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Sun, 14 Dec 2003 13:30:19 +0000 Subject: [PATCH] I wonder how this didn't cause any tests to fail... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10462 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineInstr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 2d047195614..670f9721ae8 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -166,8 +166,8 @@ private: bool isPCRelative = false) : value(V), opType(OpTy), regNum(-1) { switch (UseTy) { - case MOTy::Use: flags = DEFFLAG; break; - case MOTy::Def: flags = USEFLAG; break; + case MOTy::Use: flags = USEFLAG; break; + case MOTy::Def: flags = DEFFLAG; break; case MOTy::UseAndDef: flags = DEFFLAG | USEFLAG; break; default: assert(0 && "Invalid value for UseTy!"); } -- 2.34.1