r4827@macbookpro: aamine | 2009-05-11 01:47:38 +0900

* net/loveruby/cflat/codegenerator/CodeGenerator.java -> net/loveruby/cflat/sysdep
 * net/loveruby/cflat/codegenerator/CodeGeneratorOptions.java -> net/loveruby/cflat/sysdep
 * net/loveruby/cflat/sysdep/Platform.java: ditto.
 * net/loveruby/cflat/sysdep/x86/CodeGenerator.java: ditto.
 * net/loveruby/cflat/sysdep/x86/X86Linux.java: ditto.
 * net/loveruby/cflat/compiler/Compiler.java: ditto.
 * net/loveruby/cflat/compiler/Options.java: ditto.
 


git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4205 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
Minero Aoki 2009-05-10 16:49:48 +00:00
parent 3a7d40e63d
commit 21f7253fc9
8 changed files with 26 additions and 11 deletions

View File

@ -1,3 +1,21 @@
Mon May 11 01:47:51 2009 Minero Aoki <aamine@loveruby.net>
* net/loveruby/cflat/codegenerator/CodeGenerator.java ->
net/loveruby/cflat/sysdep
* net/loveruby/cflat/codegenerator/CodeGeneratorOptions.java ->
net/loveruby/cflat/sysdep
* net/loveruby/cflat/sysdep/Platform.java: ditto.
* net/loveruby/cflat/sysdep/x86/CodeGenerator.java: ditto.
* net/loveruby/cflat/sysdep/x86/X86Linux.java: ditto.
* net/loveruby/cflat/compiler/Compiler.java: ditto.
* net/loveruby/cflat/compiler/Options.java: ditto.
Mon May 11 01:40:28 2009 Minero Aoki <aamine@loveruby.net> Mon May 11 01:40:28 2009 Minero Aoki <aamine@loveruby.net>
* net/loveruby/cflat/sysdep/x86/CodeGenerator.java: use * net/loveruby/cflat/sysdep/x86/CodeGenerator.java: use

View File

@ -4,7 +4,7 @@ import net.loveruby.cflat.ast.AST;
import net.loveruby.cflat.ast.StmtNode; import net.loveruby.cflat.ast.StmtNode;
import net.loveruby.cflat.ast.ExprNode; import net.loveruby.cflat.ast.ExprNode;
import net.loveruby.cflat.ir.IR; import net.loveruby.cflat.ir.IR;
import net.loveruby.cflat.codegenerator.CodeGenerator; import net.loveruby.cflat.sysdep.CodeGenerator;
import net.loveruby.cflat.utils.ErrorHandler; import net.loveruby.cflat.utils.ErrorHandler;
import net.loveruby.cflat.exception.*; import net.loveruby.cflat.exception.*;
import java.util.*; import java.util.*;

View File

@ -1,10 +1,9 @@
package net.loveruby.cflat.compiler; package net.loveruby.cflat.compiler;
import net.loveruby.cflat.sysdep.Platform;
import net.loveruby.cflat.sysdep.x86.X86Linux;
import net.loveruby.cflat.parser.LibraryLoader; import net.loveruby.cflat.parser.LibraryLoader;
import net.loveruby.cflat.type.TypeTable; import net.loveruby.cflat.type.TypeTable;
import net.loveruby.cflat.asm.*; import net.loveruby.cflat.asm.*;
import net.loveruby.cflat.codegenerator.*; import net.loveruby.cflat.sysdep.*;
import net.loveruby.cflat.sysdep.x86.X86Linux;
import net.loveruby.cflat.utils.ErrorHandler; import net.loveruby.cflat.utils.ErrorHandler;
import net.loveruby.cflat.exception.*; import net.loveruby.cflat.exception.*;
import java.util.*; import java.util.*;

View File

@ -1,4 +1,4 @@
package net.loveruby.cflat.codegenerator; package net.loveruby.cflat.sysdep;
public interface CodeGenerator { public interface CodeGenerator {
String generate(net.loveruby.cflat.ir.IR ir); String generate(net.loveruby.cflat.ir.IR ir);

View File

@ -1,4 +1,4 @@
package net.loveruby.cflat.codegenerator; package net.loveruby.cflat.sysdep;
public class CodeGeneratorOptions { public class CodeGeneratorOptions {
protected int optimizeLevel; protected int optimizeLevel;

View File

@ -1,7 +1,5 @@
package net.loveruby.cflat.sysdep; package net.loveruby.cflat.sysdep;
import net.loveruby.cflat.type.TypeTable; import net.loveruby.cflat.type.TypeTable;
import net.loveruby.cflat.codegenerator.CodeGenerator;
import net.loveruby.cflat.codegenerator.CodeGeneratorOptions;
import net.loveruby.cflat.utils.ErrorHandler; import net.loveruby.cflat.utils.ErrorHandler;
public interface Platform { public interface Platform {

View File

@ -1,5 +1,5 @@
package net.loveruby.cflat.sysdep.x86; package net.loveruby.cflat.sysdep.x86;
import net.loveruby.cflat.codegenerator.*; import net.loveruby.cflat.sysdep.CodeGeneratorOptions;
import net.loveruby.cflat.ir.*; import net.loveruby.cflat.ir.*;
import net.loveruby.cflat.entity.*; import net.loveruby.cflat.entity.*;
import net.loveruby.cflat.asm.*; import net.loveruby.cflat.asm.*;
@ -9,7 +9,7 @@ import net.loveruby.cflat.utils.ErrorHandler;
import java.util.*; import java.util.*;
class CodeGenerator class CodeGenerator
implements net.loveruby.cflat.codegenerator.CodeGenerator, implements net.loveruby.cflat.sysdep.CodeGenerator,
IRVisitor<Void,Void>, IRVisitor<Void,Void>,
ELFConstants { ELFConstants {
// #@@range/ctor{ // #@@range/ctor{

View File

@ -1,6 +1,6 @@
package net.loveruby.cflat.sysdep.x86; package net.loveruby.cflat.sysdep.x86;
import net.loveruby.cflat.sysdep.Platform; import net.loveruby.cflat.sysdep.Platform;
import net.loveruby.cflat.codegenerator.CodeGeneratorOptions; import net.loveruby.cflat.sysdep.CodeGeneratorOptions;
import net.loveruby.cflat.utils.ErrorHandler; import net.loveruby.cflat.utils.ErrorHandler;
import net.loveruby.cflat.type.TypeTable; import net.loveruby.cflat.type.TypeTable;