diff options
Diffstat (limited to 'contrib/llvm/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp')
| -rw-r--r-- | contrib/llvm/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/llvm/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp b/contrib/llvm/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp index e459c02c9a6e..49cc376fcc98 100644 --- a/contrib/llvm/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp +++ b/contrib/llvm/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp @@ -19,7 +19,6 @@  #include "llvm/CodeGen/GCMetadataPrinter.h"  #include "llvm/CodeGen/GCStrategy.h"  #include "llvm/CodeGen/GCs.h" -#include "llvm/CodeGen/TargetLoweringObjectFile.h"  #include "llvm/IR/DataLayout.h"  #include "llvm/IR/Function.h"  #include "llvm/IR/Module.h" @@ -27,6 +26,7 @@  #include "llvm/MC/MCSectionELF.h"  #include "llvm/MC/MCStreamer.h"  #include "llvm/MC/MCSymbol.h" +#include "llvm/Target/TargetLoweringObjectFile.h"  using namespace llvm; @@ -77,7 +77,7 @@ void ErlangGCPrinter::finishAssembly(Module &M, GCModuleInfo &Info,      // Emit PointCount.      OS.AddComment("safe point count"); -    AP.EmitInt16(MD.size()); +    AP.emitInt16(MD.size());      // And each safe point...      for (GCFunctionInfo::iterator PI = MD.begin(), PE = MD.end(); PI != PE; @@ -94,7 +94,7 @@ void ErlangGCPrinter::finishAssembly(Module &M, GCModuleInfo &Info,      // Emit the stack frame size.      OS.AddComment("stack frame size (in words)"); -    AP.EmitInt16(MD.getFrameSize() / IntPtrSize); +    AP.emitInt16(MD.getFrameSize() / IntPtrSize);      // Emit stack arity, i.e. the number of stacked arguments.      unsigned RegisteredArgs = IntPtrSize == 4 ? 5 : 6; @@ -102,11 +102,11 @@ void ErlangGCPrinter::finishAssembly(Module &M, GCModuleInfo &Info,                                ? MD.getFunction().arg_size() - RegisteredArgs                                : 0;      OS.AddComment("stack arity"); -    AP.EmitInt16(StackArity); +    AP.emitInt16(StackArity);      // Emit the number of live roots in the function.      OS.AddComment("live root count"); -    AP.EmitInt16(MD.live_size(PI)); +    AP.emitInt16(MD.live_size(PI));      // And for each live root...      for (GCFunctionInfo::live_iterator LI = MD.live_begin(PI), @@ -114,7 +114,7 @@ void ErlangGCPrinter::finishAssembly(Module &M, GCModuleInfo &Info,           LI != LE; ++LI) {        // Emit live root's offset within the stack frame.        OS.AddComment("stack index (offset / wordsize)"); -      AP.EmitInt16(LI->StackOffset / IntPtrSize); +      AP.emitInt16(LI->StackOffset / IntPtrSize);      }    }  }  | 
