From 632a4c9326561de2bd9d9ded19a82f22678a0cf4 Mon Sep 17 00:00:00 2001 From: Jon Morton Date: Mon, 2 Apr 2012 22:18:01 -0500 Subject: Refactor includes structure, getting rid of rust_internal.h Many changes to code structure are included: - removed TIME_SLICE_IN_MS - removed sychronized_indexed_list - removed region_owned - kernel_owned move to kernel.h, task_owned moved to task.h - global configs moved to rust_globals.h - changed #pragma once to standard guard in rust_upcall.h - got rid of memory.h --- src/rt/rust_cc.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/rt/rust_cc.cpp') diff --git a/src/rt/rust_cc.cpp b/src/rt/rust_cc.cpp index b0a1804d096..41cc1684290 100644 --- a/src/rt/rust_cc.cpp +++ b/src/rt/rust_cc.cpp @@ -1,19 +1,17 @@ // Rust cycle collector. Temporary, but will probably stick around for some // time until LLVM's GC infrastructure is more mature. -#include "rust_debug.h" -#include "rust_internal.h" -#include "rust_shape.h" -#include "rust_task.h" -#include -#include -#include #include #include #include -#include #include +#include "rust_globals.h" +#include "rust_cc.h" +#include "rust_debug.h" +#include "rust_shape.h" +#include "rust_task.h" + // The number of allocations Rust code performs before performing cycle // collection. #define RUST_CC_FREQUENCY 5000 -- cgit 1.4.1-3-g733a5