[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Oct 21 08:26:01 PDT 2002
Changes in directory llvm/include/llvm/CodeGen:
MachineInstr.h updated: 1.65 -> 1.66
---
Log message:
Remove a 'using' directives from a header file. Using directives cause
global changes, so aren't good for headers.
---
Diffs of the changes:
Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.65 llvm/include/llvm/CodeGen/MachineInstr.h:1.66
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.65 Thu Sep 19 19:47:49 2002
+++ llvm/include/llvm/CodeGen/MachineInstr.h Mon Oct 21 08:24:50 2002
@@ -14,7 +14,6 @@
#include <Support/iterator>
#include <Support/hash_set>
class Instruction;
-using std::vector;
//---------------------------------------------------------------------------
// class MachineOperand
@@ -281,10 +280,10 @@
public NonCopyable { // Disable copy operations
MachineOpCode opCode; // the opcode
OpCodeMask opCodeMask; // extra bits for variants of an opcode
- vector<MachineOperand> operands; // the operands
- vector<Value*> implicitRefs; // values implicitly referenced by this
- vector<bool> implicitIsDef; // machine instruction (eg, call args)
- vector<bool> implicitIsDefAndUse; //
+ std::vector<MachineOperand> operands; // the operands
+ std::vector<Value*> implicitRefs; // values implicitly referenced by this
+ std::vector<bool> implicitIsDef; // machine instruction (eg, call args)
+ std::vector<bool> implicitIsDefAndUse;
hash_set<int> regsUsed; // all machine registers used for this
// instruction, including regs used
// to save values across the instr.
More information about the llvm-commits
mailing list