[yosys] 30/38: Fixed eval_select_op() api

Ruben Undheim rubund-guest at moszumanska.debian.org
Mon Feb 9 19:36:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to tag upstream/0.5.0
in repository yosys.

commit bcd8a2fc567e0bbc1b04467ac7a3b32ed332f7f3
Author: Clifford Wolf <clifford at clifford.at>
Date:   Sun Feb 8 19:06:16 2015 +0100

    Fixed eval_select_op() api
---
 kernel/register.h     | 2 +-
 passes/cmds/select.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/register.h b/kernel/register.h
index 9b24717..71ab6ea 100644
--- a/kernel/register.h
+++ b/kernel/register.h
@@ -101,7 +101,7 @@ struct Backend : Pass
 // implemented in passes/cmds/select.cc
 extern void handle_extra_select_args(Pass *pass, std::vector<std::string> args, size_t argidx, size_t args_size, RTLIL::Design *design);
 extern RTLIL::Selection eval_select_args(const vector<string> &args, RTLIL::Design *design);
-extern void eval_select_op(vector<RTLIL::Selection> &work, string &op, RTLIL::Design *design);
+extern void eval_select_op(vector<RTLIL::Selection> &work, const string &op, RTLIL::Design *design);
 
 extern std::map<std::string, Pass*> pass_register;
 extern std::map<std::string, Frontend*> frontend_register;
diff --git a/passes/cmds/select.cc b/passes/cmds/select.cc
index f8cfa9c..247765f 100644
--- a/passes/cmds/select.cc
+++ b/passes/cmds/select.cc
@@ -839,7 +839,7 @@ RTLIL::Selection eval_select_args(const vector<string> &args, RTLIL::Design *des
 }
 
 // extern decl. in register.h
-void eval_select_op(vector<RTLIL::Selection> &work, string &op, RTLIL::Design *design)
+void eval_select_op(vector<RTLIL::Selection> &work, const string &op, RTLIL::Design *design)
 {
 	work_stack.swap(work);
 	select_stmt(design, op);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/yosys.git



More information about the debian-science-commits mailing list