compiler: make package exports self-contained
This commit is contained in:
@@ -6242,7 +6242,7 @@ fn cgalloc(c: *cgen, n: *syntax.node) void = {
|
||||
emitint(sz: i64);
|
||||
emitline(", DI\n");
|
||||
emitline("\tCALL\t");
|
||||
emitline(ffiresolve(c, "malloc"));
|
||||
emitline(allocresolve(c));
|
||||
emitline("(SB)\n");
|
||||
emitline("\tCMPQ\t$0, AX\n");
|
||||
emitline("\tJNE\t"); emitline(okl); emitline("\n");
|
||||
|
||||
Reference in New Issue
Block a user