summaryrefslogtreecommitdiff
path: root/libyasm/symrec.h
diff options
context:
space:
mode:
authorPeter Johnson <peter@tortall.net>2001-12-03 02:52:44 +0000
committerPeter Johnson <peter@tortall.net>2001-12-03 02:52:44 +0000
commite8d7d5cad93f6e055b0080395aa545e0e57d654f (patch)
tree6d0e7cbf612d6936261ed95223e0086b196f490c /libyasm/symrec.h
parent69c42d7aaaba02548c328e9952283edeb732c18a (diff)
downloadyasm-e8d7d5cad93f6e055b0080395aa545e0e57d654f.tar.gz
Add opt_flags (space for use by the optimizer).
svn path=/trunk/yasm/; revision=384
Diffstat (limited to 'libyasm/symrec.h')
-rw-r--r--libyasm/symrec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libyasm/symrec.h b/libyasm/symrec.h
index 105d48c4..c7d7da1d 100644
--- a/libyasm/symrec.h
+++ b/libyasm/symrec.h
@@ -47,6 +47,10 @@ SymVisibility symrec_get_visibility(const symrec *sym);
/*@observer@*/ /*@null@*/ const expr *symrec_get_equ(const symrec *sym);
+/* Get and set optimizer flags */
+unsigned long symrec_get_opt_flags(const symrec *sym);
+void symrec_set_opt_flags(symrec *sym, unsigned long opt_flags);
+
int /*@alt void@*/ symrec_traverse(/*@null@*/ void *d,
int (*func) (symrec *sym,
/*@null@*/ void *d));