MCPcopy Create free account
hub / github.com/ZDoom/Raze / comment

Method comment

libraries/asmjit/asmjit/base/assembler.cpp:146–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144// ============================================================================
145
146Error Assembler::comment(const char* s, size_t len) {
147 if (_lastError) return _lastError;
148
149#if !defined(ASMJIT_DISABLE_LOGGING)
150 if (_globalOptions & kOptionLoggingEnabled) {
151 Logger* logger = _code->getLogger();
152 logger->log(s, len);
153 logger->log("\n", 1);
154 return kErrorOk;
155 }
156#else
157 ASMJIT_UNUSED(s);
158 ASMJIT_UNUSED(len);
159#endif
160
161 return kErrorOk;
162}
163
164// ============================================================================
165// [asmjit::Assembler - Building Blocks]

Callers 2

CodegenMethod · 0.45
SetupMethod · 0.45

Calls 1

getLoggerMethod · 0.80

Tested by

no test coverage detected