Reduce build graph by another 14 percent

That's a 37% reduction total from what it was on 2022-05-23.
This commit is contained in:
Justine Tunney 2022-08-17 19:56:54 -07:00
parent c2211c9e63
commit 8e176fb026
4029 changed files with 4620 additions and 4675 deletions

View file

@ -4,7 +4,6 @@
#include "libc/dce.h"
#include "libc/macros.internal.h"
#include "libc/nexgen32e/bsr.h"
#include "libc/nt/process.h"
#include "libc/nt/runtime.h"
#include "libc/sysv/consts/nr.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
@ -105,14 +104,6 @@ forceinline int __sysv_getpid(void) {
return ax;
}
forceinline int __getpid(void) {
if (!IsWindows()) {
return __sysv_getpid();
} else {
return GetCurrentProcessId();
}
}
forceinline ssize_t __write(const void *p, size_t n) {
uint32_t wrote;
if (!IsWindows()) {