equal
deleted
inserted
replaced
31 #include "c1/c1_ValueStack.hpp" |
31 #include "c1/c1_ValueStack.hpp" |
32 |
32 |
33 #ifndef PRODUCT |
33 #ifndef PRODUCT |
34 |
34 |
35 |
35 |
36 class CFGPrinterOutput : public CHeapObj { |
36 class CFGPrinterOutput : public CHeapObj<mtCompiler> { |
37 private: |
37 private: |
38 outputStream* _output; |
38 outputStream* _output; |
39 |
39 |
40 Compilation* _compilation; |
40 Compilation* _compilation; |
41 bool _do_print_HIR; |
41 bool _do_print_HIR; |
104 } |
104 } |
105 |
105 |
106 |
106 |
107 |
107 |
108 CFGPrinterOutput::CFGPrinterOutput() |
108 CFGPrinterOutput::CFGPrinterOutput() |
109 : _output(new(ResourceObj::C_HEAP) fileStream("output.cfg")) |
109 : _output(new(ResourceObj::C_HEAP, mtCompiler) fileStream("output.cfg")) |
110 { |
110 { |
111 } |
111 } |
112 |
112 |
113 |
113 |
114 |
114 |