| 1050 | } |
| 1051 | |
| 1052 | void Module::InternalWarning(const char* tag, const std::string& message) { |
| 1053 | if (debug_report_) { |
| 1054 | debug_report_->LogMessage(kWarningBit, tag, {}, interface_.loc, message); |
| 1055 | } else { |
| 1056 | std::cout << "[" << tag << "] " << message << '\n'; |
| 1057 | } |
| 1058 | } |
| 1059 | |
| 1060 | void Module::InternalError(const char* tag, const std::string& message) { |
| 1061 | if (debug_report_) { |
no test coverage detected