summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-11-28 05:34:05 +0000
committerChris Lattner <sabre@nondot.org>2007-11-28 05:34:05 +0000
commitfb3000946586de3b70e1970aa1ea992d7a1e1296 (patch)
tree75b5f3d906d1583045ee68f6ab54846457047edf /clang/CodeGen/ModuleBuilder.cpp
parente04dc1fa4d2fb4042a629d8ddeb4134947a56a40 (diff)
downloadbcm5719-llvm-fb3000946586de3b70e1970aa1ea992d7a1e1296.tar.gz
bcm5719-llvm-fb3000946586de3b70e1970aa1ea992d7a1e1296.zip
Implement support for -fwritable-strings and make the code generator
merge string literals when it is not provided. llvm-svn: 44394
Diffstat (limited to 'clang/CodeGen/ModuleBuilder.cpp')
-rw-r--r--clang/CodeGen/ModuleBuilder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/CodeGen/ModuleBuilder.cpp b/clang/CodeGen/ModuleBuilder.cpp
index 83c74d0ceca..adc18781961 100644
--- a/clang/CodeGen/ModuleBuilder.cpp
+++ b/clang/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) {
OpenPOWER on IntegriCloud