mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-22 10:33:23 +00:00
Move MachineInstr::getOpcode inline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54807 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
172f0fa16b
commit
79e6ed9d47
@ -21,6 +21,7 @@
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/CodeGen/MachineOperand.h"
|
||||
#include "llvm/CodeGen/MachineMemOperand.h"
|
||||
#include "llvm/Target/TargetInstrDesc.h"
|
||||
#include <list>
|
||||
#include <vector>
|
||||
|
||||
@ -89,7 +90,7 @@ public:
|
||||
|
||||
/// getOpcode - Returns the opcode of this MachineInstr.
|
||||
///
|
||||
int getOpcode() const;
|
||||
int getOpcode() const { return TID->Opcode; }
|
||||
|
||||
/// Access to explicit operands of the instruction.
|
||||
///
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user