OTMinActivationRegister.java 942 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package target.mips;
  7. import common.Block;
  8. import common.Code;
  9. import IntermediaryCode.CodeProcessing;
  10. import common.DataFrame;
  11. import IntermediaryCode.BaseBlockProcessor;
  12. import java.util.LinkedHashMap;
  13. /**
  14. *
  15. * @author EUGENIO CARVALHO
  16. */
  17. public class OTMinActivationRegister implements CodeProcessing {
  18. protected BaseBlockProcessor ocorrences;
  19. OTMinActivationRegister(BaseBlockProcessor ocorrences) {
  20. this.ocorrences = ocorrences;
  21. }
  22. @Override
  23. public void Exec(Code c, LinkedHashMap<String, CodeProcessing> cp) throws Exception {
  24. Block B = c.Block();
  25. DataFrame D = B.Data();
  26. // BlockBaseOcorrences o = ocorrences.getBlocks().get(B.getName());
  27. // System.out.println("o:" + o.All());
  28. }
  29. }