From f17b8cef08d69b6c58ef420ddfebf0747282755f Mon Sep 17 00:00:00 2001 From: Joshua Warner Date: Wed, 20 Feb 2013 20:42:09 -0700 Subject: [PATCH] move system.h to include --- include/avian/vm/codegen/assembler.h | 2 +- include/avian/vm/codegen/compiler.h | 2 +- include/avian/vm/heap/heap.h | 2 +- {src => include/avian/vm/system}/system.h | 0 src/alloc-vector.h | 2 +- src/finder.cpp | 2 +- src/finder.h | 2 +- src/heap/heap.cpp | 2 +- src/interpret.cpp | 2 +- src/lzma-util.h | 2 +- src/lzma.h | 2 +- src/machine.h | 2 +- src/main.cpp | 2 +- src/posix.cpp | 2 +- src/process.h | 2 +- src/processor.h | 2 +- src/windows.cpp | 2 +- src/zone.h | 2 +- unittest/codegen/assembler-test.cpp | 2 +- 19 files changed, 18 insertions(+), 18 deletions(-) rename {src => include/avian/vm/system}/system.h (100%) diff --git a/include/avian/vm/codegen/assembler.h b/include/avian/vm/codegen/assembler.h index 593e0e6fe7..d61684c92e 100644 --- a/include/avian/vm/codegen/assembler.h +++ b/include/avian/vm/codegen/assembler.h @@ -11,7 +11,7 @@ #ifndef AVIAN_CODEGEN_ASSEMBLER_H #define AVIAN_CODEGEN_ASSEMBLER_H -#include "system.h" +#include #include "zone.h" #include diff --git a/include/avian/vm/codegen/compiler.h b/include/avian/vm/codegen/compiler.h index b7aeeed2dc..663cb071ea 100644 --- a/include/avian/vm/codegen/compiler.h +++ b/include/avian/vm/codegen/compiler.h @@ -11,7 +11,7 @@ #ifndef AVIAN_CODEGEN_COMPILER_H #define AVIAN_CODEGEN_COMPILER_H -#include "system.h" +#include #include "zone.h" #include "assembler.h" diff --git a/include/avian/vm/heap/heap.h b/include/avian/vm/heap/heap.h index 2a6734438d..5b0fbc1ba1 100644 --- a/include/avian/vm/heap/heap.h +++ b/include/avian/vm/heap/heap.h @@ -11,7 +11,7 @@ #ifndef HEAP_H #define HEAP_H -#include "system.h" +#include #include "allocator.h" namespace vm { diff --git a/src/system.h b/include/avian/vm/system/system.h similarity index 100% rename from src/system.h rename to include/avian/vm/system/system.h diff --git a/src/alloc-vector.h b/src/alloc-vector.h index 4032987655..fbdd1f5561 100644 --- a/src/alloc-vector.h +++ b/src/alloc-vector.h @@ -11,7 +11,7 @@ #ifndef VECTOR_H #define VECTOR_H -#include "system.h" +#include #include "target.h" #include diff --git a/src/finder.cpp b/src/finder.cpp index 93e95250fd..879796075b 100644 --- a/src/finder.cpp +++ b/src/finder.cpp @@ -9,7 +9,7 @@ details. */ #include "zlib-custom.h" -#include "system.h" +#include #include "tokenizer.h" #include "finder.h" #include "lzma.h" diff --git a/src/finder.h b/src/finder.h index f4582417fa..d9f8480577 100644 --- a/src/finder.h +++ b/src/finder.h @@ -12,7 +12,7 @@ #define FINDER_H #include "common.h" -#include "system.h" +#include #include "allocator.h" namespace vm { diff --git a/src/heap/heap.cpp b/src/heap/heap.cpp index 0a0778797b..6257e45618 100644 --- a/src/heap/heap.cpp +++ b/src/heap/heap.cpp @@ -9,7 +9,7 @@ details. */ #include -#include "system.h" +#include #include "common.h" #include "arch.h" diff --git a/src/interpret.cpp b/src/interpret.cpp index c025957d48..9812b07091 100644 --- a/src/interpret.cpp +++ b/src/interpret.cpp @@ -9,7 +9,7 @@ details. */ #include "common.h" -#include "system.h" +#include #include "constants.h" #include "machine.h" #include "processor.h" diff --git a/src/lzma-util.h b/src/lzma-util.h index e7fc3093a0..76a249b378 100644 --- a/src/lzma-util.h +++ b/src/lzma-util.h @@ -13,7 +13,7 @@ #include "lzma.h" #include "C/Types.h" -#include "system.h" +#include #include "allocator.h" namespace vm { diff --git a/src/lzma.h b/src/lzma.h index 5e6ba35a82..e0b9dd1e49 100644 --- a/src/lzma.h +++ b/src/lzma.h @@ -11,7 +11,7 @@ #ifndef LZMA_H #define LZMA_H -#include "system.h" +#include #include "allocator.h" namespace vm { diff --git a/src/machine.h b/src/machine.h index a2ebb7c538..ff5741c0a2 100644 --- a/src/machine.h +++ b/src/machine.h @@ -12,7 +12,7 @@ #define MACHINE_H #include "common.h" -#include "system.h" +#include #include #include "finder.h" #include "processor.h" diff --git a/src/main.cpp b/src/main.cpp index ccd8255940..f6ae72eec7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -13,7 +13,7 @@ #include "string.h" #include "jni.h" -#include "system.h" +#include #include "finder.h" #include diff --git a/src/posix.cpp b/src/posix.cpp index 1f643d93d6..5fcfd4d3ae 100644 --- a/src/posix.cpp +++ b/src/posix.cpp @@ -49,7 +49,7 @@ #include "dirent.h" #include "sched.h" #include "arch.h" -#include "system.h" +#include #include diff --git a/src/process.h b/src/process.h index 04fcf57c7d..71430c02b5 100644 --- a/src/process.h +++ b/src/process.h @@ -12,7 +12,7 @@ #define PROCESS_H #include "common.h" -#include "system.h" +#include #include "machine.h" #include "constants.h" diff --git a/src/processor.h b/src/processor.h index 7ce69458d4..63bf1c1d00 100644 --- a/src/processor.h +++ b/src/processor.h @@ -12,7 +12,7 @@ #define PROCESSOR_H #include "common.h" -#include "system.h" +#include #include #include "bootimage.h" #include "heapwalk.h" diff --git a/src/windows.cpp b/src/windows.cpp index 640117ed2c..be3cfbeeef 100644 --- a/src/windows.cpp +++ b/src/windows.cpp @@ -24,7 +24,7 @@ #undef min #include "arch.h" -#include "system.h" +#include #include #if defined(WINAPI_FAMILY) diff --git a/src/zone.h b/src/zone.h index d0009d77c4..ca467de7d6 100644 --- a/src/zone.h +++ b/src/zone.h @@ -11,7 +11,7 @@ #ifndef ZONE_H #define ZONE_H -#include "system.h" +#include #include "allocator.h" #include diff --git a/unittest/codegen/assembler-test.cpp b/unittest/codegen/assembler-test.cpp index 237b8f7209..f0135d2d64 100644 --- a/unittest/codegen/assembler-test.cpp +++ b/unittest/codegen/assembler-test.cpp @@ -12,7 +12,7 @@ #include "common.h" #include -#include "system.h" +#include #include "target.h" #include