_d_allocclass -> "_d_newclass".

The define is a leftover from the times when we supported
both D1 and D2.
This commit is contained in:
David Nadlinger
2013-10-24 00:25:36 +02:00
parent 3d8e2e5e5c
commit 1f59740524
5 changed files with 6 additions and 7 deletions

View File

@@ -252,7 +252,7 @@ namespace {
}
};
// FunctionInfo for _d_allocclass
// FunctionInfo for _d_newclass
class AllocClassFI : public FunctionInfo {
public:
virtual bool analyze(CallSite CS, const Analysis& A) {
@@ -360,7 +360,7 @@ GarbageCollect2Stack::GarbageCollect2Stack()
KnownFunctions["_d_allocmemoryT"] = &AllocMemoryT;
KnownFunctions["_d_newarrayvT"] = &NewArrayVT;
KnownFunctions["_d_newarrayT"] = &NewArrayT;
KnownFunctions[_d_allocclass] = &AllocClass;
KnownFunctions["_d_newclass"] = &AllocClass;
}
static void RemoveCall(CallSite CS, const Analysis& A) {