shithub: mc

Download patch

ref: c4336db289bfad5a3e9274bf181282be86bc6ce7
parent: b269fb0c8a2dc4b18dd28deb1ed9e44b7a10ace0
author: Ori Bernstein <[email protected]>
date: Wed Jun 13 12:34:13 EDT 2012

Add in stubbing in of new register allocator.

--- /dev/null
+++ b/8/ra.c
@@ -1,0 +1,32 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdint.h>
+#include <stdarg.h>
+#include <ctype.h>
+#include <string.h>
+#include <assert.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <unistd.h>
+
+#include "parse.h"
+#include "asm.h"
+
+struct Asmbb {
+    int id;
+    char **lbls;
+    size_t nlbls;
+    Insn **insns;
+    size_t ninsns;
+    Bitset *livein;
+    Bitset *liveout;
+};
+
+void adduses(Insn *i, Bitset *bs)
+{
+}
+
+void subdefs(Insn *i, Bitset *bs)
+{
+}