[llvm-commits] [llvm] r77872 - in /llvm/trunk/lib/Target/Alpha: AlphaTargetAsmInfo.cpp AlphaTargetAsmInfo.h AlphaTargetMachine.cpp

Chris Lattner sabre at nondot.org
Sat Aug 1 21:46:05 PDT 2009


Author: lattner
Date: Sat Aug  1 23:46:05 2009
New Revision: 77872

URL: http://llvm.org/viewvc/llvm-project?rev=77872&view=rev
Log:
alpha TAI doesn't need TM.

Modified:
    llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
    llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h
    llvm/trunk/lib/Target/Alpha/AlphaTargetMachine.cpp

Modified: llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.cpp?rev=77872&r1=77871&r2=77872&view=diff

==============================================================================
--- llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.cpp Sat Aug  1 23:46:05 2009
@@ -11,12 +11,10 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "AlphaTargetMachine.h"
 #include "AlphaTargetAsmInfo.h"
-
 using namespace llvm;
 
-AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM) {
+AlphaTargetAsmInfo::AlphaTargetAsmInfo() {
   AlignmentIsInBytes = false;
   PrivateGlobalPrefix = "$";
   JumpTableDirective = ".gprel32";

Modified: llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h?rev=77872&r1=77871&r2=77872&view=diff

==============================================================================
--- llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h (original)
+++ llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h Sat Aug  1 23:46:05 2009
@@ -18,11 +18,8 @@
 
 namespace llvm {
 
-  // Forward declaration.
-  class AlphaTargetMachine;
-
   struct AlphaTargetAsmInfo : public TargetAsmInfo {
-    explicit AlphaTargetAsmInfo(const AlphaTargetMachine &TM);
+    explicit AlphaTargetAsmInfo();
   };
 
 } // namespace llvm

Modified: llvm/trunk/lib/Target/Alpha/AlphaTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/AlphaTargetMachine.cpp?rev=77872&r1=77871&r2=77872&view=diff

==============================================================================
--- llvm/trunk/lib/Target/Alpha/AlphaTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/Alpha/AlphaTargetMachine.cpp Sat Aug  1 23:46:05 2009
@@ -27,7 +27,7 @@
 }
 
 const TargetAsmInfo *AlphaTargetMachine::createTargetAsmInfo() const {
-  return new AlphaTargetAsmInfo(*this);
+  return new AlphaTargetAsmInfo();
 }
 
 AlphaTargetMachine::AlphaTargetMachine(const Target &T, const Module &M, 





More information about the llvm-commits mailing list