MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / processAsm

Method processAsm

lib/compilers/slang.ts:121–127  ·  view source on GitHub ↗
(result, filters: ParseFiltersAndOutputOptions, options: string[])

Source from the content-addressed store, hash-verified

119
120 // slangc defaults to SPIR-V as a target, but has many target it can output
121 override async processAsm(result, filters: ParseFiltersAndOutputOptions, options: string[]) {
122 if (result.asm.startsWith('; SPIR-V')) {
123 return this.spirvAsm.processAsm(result.asm, filters);
124 }
125 // If not SPIR-V, just display as plain text to be safe
126 return super.processAsm(result, filters, options);
127 }
128}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected