diff options
| author | Brian Gaeke <gaeke@uiuc.edu> | 2003-10-10 21:55:29 +0000 | 
|---|---|---|
| committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-10-10 21:55:29 +0000 | 
| commit | 969378468ef803a90f4025da22c21030509b63fb (patch) | |
| tree | 46a1a87af2d6dec058c962eac838f614d536b943 /llvm | |
| parent | c751a493afa0253343a41d69b75c8590942066ae (diff) | |
| download | bcm5719-llvm-969378468ef803a90f4025da22c21030509b63fb.tar.gz bcm5719-llvm-969378468ef803a90f4025da22c21030509b63fb.zip  | |
This seems to work around some unobvious bug in gcc on sparc which was
causing the build of lib/Target/X86 to fail.
llvm-svn: 9042
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/utils/TableGen/CodeGenWrappers.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeGenWrappers.cpp b/llvm/utils/TableGen/CodeGenWrappers.cpp index 61c3abc2971..d1e0e87ab9c 100644 --- a/llvm/utils/TableGen/CodeGenWrappers.cpp +++ b/llvm/utils/TableGen/CodeGenWrappers.cpp @@ -61,7 +61,7 @@ std::ostream &operator<<(std::ostream &OS, MVT::ValueType T) {  /// getTarget - Return the current instance of the Target class.  /// -CodeGenTarget::CodeGenTarget() { +CodeGenTarget::CodeGenTarget() : PointerType(MVT::Other) {    std::vector<Record*> Targets = Records.getAllDerivedDefinitions("Target");    if (Targets.size() != 1)      throw std::string("ERROR: Multiple subclasses of Target defined!");  | 

