Skip to content

Commit

Permalink
Update latest FOEDAG and return status of CFG registration (#466)
Browse files Browse the repository at this point in the history
Follow up from #1200. Now the
FOEDAG code will not do assertion and will return status.

Again, whatever status is returned (true or false), the main function
will just ignore it.

Update the FOEDAG to latest
  • Loading branch information
chungshien authored Aug 1, 2023
2 parents ea87724 + 7bd6253 commit 3c7ddc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/Compiler/CompilerRS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -628,8 +628,9 @@ bool CompilerRS::RegisterCommands(TclInterpreter *interp, bool batchMode) {
};
interp->registerCmd("assembler", assembler, this, 0);
}
cfgcompiler->RegisterCallbackFunction("assembler", BitAssembler_entry);
return true;
bool status =
cfgcompiler->RegisterCallbackFunction("assembler", BitAssembler_entry);
return status;
}

std::string CompilerRS::BaseVprCommand() {
Expand Down

0 comments on commit 3c7ddc2

Please sign in to comment.