All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opalj.br.instructions.BitwiseInstruction.scala Maven / Gradle / Ivy

The newest version!
/* BSD 2-Clause License - see OPAL/LICENSE for details. */
package org.opalj
package br
package instructions

/**
 * An instruction that performs a manipulation of a value's bits.
 *
 * @author Michael Eichberg
 */
abstract class BitwiseInstruction
    extends AlwaysSucceedingStackBasedBinaryArithmeticInstruction
    with InstructionMetaInformation {

    final override def jvmExceptions: List[ObjectType] = Nil

    final def mayThrowExceptions: Boolean = false

    final override def stackSlotsChange: Int = -computationalType.operandSize

    final override def isShiftInstruction: Boolean = false

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy