Fixed EDOperand to use the operand type, not the
flags, to determine whether or not the operand is
a memory operand.

llvm-svn: 102158
diff --git a/llvm/tools/edis/EDOperand.cpp b/llvm/tools/edis/EDOperand.cpp
index 495c057..ca8bac1 100644
--- a/llvm/tools/edis/EDOperand.cpp
+++ b/llvm/tools/edis/EDOperand.cpp
@@ -227,7 +227,9 @@
 }
 
 int EDOperand::isMemory() {
-  switch (Inst.ThisInstInfo->operandFlags[OpIndex]) {
+  uint8_t operandType = Inst.ThisInstInfo->operandTypes[OpIndex];
+    
+  switch (operandType) {
   default:
     return 0;
   case kOperandTypeX86Memory: