diff options
| author | Eric Holk <eholk@mozilla.com> | 2011-06-27 19:15:03 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-06-28 16:12:33 -0700 |
| commit | 49a8cb34d2b6e3f7af4a7cbe842fe48ffa0245eb (patch) | |
| tree | fb74a37b34ec7334f273e1bc59c18d2daf439583 /src/rt/rust_kernel.h | |
| parent | f6f945fed5c8d1061d80b444331910df29afa392 (diff) | |
| download | rust-49a8cb34d2b6e3f7af4a7cbe842fe48ffa0245eb.tar.gz rust-49a8cb34d2b6e3f7af4a7cbe842fe48ffa0245eb.zip | |
Removed dom_owned, splitting things between task_owned and kernel_owned. Had to re-xfail a few tests brson recently un-xfailed.
Diffstat (limited to 'src/rt/rust_kernel.h')
| -rw-r--r-- | src/rt/rust_kernel.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/rt/rust_kernel.h b/src/rt/rust_kernel.h index ee5cf99ef5d..5e03d8072d6 100644 --- a/src/rt/rust_kernel.h +++ b/src/rt/rust_kernel.h @@ -116,15 +116,6 @@ public: int start_task_threads(int num_threads); }; -inline void *operator new(size_t size, rust_kernel *kernel) { - return kernel->malloc(size); -} - -inline void *operator new(size_t size, rust_kernel &kernel) { - return kernel.malloc(size); -} - - class rust_task_thread : public rust_thread { int id; rust_kernel *owner; |
