move all codegen source in to codegen/ dir

This commit is contained in:
Joshua Warner 2013-02-10 18:55:38 -07:00
parent 964d054117
commit 68776e5d73
11 changed files with 14 additions and 11 deletions

View File

@ -629,7 +629,7 @@ generated-code = \
$(build)/type-name-initializations.cpp \
$(build)/type-maps.cpp
vm-depends := $(generated-code) $(wildcard $(src)/*.h)
vm-depends := $(generated-code) $(wildcard $(src)/*.h) $(wildcard $(src)/codegen/*.h)
vm-sources = \
$(src)/$(system).cpp \
@ -658,8 +658,8 @@ embed-objects = $(call cpp-objects,$(embed-sources),$(src),$(build-embed))
ifeq ($(process),compile)
vm-sources += \
$(src)/compiler.cpp \
$(src)/$(target-asm).cpp
$(src)/codegen/compiler.cpp \
$(src)/codegen/$(target-asm)/assembler.cpp
vm-asm-sources += $(src)/compile-$(asm).S
endif

View File

@ -9,7 +9,7 @@
details. */
#include "assembler.h"
#include "vector.h"
#include "alloc-vector.h"
#define CAST1(x) reinterpret_cast<UnaryOperationType>(x)
#define CAST2(x) reinterpret_cast<BinaryOperationType>(x)

View File

@ -9,7 +9,7 @@
details. */
#include "assembler.h"
#include "vector.h"
#include "alloc-vector.h"
#define CAST1(x) reinterpret_cast<UnaryOperationType>(x)
#define CAST2(x) reinterpret_cast<BinaryOperationType>(x)

View File

@ -9,9 +9,10 @@
details. */
#include "environment.h"
#include "assembler.h"
#include "target.h"
#include "vector.h"
#include "alloc-vector.h"
#include "codegen/assembler.h"
#include "util/runtime-array.h"

View File

@ -10,11 +10,11 @@
#include "machine.h"
#include "util.h"
#include "vector.h"
#include "alloc-vector.h"
#include "process.h"
#include "assembler.h"
#include "target.h"
#include "compiler.h"
#include "codegen/assembler.h"
#include "codegen/compiler.h"
#include "arch.h"
#include "util/runtime-array.h"

View File

@ -17,10 +17,11 @@
#include "bootimage.h"
#include "heapwalk.h"
#include "zone.h"
#include "assembler.h"
namespace vm {
class DelayedPromise;
class Processor {
public:
class StackWalker;

View File

@ -12,6 +12,7 @@
#define TARGET_H
#include "target-fields.h"
#include "common.h"
namespace vm {