mirror of https://github.com/aamine/cbc
17 lines
501 B
Java
17 lines
501 B
Java
package net.loveruby.cflat.sysdep.x86;
|
|
import net.loveruby.cflat.compiler.Platform;
|
|
import net.loveruby.cflat.compiler.CodeGeneratorOptions;
|
|
import net.loveruby.cflat.compiler.ErrorHandler;
|
|
import net.loveruby.cflat.type.TypeTable;
|
|
|
|
public class X86Linux implements Platform {
|
|
public TypeTable typeTable() {
|
|
return TypeTable.ilp32();
|
|
}
|
|
|
|
public CodeGenerator codeGenerator(
|
|
CodeGeneratorOptions opts, ErrorHandler h) {
|
|
return new CodeGenerator(opts, h);
|
|
}
|
|
}
|