mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-17 21:25:33 +00:00
Improve conformance with the Misha spelling benchmark suite
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19930 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -28,7 +28,7 @@ using namespace llvm;
|
||||
// Methods to implement the globals and functions lists.
|
||||
//
|
||||
|
||||
Function *ilist_traits<Function>::createSentinal() {
|
||||
Function *ilist_traits<Function>::createSentinel() {
|
||||
FunctionType *FTy =
|
||||
FunctionType::get(Type::VoidTy, std::vector<const Type*>(), false);
|
||||
Function *Ret = new Function(FTy, GlobalValue::ExternalLinkage);
|
||||
@@ -36,7 +36,7 @@ Function *ilist_traits<Function>::createSentinal() {
|
||||
LeakDetector::removeGarbageObject(Ret);
|
||||
return Ret;
|
||||
}
|
||||
GlobalVariable *ilist_traits<GlobalVariable>::createSentinal() {
|
||||
GlobalVariable *ilist_traits<GlobalVariable>::createSentinel() {
|
||||
GlobalVariable *Ret = new GlobalVariable(Type::IntTy, false,
|
||||
GlobalValue::ExternalLinkage);
|
||||
// This should not be garbage monitored.
|
||||
|
Reference in New Issue
Block a user