PageRenderTime 543ms CodeModel.GetById 404ms app.highlight 2ms RepoModel.GetById 136ms app.codeStats 0ms

/src/org/ooc/frontend/compilers/Tcc.java

http://github.com/nddrylliog/ooc
Java | 39 lines | 26 code | 8 blank | 5 comment | 0 complexity | 5dc8120b3f0327e2a003fb85eb652cc2 MD5 | raw file
 1package org.ooc.frontend.compilers;
 2
 3/**
 4 * TinyCC - originally by Fabrice Bellard 
 5 * 
 6 * @author Amos Wenger
 7 */
 8public class Tcc extends Gcc {
 9
10	public Tcc() {
11		super("tcc");
12	}
13	
14	public Tcc(String executableName) {
15		super(executableName);
16	}
17
18	@Override
19	public void reset() {
20		command.clear();
21		command.add(executablePath);
22	}
23	
24	@Override
25	public boolean supportsDeclInFor() {
26		return false;
27	}
28	
29	@Override
30	public boolean supportsVLAs() {
31		return false;
32	}
33	
34	@Override
35	public Tcc clone() {
36		return new Tcc();
37	}
38	
39}