Commit 1f6e137e authored by John Zhang's avatar John Zhang

Merge branch 'mu-rewrite' into valid-ir

parents 428c3394 eae0a181
Pipeline #986 failed with stage
in 2 minutes and 13 seconds
......@@ -247,8 +247,8 @@ class MuDatabase:
# graphs
for g in self.tlc.graphs:
g.name = man.get_graph_name(g)
graph_name = g.name
graph_name = man.get_graph_name(g)
g.name = graph_name[1:] # without @
self.mu_name_map[g] = graph_name
for i, blk in enumerate(g.iterblocks()):
blk_name = '%(graph_name)s.blk%(i)d' % locals()
......
......@@ -303,7 +303,7 @@ class MuBundleGen:
sys.stderr.write("\033[0F\033[K")
self.log.gen_graphs("building function (%d/%d %d%%) %s" % (count, total, count * 100 / total, g))
self.bdr.new_func(self._id_of(g), self._id_of(g.sig))
self.bdr.new_func_ver(self.bdr.gen_sym(g.name + '_v1'),
self.bdr.new_func_ver(self.bdr.gen_sym('@' + g.name + '_v1'),
self._id_of(g), self._ids_of(g.iterblocks()))
for blk in g.iterblocks():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment