You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/values/instruction_value.rs
+17-4Lines changed: 17 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
-
use llvm_sys::core::{LLVMGetInstructionOpcode,LLVMIsTailCall,LLVMGetPreviousInstruction,LLVMGetNextInstruction,LLVMGetInstructionParent,LLVMInstructionEraseFromParent,LLVMInstructionClone,LLVMSetVolatile,LLVMGetVolatile,LLVMGetNumOperands,LLVMGetOperand,LLVMGetOperandUse,LLVMSetOperand};
1
+
use either::{Either,Either::{Left,Right}};
2
+
use llvm_sys::core::{LLVMGetInstructionOpcode,LLVMIsTailCall,LLVMGetPreviousInstruction,LLVMGetNextInstruction,LLVMGetInstructionParent,LLVMInstructionEraseFromParent,LLVMInstructionClone,LLVMSetVolatile,LLVMGetVolatile,LLVMGetNumOperands,LLVMGetOperand,LLVMGetOperandUse,LLVMSetOperand,LLVMValueAsBasicBlock,LLVMIsABasicBlock};
2
3
#[llvm_versions(3.9 => latest)]
3
4
use llvm_sys::core::LLVMInstructionRemoveFromParent;
4
5
use llvm_sys::LLVMOpcode;
@@ -464,7 +465,7 @@ impl InstructionValue {
464
465
/// 3) Function call has two: i8 pointer %1 argument, and the free function itself
465
466
/// 4) Void return has zero: void is not a value and does not count as an operand
466
467
/// even though the return instruction can take values.
0 commit comments