mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-15 12:23:13 +01:00
_d_allocclass -> "_d_newclass".
The define is a leftover from the times when we supported both D1 and D2.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user