mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-29 15:37:59 +00:00
Added emscripten (emcc) support to build system and some build fixes
This commit is contained in:
parent
ba83a7bdc6
commit
98442e019d
11 changed files with 101 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue