mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21409 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
//===- llvm/Bytecode/WriteBytecodePass.h - Bytecode Writer Pass -*- C++ -*-===//
|
||||
//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file was developed by the LLVM research group and is distributed under
|
||||
// the University of Illinois Open Source License. See LICENSE.TXT for details.
|
||||
//
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This file defines a simple pass to write the working module to a file after
|
||||
@ -26,15 +26,15 @@ class WriteBytecodePass : public ModulePass {
|
||||
bool DeleteStream;
|
||||
bool CompressFile;
|
||||
public:
|
||||
WriteBytecodePass()
|
||||
WriteBytecodePass()
|
||||
: Out(&std::cout), DeleteStream(false), CompressFile(true) {}
|
||||
WriteBytecodePass(std::ostream *o, bool DS = false, bool CF = true)
|
||||
WriteBytecodePass(std::ostream *o, bool DS = false, bool CF = true)
|
||||
: Out(o), DeleteStream(DS), CompressFile(CF) {}
|
||||
|
||||
inline ~WriteBytecodePass() {
|
||||
if (DeleteStream) delete Out;
|
||||
}
|
||||
|
||||
|
||||
bool runOnModule(Module &M) {
|
||||
WriteBytecodeToFile(&M, *Out, CompressFile );
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user