Skip to content

Commit

Permalink
Remove orphaned LLAllocator (#2348)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansariel committed Aug 19, 2024
1 parent 600635f commit 862a467
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 331 deletions.
4 changes: 0 additions & 4 deletions indra/llcommon/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ set(llcommon_SOURCE_FILES
commoncontrol.cpp
indra_constants.cpp
lazyeventapi.cpp
llallocator.cpp
llallocator_heap_profile.cpp
llapp.cpp
llapr.cpp
llassettype.cpp
Expand Down Expand Up @@ -127,8 +125,6 @@ set(llcommon_HEADER_FILES
lazyeventapi.h
linden_common.h
llalignedarray.h
llallocator.h
llallocator_heap_profile.h
llapp.h
llapr.h
llassettype.h
Expand Down
58 changes: 0 additions & 58 deletions indra/llcommon/llallocator.cpp

This file was deleted.

51 changes: 0 additions & 51 deletions indra/llcommon/llallocator.h

This file was deleted.

138 changes: 0 additions & 138 deletions indra/llcommon/llallocator_heap_profile.cpp

This file was deleted.

71 changes: 0 additions & 71 deletions indra/llcommon/llallocator_heap_profile.h

This file was deleted.

3 changes: 0 additions & 3 deletions indra/newview/llappviewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
#include "llfocusmgr.h"
#include "llurlfloaterdispatchhandler.h"
#include "llviewerjoystick.h"
#include "llallocator.h"
#include "llcalc.h"
#include "llconversationlog.h"
#if LL_WINDOWS
Expand Down Expand Up @@ -769,8 +768,6 @@ bool LLAppViewer::init()
LLError::setFatalFunction([rc](const std::string&){ _exit(rc); });
}

mAlloc.setProfilingEnabled(gSavedSettings.getBOOL("MemProfiling"));

// Initialize the non-LLCurl libcurl library. Should be called
// before consumers (LLTextureFetch).
mAppCoreHttp.init();
Expand Down
5 changes: 0 additions & 5 deletions indra/newview/llappviewer.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#define LL_LLAPPVIEWER_H

#include "llapp.h"
#include "llallocator.h"
#include "llapr.h"
#include "llcontrol.h"
#include "llsys.h" // for LLOSInfo
Expand Down Expand Up @@ -194,8 +193,6 @@ class LLAppViewer : public LLApp
// *NOTE:Mani Fix this for login abstraction!!
void handleLoginComplete();

LLAllocator & getAllocator() { return mAlloc; }

// On LoginCompleted callback
typedef boost::signals2::signal<void (void)> login_completed_signal_t;
login_completed_signal_t mOnLoginCompleted;
Expand Down Expand Up @@ -338,8 +335,6 @@ class LLAppViewer : public LLApp
bool mAgentRegionLastAlive;
LLUUID mAgentRegionLastID;

LLAllocator mAlloc;

// llcorehttp library init/shutdown helper
LLAppCoreHttp mAppCoreHttp;

Expand Down
1 change: 0 additions & 1 deletion indra/newview/llviewerprecompiledheaders.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
// Library headers from llcommon project:
#include "indra_constants.h"
#include "llinitparam.h"
#include "llallocator.h"
#include "llapp.h"
#include "llcriticaldamp.h"
#include "lldefs.h"
Expand Down

0 comments on commit 862a467

Please sign in to comment.