diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-07-23 03:09:03 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-07-23 03:09:03 +0000 |
| commit | 6c5a32d545f65623fcbb69937406f80e0715931a (patch) | |
| tree | 67ba8a4aa48e7ca8efb7d845f2c4ddb629a84b6c /include/llvm/CodeGen | |
| parent | 0f68368fd8be8fb3884e1316cd261d5f5a2c80e5 (diff) | |
| download | external_llvm-6c5a32d545f65623fcbb69937406f80e0715931a.zip external_llvm-6c5a32d545f65623fcbb69937406f80e0715931a.tar.gz external_llvm-6c5a32d545f65623fcbb69937406f80e0715931a.tar.bz2 | |
Removal of the redundant CompileContext wrapper
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
| -rw-r--r-- | include/llvm/CodeGen/InstrSelection.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/InstrSelection.h b/include/llvm/CodeGen/InstrSelection.h index e5a93b4..a175f82 100644 --- a/include/llvm/CodeGen/InstrSelection.h +++ b/include/llvm/CodeGen/InstrSelection.h @@ -14,13 +14,13 @@ #include "llvm/Instruction.h" #include <vector> -class CompileContext; class Method; class InstrForest; class MachineInstr; class InstructionNode; class TmpInstruction; class ConstPoolVal; +class TargetMachine; //--------------------------------------------------------------------------- // GLOBAL data and an external function that must be implemented @@ -32,7 +32,7 @@ const unsigned MAX_INSTR_PER_VMINSTR = 8; extern unsigned GetInstructionsByRule (InstructionNode* subtreeRoot, int ruleForNode, short* nts, - CompileContext& ccontext, + TargetMachine &Target, MachineInstr** minstrVec); extern bool ThisIsAChainRule (int eruleno); @@ -51,7 +51,7 @@ extern bool ThisIsAChainRule (int eruleno); //--------------------------------------------------------------------------- bool SelectInstructionsForMethod (Method* method, - CompileContext& ccontext); + TargetMachine &Target); // Debugging function to print the generated instructions |
