remove vm from code paths, to match namespacing

This commit is contained in:
Joshua Warner 2014-02-07 14:24:56 -07:00
parent 4a436bad80
commit 5ffdfecdc2
62 changed files with 104 additions and 104 deletions

View File

@ -11,11 +11,11 @@
#ifndef AVIAN_CODEGEN_ASSEMBLER_H
#define AVIAN_CODEGEN_ASSEMBLER_H
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include "avian/zone.h"
#include <avian/vm/codegen/lir.h>
#include <avian/vm/codegen/promise.h>
#include <avian/codegen/lir.h>
#include <avian/codegen/promise.h>
namespace avian {
namespace codegen {

View File

@ -11,7 +11,7 @@
#ifndef AVIAN_CODEGEN_COMPILER_H
#define AVIAN_CODEGEN_COMPILER_H
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include "avian/zone.h"
#include "assembler.h"

View File

@ -11,7 +11,7 @@
#ifndef HEAP_H
#define HEAP_H
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include "avian/allocator.h"
namespace vm {

View File

@ -1108,7 +1108,7 @@ vm-depends := $(generated-code) \
$(shell find src include -name '*.h' -or -name '*.inc.cpp')
vm-sources = \
$(src)/vm/system/$(system).cpp \
$(src)/system/$(system).cpp \
$(src)/finder.cpp \
$(src)/machine.cpp \
$(src)/util.cpp \
@ -1239,7 +1239,7 @@ boot-object = $(build)/boot.o
generator-depends := $(wildcard $(src)/*.h)
generator-sources = \
$(src)/tools/type-generator/main.cpp \
$(src)/vm/system/$(build-system).cpp \
$(src)/system/$(build-system).cpp \
$(src)/finder.cpp
ifneq ($(lzma),)

View File

@ -11,7 +11,7 @@
#ifndef VECTOR_H
#define VECTOR_H
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include "avian/target.h"
#include <avian/util/math.h>

View File

@ -12,7 +12,7 @@
#define FINDER_H
#include "avian/common.h"
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include "avian/allocator.h"
namespace vm {

View File

@ -13,7 +13,7 @@
#include "avian/lzma.h"
#include "C/Types.h"
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include "avian/allocator.h"
namespace vm {

View File

@ -11,7 +11,7 @@
#ifndef LZMA_H
#define LZMA_H
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include "avian/allocator.h"
namespace vm {

View File

@ -13,8 +13,8 @@
#include "avian/common.h"
#include "java-common.h"
#include <avian/vm/system/system.h>
#include <avian/vm/heap/heap.h>
#include <avian/system/system.h>
#include <avian/heap/heap.h>
#include "avian/finder.h"
#include "avian/processor.h"
#include "avian/constants.h"

View File

@ -12,7 +12,7 @@
#define PROCESS_H
#include "avian/common.h"
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include "avian/machine.h"
#include "avian/constants.h"

View File

@ -12,8 +12,8 @@
#define PROCESSOR_H
#include "avian/common.h"
#include <avian/vm/system/system.h>
#include <avian/vm/heap/heap.h>
#include <avian/system/system.h>
#include <avian/heap/heap.h>
#include "bootimage.h"
#include "avian/heapwalk.h"
#include "avian/zone.h"

View File

@ -11,7 +11,7 @@
#ifndef ZONE_H
#define ZONE_H
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include "avian/allocator.h"
#include <avian/util/math.h>

View File

@ -12,10 +12,10 @@
#include <avian/util/runtime-array.h>
#include <avian/vm/codegen/compiler.h>
#include <avian/vm/codegen/assembler.h>
#include <avian/vm/codegen/architecture.h>
#include <avian/vm/codegen/promise.h>
#include <avian/codegen/compiler.h>
#include <avian/codegen/assembler.h>
#include <avian/codegen/architecture.h>
#include <avian/codegen/promise.h>
#include "codegen/compiler/regalloc.h"
#include "codegen/compiler/context.h"

View File

@ -11,7 +11,7 @@
#include "codegen/compiler/context.h"
#include "codegen/compiler/resource.h"
#include <avian/vm/codegen/architecture.h>
#include <avian/codegen/architecture.h>
namespace avian {
namespace codegen {

View File

@ -11,8 +11,8 @@
#ifndef AVIAN_CODEGEN_COMPILER_CONTEXT_H
#define AVIAN_CODEGEN_COMPILER_CONTEXT_H
#include <avian/vm/codegen/assembler.h>
#include <avian/vm/codegen/compiler.h>
#include <avian/codegen/assembler.h>
#include <avian/codegen/compiler.h>
#include <avian/util/list.h>
#include "regalloc.h"

View File

@ -13,7 +13,7 @@
#include "codegen/compiler/context.h"
#include "codegen/compiler/frame.h"
#include <avian/vm/codegen/architecture.h>
#include <avian/codegen/architecture.h>
namespace avian {
namespace codegen {

View File

@ -13,8 +13,8 @@
#include "avian/common.h"
#include <avian/vm/codegen/lir.h>
#include <avian/vm/codegen/registers.h>
#include <avian/codegen/lir.h>
#include <avian/codegen/registers.h>
namespace avian {
@ -108,4 +108,4 @@ pickTarget(Context* c, Read* read, bool intersectRead,
} // namespace codegen
} // namespace avian
#endif // AVIAN_CODEGEN_COMPILER_REGALLOC_H
#endif // AVIAN_CODEGEN_COMPILER_REGALLOC_H

View File

@ -11,7 +11,7 @@
#ifndef AVIAN_CODEGEN_COMPILER_SITE_H
#define AVIAN_CODEGEN_COMPILER_SITE_H
#include <avian/vm/codegen/architecture.h>
#include <avian/codegen/architecture.h>
#include "codegen/compiler/value.h"
#include "codegen/compiler/context.h"

View File

@ -11,8 +11,8 @@
#ifndef AVIAN_CODEGEN_COMPILER_VALUE_H
#define AVIAN_CODEGEN_COMPILER_VALUE_H
#include <avian/vm/codegen/lir.h>
#include <avian/vm/codegen/compiler.h>
#include <avian/codegen/lir.h>
#include <avian/codegen/compiler.h>
namespace avian {
namespace codegen {
@ -81,4 +81,4 @@ Value* value(Context* c, lir::ValueType type, Site* site = 0, Site* target = 0);
} // namespace codegen
} // namespace avian
#endif // AVIAN_CODEGEN_COMPILER_VALUE_H
#endif // AVIAN_CODEGEN_COMPILER_VALUE_H

View File

@ -8,7 +8,7 @@
There is NO WARRANTY for this software. See license.txt for
details. */
#include <avian/vm/codegen/registers.h>
#include <avian/codegen/registers.h>
namespace avian {
namespace codegen {

View File

@ -10,9 +10,9 @@
#include <avian/util/runtime-array.h>
#include <avian/vm/codegen/assembler.h>
#include <avian/vm/codegen/architecture.h>
#include <avian/vm/codegen/registers.h>
#include <avian/codegen/assembler.h>
#include <avian/codegen/architecture.h>
#include <avian/codegen/registers.h>
#include "context.h"
#include "block.h"

View File

@ -11,8 +11,8 @@
#ifndef AVIAN_CODEGEN_ASSEMBLER_ARM_BLOCK_H
#define AVIAN_CODEGEN_ASSEMBLER_ARM_BLOCK_H
#include <avian/vm/codegen/lir.h>
#include <avian/vm/codegen/assembler.h>
#include <avian/codegen/lir.h>
#include <avian/codegen/assembler.h>
namespace avian {
namespace codegen {

View File

@ -11,8 +11,8 @@
#ifndef AVIAN_CODEGEN_ASSEMBLER_ARM_CONTEXT_H
#define AVIAN_CODEGEN_ASSEMBLER_ARM_CONTEXT_H
#include <avian/vm/codegen/lir.h>
#include <avian/vm/codegen/assembler.h>
#include <avian/codegen/lir.h>
#include <avian/codegen/assembler.h>
#include "avian/alloc-vector.h"
namespace vm {

View File

@ -11,8 +11,8 @@
#ifndef AVIAN_CODEGEN_ASSEMBLER_ARM_ENCODE_H
#define AVIAN_CODEGEN_ASSEMBLER_ARM_ENCODE_H
#include <avian/vm/codegen/lir.h>
#include <avian/vm/codegen/assembler.h>
#include <avian/codegen/lir.h>
#include <avian/codegen/assembler.h>
namespace avian {
namespace codegen {

View File

@ -13,8 +13,8 @@
#include "avian/target.h"
#include <avian/vm/codegen/lir.h>
#include <avian/vm/codegen/assembler.h>
#include <avian/codegen/lir.h>
#include <avian/codegen/assembler.h>
#include "avian/alloc-vector.h"
namespace vm {

View File

@ -11,8 +11,8 @@
#ifndef AVIAN_CODEGEN_ASSEMBLER_ARM_MULTIMETHOD_H
#define AVIAN_CODEGEN_ASSEMBLER_ARM_MULTIMETHOD_H
#include <avian/vm/codegen/lir.h>
#include <avian/vm/codegen/assembler.h>
#include <avian/codegen/lir.h>
#include <avian/codegen/assembler.h>
#define CAST1(x) reinterpret_cast<UnaryOperationType>(x)
#define CAST2(x) reinterpret_cast<BinaryOperationType>(x)

View File

@ -11,8 +11,8 @@
#ifndef AVIAN_CODEGEN_ASSEMBLER_ARM_REGISTERS_H
#define AVIAN_CODEGEN_ASSEMBLER_ARM_REGISTERS_H
#include <avian/vm/codegen/lir.h>
#include <avian/vm/codegen/assembler.h>
#include <avian/codegen/lir.h>
#include <avian/codegen/assembler.h>
namespace avian {
namespace codegen {

View File

@ -8,9 +8,9 @@
There is NO WARRANTY for this software. See license.txt for
details. */
#include <avian/vm/codegen/assembler.h>
#include <avian/vm/codegen/architecture.h>
#include <avian/vm/codegen/registers.h>
#include <avian/codegen/assembler.h>
#include <avian/codegen/architecture.h>
#include <avian/codegen/registers.h>
#include "avian/alloc-vector.h"
#include <avian/util/abort.h>

View File

@ -11,7 +11,7 @@
#ifndef AVIAN_CODEGEN_ASSEMBLER_POWERPC_CONTEXT_H
#define AVIAN_CODEGEN_ASSEMBLER_POWERPC_CONTEXT_H
#include <avian/vm/codegen/assembler.h>
#include <avian/codegen/assembler.h>
#include "avian/alloc-vector.h"
#ifdef powerpc

View File

@ -22,13 +22,13 @@
#include <avian/util/abort.h>
#include <avian/util/math.h>
#include <avian/vm/codegen/assembler.h>
#include <avian/vm/codegen/architecture.h>
#include <avian/vm/codegen/registers.h>
#include <avian/vm/codegen/lir.h>
#include <avian/vm/codegen/promise.h>
#include <avian/codegen/assembler.h>
#include <avian/codegen/architecture.h>
#include <avian/codegen/registers.h>
#include <avian/codegen/lir.h>
#include <avian/codegen/promise.h>
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include "context.h"
#include "block.h"

View File

@ -10,7 +10,7 @@
#include "block.h"
#include <avian/vm/codegen/assembler.h>
#include <avian/codegen/assembler.h>
namespace avian {
namespace codegen {

View File

@ -11,7 +11,7 @@
#ifndef AVIAN_CODEGEN_ASSEMBLER_X86_BLOCK_H
#define AVIAN_CODEGEN_ASSEMBLER_X86_BLOCK_H
#include <avian/vm/codegen/assembler.h>
#include <avian/codegen/assembler.h>
namespace avian {
namespace codegen {

View File

@ -19,10 +19,10 @@
#include "avian/alloc-vector.h"
#include <avian/vm/codegen/lir.h>
#include <avian/vm/codegen/assembler.h>
#include <avian/codegen/lir.h>
#include <avian/codegen/assembler.h>
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
namespace vm {
class System;

View File

@ -11,7 +11,7 @@
#ifndef AVIAN_CODEGEN_ASSEMBLER_X86_DETECT_H
#define AVIAN_CODEGEN_ASSEMBLER_X86_DETECT_H
#include <avian/vm/codegen/assembler.h>
#include <avian/codegen/assembler.h>
namespace avian {
namespace codegen {

View File

@ -14,8 +14,8 @@
#include <avian/util/abort.h>
#include <avian/util/math.h>
#include <avian/vm/codegen/assembler.h>
#include <avian/vm/codegen/promise.h>
#include <avian/codegen/assembler.h>
#include <avian/codegen/promise.h>
#include "context.h"
#include "encode.h"

View File

@ -15,7 +15,7 @@
#include "avian/common.h"
#include <avian/vm/codegen/lir.h>
#include <avian/codegen/lir.h>
#include "registers.h"

View File

@ -16,7 +16,7 @@
#include "avian/zone.h"
#include <avian/util/abort.h>
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include "context.h"
#include "fixup.h"

View File

@ -13,7 +13,7 @@
#include <stdint.h>
#include <avian/vm/codegen/promise.h>
#include <avian/codegen/promise.h>
namespace vm {
class System;

View File

@ -12,7 +12,7 @@
#include <avian/util/abort.h>
#include <avian/vm/codegen/lir.h>
#include <avian/codegen/lir.h>
#include "context.h"
#include "operations.h"

View File

@ -13,7 +13,7 @@
#include "avian/common.h"
#include <avian/vm/codegen/lir.h>
#include <avian/codegen/lir.h>
namespace avian {
namespace codegen {

View File

@ -15,8 +15,8 @@
#include <avian/util/abort.h>
#include <avian/vm/codegen/assembler.h>
#include <avian/vm/codegen/promise.h>
#include <avian/codegen/assembler.h>
#include <avian/codegen/promise.h>
#include "context.h"
#include "encode.h"

View File

@ -13,7 +13,7 @@
#include "avian/common.h"
#include <avian/vm/codegen/lir.h>
#include <avian/codegen/lir.h>
#include "context.h"

View File

@ -10,7 +10,7 @@
#include "avian/common.h"
#include <avian/vm/codegen/targets.h>
#include <avian/codegen/targets.h>
#include "avian/environment.h"

View File

@ -15,12 +15,12 @@
#include "avian/target.h"
#include "avian/arch.h"
#include <avian/vm/codegen/assembler.h>
#include <avian/vm/codegen/architecture.h>
#include <avian/vm/codegen/compiler.h>
#include <avian/vm/codegen/targets.h>
#include <avian/vm/codegen/lir.h>
#include <avian/vm/codegen/runtime.h>
#include <avian/codegen/assembler.h>
#include <avian/codegen/architecture.h>
#include <avian/codegen/compiler.h>
#include <avian/codegen/targets.h>
#include <avian/codegen/lir.h>
#include <avian/codegen/runtime.h>
#include <avian/util/runtime-array.h>
#include <avian/util/list.h>

View File

@ -8,7 +8,7 @@
There is NO WARRANTY for this software. See license.txt for
details. */
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include <avian/util/string.h>
#include <avian/util/runtime-array.h>
#include <avian/util/list.h>

View File

@ -8,8 +8,8 @@
There is NO WARRANTY for this software. See license.txt for
details. */
#include <avian/vm/heap/heap.h>
#include <avian/vm/system/system.h>
#include <avian/heap/heap.h>
#include <avian/system/system.h>
#include "avian/common.h"
#include "avian/arch.h"

View File

@ -9,7 +9,7 @@
details. */
#include "avian/common.h"
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include "avian/constants.h"
#include "avian/machine.h"
#include "avian/processor.h"

View File

@ -13,7 +13,7 @@
#include "string.h"
#include "jni.h"
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include "avian/finder.h"
#include <avian/util/runtime-array.h>

View File

@ -49,7 +49,7 @@
#include "dirent.h"
#include "sched.h"
#include "avian/arch.h"
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include <avian/util/math.h>

View File

@ -24,7 +24,7 @@
#undef min
#include "avian/arch.h"
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include <avian/util/runtime-array.h>
#if defined(WINAPI_FAMILY)

View File

@ -8,16 +8,16 @@
There is NO WARRANTY for this software. See license.txt for
details. */
#include <avian/vm/system/system.h>
#include <avian/system/system.h>
#include <avian/util/arg-parser.h>
#include <avian/vm/codegen/lir.h>
#include <avian/vm/codegen/assembler.h>
#include <avian/vm/codegen/targets.h>
#include <avian/vm/codegen/registers.h>
#include <avian/codegen/lir.h>
#include <avian/codegen/assembler.h>
#include <avian/codegen/targets.h>
#include <avian/codegen/registers.h>
#include <avian/vm/heap/heap.h>
#include <avian/heap/heap.h>
// since we aren't linking against libstdc++, we must implement this
// ourselves:

View File

@ -8,14 +8,14 @@
There is NO WARRANTY for this software. See license.txt for
details. */
#include <avian/vm/heap/heap.h>
#include <avian/heap/heap.h>
#include "avian/heapwalk.h"
#include "avian/common.h"
#include "avian/machine.h"
#include "avian/util.h"
#include <avian/util/stream.h>
#include <avian/vm/codegen/assembler.h>
#include <avian/vm/codegen/promise.h>
#include <avian/codegen/assembler.h>
#include <avian/codegen/promise.h>
#include "avian/target.h"
#include <avian/tools/object-writer/tools.h>
#include <avian/util/runtime-array.h>

View File

@ -11,14 +11,14 @@
#include <stdio.h>
#include "avian/common.h"
#include <avian/vm/heap/heap.h>
#include <avian/vm/system/system.h>
#include <avian/heap/heap.h>
#include <avian/system/system.h>
#include "avian/target.h"
#include <avian/vm/codegen/assembler.h>
#include <avian/vm/codegen/architecture.h>
#include <avian/vm/codegen/targets.h>
#include <avian/vm/codegen/lir.h>
#include <avian/codegen/assembler.h>
#include <avian/codegen/architecture.h>
#include <avian/codegen/targets.h>
#include <avian/codegen/lir.h>
#include "test-harness.h"

View File

@ -10,7 +10,7 @@
#include <stdio.h>
#include <avian/vm/codegen/registers.h>
#include <avian/codegen/registers.h>
#include "test-harness.h"