projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweak to fix spelling and grammar in comment.
[oota-llvm.git]
/
include
/
llvm
/
LinkAllVMCore.h
diff --git
a/include/llvm/LinkAllVMCore.h
b/include/llvm/LinkAllVMCore.h
index 3c4b9c447b9d23f578c95a627be1d731f21e82b8..6959cb6d1efc1be432890a467ea3eb18eb8b970a 100644
(file)
--- a/
include/llvm/LinkAllVMCore.h
+++ b/
include/llvm/LinkAllVMCore.h
@@
-16,6
+16,7
@@
#ifndef LLVM_LINKALLVMCORE_H
#define LLVM_LINKALLVMCORE_H
#ifndef LLVM_LINKALLVMCORE_H
#define LLVM_LINKALLVMCORE_H
+#include "llvm/LLVMContext.h"
#include "llvm/Module.h"
#include "llvm/Instructions.h"
#include "llvm/IntrinsicInst.h"
#include "llvm/Module.h"
#include "llvm/Instructions.h"
#include "llvm/IntrinsicInst.h"
@@
-31,9
+32,8
@@
#include "llvm/System/Signals.h"
#include "llvm/System/TimeValue.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/System/Signals.h"
#include "llvm/System/TimeValue.h"
#include "llvm/Support/Dwarf.h"
-#include "llvm/Support/Mangler.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/MathExtras.h"
-#include
"llvm/Support/SlowOperationInformer.h"
+#include
<cstdlib>
namespace {
struct ForceVMCoreLinking {
namespace {
struct ForceVMCoreLinking {
@@
-44,10
+44,9
@@
namespace {
// to know that getenv() never returns -1, this will do the job.
if (std::getenv("bar") != (char*) -1)
return;
// to know that getenv() never returns -1, this will do the job.
if (std::getenv("bar") != (char*) -1)
return;
-
llvm::Module* M = new llvm::Module("", 0
);
- (void)new llvm::UnreachableInst();
+
(void)new llvm::Module("", llvm::getGlobalContext()
);
+ (void)new llvm::UnreachableInst(
llvm::getGlobalContext()
);
(void) llvm::createVerifierPass();
(void) llvm::createVerifierPass();
- (void) new llvm::Mangler(*M,"");
}
} ForceVMCoreLinking;
}
}
} ForceVMCoreLinking;
}