From 79e6ed9d4733ef6bfaf6e6ae71a013c8b226b7c9 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Thu, 14 Aug 2008 23:25:30 +0000 Subject: Move MachineInstr::getOpcode inline. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54807 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MachineInstr.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/CodeGen/MachineInstr.cpp') diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index d602e2442f..ccd53fa4c4 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/lib/CodeGen/MachineInstr.cpp @@ -345,12 +345,6 @@ MachineInstr::~MachineInstr() { #endif } -/// getOpcode - Returns the opcode of this MachineInstr. -/// -int MachineInstr::getOpcode() const { - return TID->Opcode; -} - /// getRegInfo - If this instruction is embedded into a MachineFunction, /// return the MachineRegisterInfo object for the current function, otherwise /// return null. -- cgit v1.2.3