package org.rascalmpl.library.experiments.Compiler.RVM.Interpreter.Instructions; import org.rascalmpl.library.experiments.Compiler.RVM.Interpreter.BytecodeGenerator; import org.rascalmpl.library.experiments.Compiler.RVM.Interpreter.CodeBlock; public class LoadLoc0 extends Instruction { public LoadLoc0(CodeBlock ins){ super(ins, Opcode.LOADLOC0); } public void generateByteCode(BytecodeGenerator codeEmittor, boolean debug){ if ( debug ) codeEmittor.emitDebugCall(opcode.name()); codeEmittor.emitInlineLoadLocN(0,debug); } }