llvm.org GIT mirror llvm / be7f4af
This seems to work around some unobvious bug in gcc on sparc which was causing the build of lib/Target/X86 to fail. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9042 91177308-0d34-0410-b5e6-96231b3b80d8 Brian Gaeke 17 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
6060
6161 /// getTarget - Return the current instance of the Target class.
6262 ///
63 CodeGenTarget::CodeGenTarget() {
63 CodeGenTarget::CodeGenTarget() : PointerType(MVT::Other) {
6464 std::vector Targets = Records.getAllDerivedDefinitions("Target");
6565 if (Targets.size() != 1)
6666 throw std::string("ERROR: Multiple subclasses of Target defined!");
6060
6161 /// getTarget - Return the current instance of the Target class.
6262 ///
63 CodeGenTarget::CodeGenTarget() {
63 CodeGenTarget::CodeGenTarget() : PointerType(MVT::Other) {
6464 std::vector Targets = Records.getAllDerivedDefinitions("Target");
6565 if (Targets.size() != 1)
6666 throw std::string("ERROR: Multiple subclasses of Target defined!");