From c37a506d44cf3998fded129c31e41b92493c67fd Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 4 Sep 2004 19:07:32 +0000 Subject: Make the StackerCompiler and optimizing translator by running specific optimizations after construction of the Module. The OptLevel argument to the compile function controls the level of optimization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16166 91177308-0d34-0410-b5e6-96231b3b80d8 --- projects/Stacker/lib/compiler/StackerCompiler.h | 1 + 1 file changed, 1 insertion(+) (limited to 'projects/Stacker/lib/compiler/StackerCompiler.h') diff --git a/projects/Stacker/lib/compiler/StackerCompiler.h b/projects/Stacker/lib/compiler/StackerCompiler.h index 4186416d65..bf9642604d 100644 --- a/projects/Stacker/lib/compiler/StackerCompiler.h +++ b/projects/Stacker/lib/compiler/StackerCompiler.h @@ -69,6 +69,7 @@ class StackerCompiler Module* compile( const std::string& filename, ///< File to compile bool echo, ///< Causes compiler to echo output + unsigned optLevel, ///< Level of optimization size_t stack_size ); ///< Size of generated stack /// @} /// @name Accessors -- cgit v1.2.3-18-g5258