diff options
| author | Eric Holk <eholk@mozilla.com> | 2011-07-19 14:31:55 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-07-21 11:51:22 -0700 |
| commit | d79afd7916dc2b5353666c301b93c09fdba29134 (patch) | |
| tree | 90c8c310a21a8126be1cd1eecaedcf3ddfd636e1 /src/rt/rust_port.cpp | |
| parent | 3ae4dcd41e72d197e3882835253745f79588b04a (diff) | |
| download | rust-d79afd7916dc2b5353666c301b93c09fdba29134.tar.gz rust-d79afd7916dc2b5353666c301b93c09fdba29134.zip | |
Improving move semantics for channel operations.
This lets us un-XFAIL task-comm-10.rs.
Diffstat (limited to 'src/rt/rust_port.cpp')
| -rw-r--r-- | src/rt/rust_port.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_port.cpp b/src/rt/rust_port.cpp index 48ce42ca7cb..19592f4c869 100644 --- a/src/rt/rust_port.cpp +++ b/src/rt/rust_port.cpp @@ -10,8 +10,8 @@ rust_port::rust_port(rust_task *task, size_t unit_sz) PRIxPTR, (uintptr_t)task, unit_sz, (uintptr_t)this); // Allocate a remote channel, for remote channel data. - remote_channel = new (task->kernel, "remote chan") - rust_chan(task, this, unit_sz); + remote_channel = new (kernel, "remote chan") + rust_chan(kernel, this, unit_sz); } rust_port::~rust_port() { |
