Add OpLogicalNot and OpBitcast

This commit is contained in:
ReinUsesLisp 2018-11-02 23:24:10 -03:00
parent 4f66fb18e9
commit 9c7f96a809
4 changed files with 46 additions and 0 deletions

View file

@ -243,6 +243,11 @@ class Module {
/// Result is true if Operand is false. Result is false if Operand is true.
Id OpLogicalNot(Id result_type, Id operand);
// Conversion
/// Bit pattern-preserving type conversion.
Id OpBitcast(Id result_type, Id operand);
private:
Id AddCode(std::unique_ptr<Op> op);