[llvm-commits] [llvm] r77868 - in /llvm/trunk/lib/Target/XCore: XCoreTargetAsmInfo.cpp XCoreTargetAsmInfo.h XCoreTargetMachine.cpp
Chris Lattner
sabre at nondot.org
Sat Aug 1 21:42:10 PDT 2009
Author: lattner
Date: Sat Aug 1 23:42:09 2009
New Revision: 77868
URL: http://llvm.org/viewvc/llvm-project?rev=77868&view=rev
Log:
xcore TAI doesn't need TM.
Modified:
llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.cpp
llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.h
llvm/trunk/lib/Target/XCore/XCoreTargetMachine.cpp
Modified: llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.cpp?rev=77868&r1=77867&r2=77868&view=diff
==============================================================================
--- llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.cpp Sat Aug 1 23:42:09 2009
@@ -10,7 +10,7 @@
#include "XCoreTargetAsmInfo.h"
using namespace llvm;
-XCoreTargetAsmInfo::XCoreTargetAsmInfo(const TargetMachine &TM) {
+XCoreTargetAsmInfo::XCoreTargetAsmInfo() {
SupportsDebugInformation = true;
Data16bitsDirective = "\t.short\t";
Data32bitsDirective = "\t.long\t";
Modified: llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.h?rev=77868&r1=77867&r2=77868&view=diff
==============================================================================
--- llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.h (original)
+++ llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.h Sat Aug 1 23:42:09 2009
@@ -17,10 +17,9 @@
#include "llvm/Target/TargetAsmInfo.h"
namespace llvm {
- class TargetMachine;
class XCoreTargetAsmInfo : public TargetAsmInfo {
public:
- explicit XCoreTargetAsmInfo(const TargetMachine &TM);
+ explicit XCoreTargetAsmInfo();
};
} // namespace llvm
Modified: llvm/trunk/lib/Target/XCore/XCoreTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/XCore/XCoreTargetMachine.cpp?rev=77868&r1=77867&r2=77868&view=diff
==============================================================================
--- llvm/trunk/lib/Target/XCore/XCoreTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/XCore/XCoreTargetMachine.cpp Sat Aug 1 23:42:09 2009
@@ -18,7 +18,7 @@
using namespace llvm;
const TargetAsmInfo *XCoreTargetMachine::createTargetAsmInfo() const {
- return new XCoreTargetAsmInfo(*this);
+ return new XCoreTargetAsmInfo();
}
/// XCoreTargetMachine ctor - Create an ILP32 architecture model
More information about the llvm-commits
mailing list