MipsOTMinActivationRegister.java 961 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 targets.mips;
  7. import common.Block;
  8. import common.Code;
  9. import API.CodeProcessorInterface;
  10. import common.DataLayout;
  11. import Processors.BasicBlockProcessor;
  12. import java.util.LinkedHashMap;
  13. /**
  14. *
  15. * @author EUGENIO CARVALHO
  16. */
  17. public class MipsOTMinActivationRegister implements CodeProcessorInterface {
  18. protected BasicBlockProcessor ocorrences;
  19. MipsOTMinActivationRegister(BasicBlockProcessor ocorrences) {
  20. this.ocorrences = ocorrences;
  21. }
  22. @Override
  23. public void Exec(Code c, LinkedHashMap<String, CodeProcessorInterface> cp) throws Exception {
  24. Block B = c.Block();
  25. DataLayout D = B.Data();
  26. // BlockBaseOcorrences o = ocorrences.getBlocks().get(B.getName());
  27. // System.out.println("o:" + o.All());
  28. }
  29. }