Skip to content

Commit

Permalink
refactor: remove obsolete ASM transformations
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed Oct 29, 2024
1 parent eff9efe commit 4022b7e
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 205 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
package com.ishland.c2me.fixes.worldgen.threading_issues.asm;

import com.ishland.c2me.base.common.util.ASMUtils;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;
import org.objectweb.asm.tree.ClassNode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import java.util.stream.Stream;

public class ASMTransformerMakeVolatile {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.ishland.c2me.opts.allocs;

import com.ishland.c2me.base.common.ModuleMixinPlugin;
import com.ishland.c2me.opts.allocs.asm.ASMTransformerNbtOpsMapBuilderFastUtilMap;
import net.fabricmc.loader.api.FabricLoader;
import org.objectweb.asm.tree.ClassNode;
import org.spongepowered.asm.mixin.extensibility.IMixinInfo;
Expand All @@ -27,7 +26,6 @@ public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
@Override
public void preApply(String targetClassName, ClassNode targetClass, String mixinClassName, IMixinInfo mixinInfo) {
super.preApply(targetClassName, targetClass, mixinClassName, mixinInfo);
ASMTransformerNbtOpsMapBuilderFastUtilMap.transform(targetClass);
}

}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"MixinNbtCompound1",
"MixinNbtList",
"MixinUtil",
"asm.ASMTargets",
"object_pooling_caching.MixinConfiguredFeature",
"object_pooling_caching.MixinOreFeature",
"surfacebuilder.MixinMaterialRuleContext",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.ishland.c2me.opts.chunk_access;

import com.ishland.c2me.base.common.ModuleMixinPlugin;
import com.ishland.c2me.opts.chunk_access.asm.ASMTransformerLithiumChunkAccessWorkaround;
import org.objectweb.asm.tree.ClassNode;
import org.spongepowered.asm.mixin.extensibility.IMixinInfo;

Expand All @@ -10,7 +9,6 @@ public class MixinPlugin extends ModuleMixinPlugin {
@Override
public void postApply(String targetClassName, ClassNode targetClass, String mixinClassName, IMixinInfo mixinInfo) {
super.postApply(targetClassName, targetClass, mixinClassName, mixinInfo);
ASMTransformerLithiumChunkAccessWorkaround.transform(targetClass);
}

}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"package": "com.ishland.c2me.opts.chunk_access.mixin",
"plugin": "com.ishland.c2me.opts.chunk_access.MixinPlugin",
"mixins": [
"asm.ASMTargets",
"region_capture.MixinChunkGenerationStep"
]
}

0 comments on commit 4022b7e

Please sign in to comment.