Creates a name to reference the `builtin` provided.
(&mut self, builtin: BuiltinFunctionIndex)
| 366 | |
| 367 | /// Creates a name to reference the `builtin` provided. |
| 368 | pub fn name_builtin(&mut self, builtin: BuiltinFunctionIndex) -> UserExternalNameRef { |
| 369 | let key = FuncKey::WasmToBuiltinTrampoline(builtin); |
| 370 | let (namespace, index) = key.into_raw_parts(); |
| 371 | self.intern_name(UserExternalName { namespace, index }) |
| 372 | } |
| 373 | |
| 374 | /// Creates a name to reference the wasm function `index` provided. |
| 375 | pub fn name_wasm(&mut self, def_func: DefinedFuncIndex) -> UserExternalNameRef { |
no test coverage detected