move target-independent opcodes out of TargetInstrInfo
[oota-llvm.git] / lib / CodeGen / PrologEpilogInserter.cpp
index 709d46a310b1abc6760542e2c5d0b270d61e1519..036f59a2a5812fc1a1e72b0fec2e09c4d944d02c 100644 (file)
@@ -161,7 +161,7 @@ void PEI::calculateCallsInformation(MachineFunction &Fn) {
         if (Size > MaxCallFrameSize) MaxCallFrameSize = Size;
         HasCalls = true;
         FrameSDOps.push_back(I);
-      } else if (I->getOpcode() == TargetInstrInfo::INLINEASM) {
+      } else if (I->isInlineAsm()) {
         // An InlineAsm might be a call; assume it is to get the stack frame
         // aligned correctly for calls.
         HasCalls = true;