Skip to content

Commit 18fa00c

Browse files
committed
Undo previous commit
1 parent 992d562 commit 18fa00c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sources/LLVMSharp.Interop/Extensions/LLVMValueRef.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public readonly string GC
126126

127127
public readonly LLVMModuleRef GlobalParent => (IsAGlobalValue != null) ? LLVM.GetGlobalParent(this) : default;
128128

129-
public readonly bool HasMetadata => ((IsAInstruction != null) || (IsAFunction != null) || (IsAGlobalVariable != null)) && LLVM.HasMetadata(this) != 0;
129+
public readonly bool HasMetadata => (IsAInstruction != null) && LLVM.HasMetadata(this) != 0;
130130

131131
public readonly bool HasPersonalityFn => (IsAFunction != null) && LLVM.HasPersonalityFn(this) != 0;
132132

0 commit comments

Comments
 (0)