/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package targets.mips; import common.Block; import common.Code; import API.CodeProcessorInterface; import common.DataLayout; import Processors.BasicBlockProcessor; import java.util.LinkedHashMap; /** * * @author EUGENIO CARVALHO */ public class MipsOTMinActivationRegister implements CodeProcessorInterface { protected BasicBlockProcessor ocorrences; MipsOTMinActivationRegister(BasicBlockProcessor ocorrences) { this.ocorrences = ocorrences; } @Override public void Exec(Code c, LinkedHashMap cp) throws Exception { Block B = c.Block(); DataLayout D = B.Data(); // BlockBaseOcorrences o = ocorrences.getBlocks().get(B.getName()); // System.out.println("o:" + o.All()); } }