diff options
author | Chris Lattner <sabre@nondot.org> | 2007-11-28 05:34:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-11-28 05:34:05 +0000 |
commit | 45e8cbdce25c2e16c7aac2036a591f6190097ae6 (patch) | |
tree | 305f3b00be1b424585a9e9d14830db2de61a7df4 /CodeGen/ModuleBuilder.cpp | |
parent | dd1b516f2f5ed5953de1875afc2d04aa5a14d137 (diff) |
Implement support for -fwritable-strings and make the code generator
merge string literals when it is not provided.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/ModuleBuilder.cpp')
-rw-r--r-- | CodeGen/ModuleBuilder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CodeGen/ModuleBuilder.cpp b/CodeGen/ModuleBuilder.cpp index 83c74d0cec..adc1878196 100644 --- a/CodeGen/ModuleBuilder.cpp +++ b/CodeGen/ModuleBuilder.cpp @@ -18,9 +18,9 @@ using namespace clang; /// Init - Create an ModuleBuilder with the specified ASTContext. clang::CodeGen::CodeGenModule * -clang::CodeGen::Init(ASTContext &Context, llvm::Module &M, - const llvm::TargetData &TD) { - return new CodeGenModule(Context, M, TD); +clang::CodeGen::Init(ASTContext &Context, const LangOptions &Features, + llvm::Module &M, const llvm::TargetData &TD) { + return new CodeGenModule(Context, Features, M, TD); } void clang::CodeGen::Terminate(CodeGenModule *B) { |