projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c94f9d
)
Add a comment
author
Chris Lattner
<sabre@nondot.org>
Fri, 14 Sep 2001 16:08:12 +0000
(16:08 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 14 Sep 2001 16:08:12 +0000
(16:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@571
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/TargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/TargetMachine.cpp
b/lib/Target/TargetMachine.cpp
index ec264829b166452d4f77b27ac01b2ece3c499315..aecc88556707249e3918f00a578ee6bedb8dc629 100644
(file)
--- a/
lib/Target/TargetMachine.cpp
+++ b/
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
}