We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e855ba + 9abf7f0 commit a127967Copy full SHA for a127967
Sources/LLVM/MetadataType.swift
@@ -18,6 +18,6 @@ public struct MetadataType: IRType {
18
19
/// Retrieves the underlying LLVM type object.
20
public func asLLVM() -> LLVMTypeRef {
21
- fatalError("This version of LLVM does not support the creation of MetadataType objects")
+ return LLVMMetadataTypeInContext(context.llvm)
22
}
23
Sources/LLVM/TokenType.swift
@@ -19,6 +19,6 @@ public struct TokenType: IRType {
- fatalError("This version of LLVM does not support the creation of TokenType objects")
+ return LLVMTokenTypeInContext(context.llvm)
24
0 commit comments