Rearrange fields yet again: Don't instantiate these lists ONCE PER INSTRUCTION.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7535 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-03 21:52:28 +00:00
parent e109de3166
commit 34a2068cb2

View File

@ -95,12 +95,6 @@ class Instruction {
bit isCall = 0; // Is this instruction a call instruction?
bit isTwoAddress = 0; // Is this a two address instruction?
bit isTerminator = 0; // Is this part of the terminator for a basic block?
// If the target wants to associate some target-specific information with each
// instruction, it should provide these two lists to indicate how to assemble
// the target specific information into the 32 bits available.
list<string> TargetInfoFields = [];
list<int> TargetInfoPositions = [];
}
// InstrInfo - This class should only be instantiated once to provide parameters
@ -109,6 +103,13 @@ class Instruction {
class InstrInfo {
Instruction PHIInst;
Instruction NOOPInst;
// If the target wants to associate some target-specific information with each
// instruction, it should provide these two lists to indicate how to assemble
// the target specific information into the 32 bits available.
//
list<string> TSFlagsFields = [];
list<int> TSFlagsShifts = [];
}