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

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

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

/**
 * Duplicate the top operand stack value and insert two values down.
 *
 * @author Michael Eichberg
 */
case object DUP_X1 extends StackManagementInstruction {

    final val opcode = 90

    final val mnemonic = "dup_x1"

    final def numberOfPoppedOperands(ctg: Int => ComputationalTypeCategory): Int = 2

    final def numberOfPushedOperands(ctg: Int => ComputationalTypeCategory): Int = 3

    final def stackSlotsChange: Int = 1
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy