aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-08-22 16:09:13 +0200
committerClifford Wolf <clifford@clifford.at>2014-08-22 16:20:22 +0200
commit98442e019d745f1d61983c071decfa3ebc1ff0cf (patch)
treecb7776cfb0916f529042b4ffd2249404a3aaefdb /kernel/rtlil.h
parentba83a7bdc641c68344b41f407323c76b8c62c674 (diff)
downloadyosys-98442e019d745f1d61983c071decfa3ebc1ff0cf.tar.gz
yosys-98442e019d745f1d61983c071decfa3ebc1ff0cf.tar.bz2
yosys-98442e019d745f1d61983c071decfa3ebc1ff0cf.zip
Added emscripten (emcc) support to build system and some build fixes
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index 8b3306f6f..ebfe4ca29 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -77,7 +77,7 @@ namespace RTLIL
// the global id string cache
struct char_ptr_cmp {
- bool operator()(const char *a, const char *b) {
+ bool operator()(const char *a, const char *b) const {
for (int i = 0; a[i] || b[i]; i++)
if (a[i] != b[i])
return a[i] < b[i];
@@ -815,8 +815,7 @@ struct RTLIL::Cell
protected:
// use module->addCell() and module->remove() to create or destroy cells
friend struct RTLIL::Module;
- Cell() : module(nullptr) { };
- ~Cell() { };
+ Cell();
public:
// do not simply copy cells