mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Add a common INLINEASM opcode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25667 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fabcb7abc5
commit
4ed88eb822
@ -125,8 +125,11 @@ public:
|
||||
TargetInstrInfo(const TargetInstrDescriptor *desc, unsigned NumOpcodes);
|
||||
virtual ~TargetInstrInfo();
|
||||
|
||||
// Invariant: All instruction sets use opcode #0 as the PHI instruction
|
||||
enum { PHI = 0 };
|
||||
// Invariant opcodes: All instruction sets have these as their low opcodes.
|
||||
enum {
|
||||
PHI = 0,
|
||||
INLINEASM = 1
|
||||
};
|
||||
|
||||
unsigned getNumOpcodes() const { return NumOpcodes; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user