about summary refs log tree commit diff
path: root/src/rt/rust_shape.cpp
diff options
context:
space:
mode:
authorJon Morton <jonanin@gmail.com>2012-04-02 22:18:01 -0500
committerBrian Anderson <banderson@mozilla.com>2012-04-03 16:02:38 -0700
commit632a4c9326561de2bd9d9ded19a82f22678a0cf4 (patch)
treee5c5c509b2679cab824819c1d6340e44986d950d /src/rt/rust_shape.cpp
parent704ca046a13977175975cb20a77ea2fbac15d77a (diff)
downloadrust-632a4c9326561de2bd9d9ded19a82f22678a0cf4.tar.gz
rust-632a4c9326561de2bd9d9ded19a82f22678a0cf4.zip
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
Diffstat (limited to 'src/rt/rust_shape.cpp')
-rw-r--r--src/rt/rust_shape.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/rt/rust_shape.cpp b/src/rt/rust_shape.cpp
index 472a691a6fa..9598744aea3 100644
--- a/src/rt/rust_shape.cpp
+++ b/src/rt/rust_shape.cpp
@@ -1,16 +1,14 @@
 // Functions that interpret the shape of a type to perform various low-level
 // actions, such as copying, freeing, comparing, and so on.
 
+
 #include <algorithm>
 #include <iomanip>
 #include <iostream>
 #include <sstream>
 #include <utility>
-#include <cassert>
-#include <cctype>
-#include <cstdio>
-#include <cstdlib>
-#include "rust_internal.h"
+
+#include "rust_task.h"
 #include "rust_shape.h"
 
 namespace shape {