summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-14 16:08:12 +0000
committerChris Lattner <sabre@nondot.org>2001-09-14 16:08:12 +0000
commit1680fb1617681ab0a6d43ab0c94dfd8bde739f08 (patch)
tree230653ce78cfaeb3e86bc8f5b5d64cedd8cc9e3b /llvm/lib/Target/TargetMachine.cpp
parent5452d611d172c1aadb75db2c4d276e55c06fc46e (diff)
downloadbcm5719-llvm-1680fb1617681ab0a6d43ab0c94dfd8bde739f08.tar.gz
bcm5719-llvm-1680fb1617681ab0a6d43ab0c94dfd8bde739f08.zip
Add a comment
llvm-svn: 571
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/TargetMachine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp
index ec264829b16..aecc8855670 100644
--- a/llvm/lib/Target/TargetMachine.cpp
+++ b/llvm/lib/Target/TargetMachine.cpp
@@ -50,6 +50,7 @@ MachineInstrInfo::MachineInstrInfo(const MachineInstrDescriptor* _desc,
unsigned int _numRealOpCodes)
: desc(_desc), descSize(_descSize), numRealOpCodes(_numRealOpCodes)
{
+ // FIXME: TargetInstrDescriptors should not be global
assert(TargetInstrDescriptors == NULL && desc != NULL);
TargetInstrDescriptors = desc; // initialize global variable
}
OpenPOWER on IntegriCloud