[llvm] r256168 - [WebAssembly] Clean up comments and fix a missing #include dependency.
Dan Gohman via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 21 09:19:46 PST 2015
Author: djg
Date: Mon Dec 21 11:19:31 2015
New Revision: 256168
URL: http://llvm.org/viewvc/llvm-project?rev=256168&view=rev
Log:
[WebAssembly] Clean up comments and fix a missing #include dependency.
Modified:
llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.h
Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.h?rev=256168&r1=256167&r2=256168&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.h (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyMCInstLower.h Mon Dec 21 11:19:31 2015
@@ -16,36 +16,30 @@
#ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYMCINSTLOWER_H
#define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYMCINSTLOWER_H
+#include "llvm/MC/MCInst.h"
#include "llvm/Support/Compiler.h"
namespace llvm {
class AsmPrinter;
class MCContext;
-class MCInst;
-class MCOperand;
class MCSymbol;
class MachineInstr;
-class MachineModuleInfoMachO;
class MachineOperand;
-class Mangler;
-// WebAssemblyMCInstLower - This class is used to lower an MachineInstr into an
-// MCInst.
+/// This class is used to lower an MachineInstr into an MCInst.
class LLVM_LIBRARY_VISIBILITY WebAssemblyMCInstLower {
MCContext &Ctx;
-
AsmPrinter &Printer;
+ MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
+ MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
+ MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
+
public:
WebAssemblyMCInstLower(MCContext &ctx, AsmPrinter &printer)
: Ctx(ctx), Printer(printer) {}
void Lower(const MachineInstr *MI, MCInst &OutMI) const;
-
- MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
-
- MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
- MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
};
-}
+} // end namespace llvm
#endif
More information about the llvm-commits
mailing list