mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
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
This commit is contained in:
parent
ce0ea77e60
commit
be7f4afe47
@ -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!");
|
||||
|
@ -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!");
|
||||
|
Loading…
Reference in New Issue
Block a user