cgmodule_ppc.h 444 B

12345678910111213141516171819202122232425
  1. #ifndef CGMODULE_PPC_H
  2. #define CGMODULE_PPC_H
  3. #include "cgmodule.h"
  4. #include "cgframe_ppc.h"
  5. struct CGModule_PPC : public CGModule{
  6. string seg;
  7. CGSym* fp_const;
  8. CGModule_PPC( std::ostream &out );
  9. void setSeg( string t );
  10. CGFrame* frame( CGFun *fun );
  11. void emitHeader();
  12. void emitImport( string t );
  13. void emitExport( string t );
  14. void emitFrame( CGFrame *f );
  15. void emitData( CGDat *d );
  16. void emitFooter();
  17. };
  18. #endif