We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a41c8a7 commit ac2d4f3Copy full SHA for ac2d4f3
source/backends/uxn.d
@@ -164,6 +164,12 @@ class BackendUXN : CompilerBackend {
164
165
override void Init() {
166
output ~= "|0 @vsp $2 @arraySrc $2 @arrayDest $2 @temp $2\n";
167
+
168
+ if (org != 0x100) {
169
+ output ~= "|100\n";
170
+ output ~= format("#%.4x JMP2\n", org);
171
+ }
172
173
output ~= format("|%x\n", org);
174
output ~= "@on-reset\n";
175
output ~= " #ffff .vsp STZ2\n";
source/codeRemover.d
@@ -117,6 +117,12 @@ class CodeRemover {
117
funcStack = funcStack[0 .. $ - 1];
118
break;
119
}
120
+ case NodeType.Unsafe: {
121
+ auto node = cast(UnsafeNode) inode;
122
123
+ FindFunctions(node.nodes);
124
+ break;
125
126
default: break;
127
128
0 commit comments