Add test coverage to avoid silent breakage
This commit is contained in:
@@ -829,7 +829,6 @@ namespace LuaUtil
|
||||
{
|
||||
for (auto& [id, script] : data->mScripts)
|
||||
{
|
||||
// Computed and dropped: reading must not write. The next writer applies it.
|
||||
stats[id].mAvgInstructionCount += decayedInstructionCount(script);
|
||||
stats[id].mMemoryUsage += script.mStats.mMemoryUsage;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user