diff options
| author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-05-25 15:22:25 -0400 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-05-25 15:22:25 -0400 |
| commit | db47cb5c1355041a30475e2d32debded1811a354 (patch) | |
| tree | 56241d5804502b60e74fe3697a6b9d7dea00effa /src/rt | |
| parent | 0e324cad0a37bdaa0aebb864c3da28b25ad1ebf6 (diff) | |
| download | rust-db47cb5c1355041a30475e2d32debded1811a354.tar.gz rust-db47cb5c1355041a30475e2d32debded1811a354.zip | |
Dead code.
Diffstat (limited to 'src/rt')
| -rw-r--r-- | src/rt/rust.cpp | 2 | ||||
| -rw-r--r-- | src/rt/rust_crate_reader.cpp | 3 | ||||
| -rw-r--r-- | src/rt/rust_internal.h | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp index b5af9eef1b3..245b068df63 100644 --- a/src/rt/rust.cpp +++ b/src/rt/rust.cpp @@ -95,7 +95,7 @@ rust_start(uintptr_t main_fn, rust_crate const *crate, int argc, } if (log_rt_dwarf) { - rust_crate_reader create_reader(dom, crate); + rust_crate_reader create_reader(dom); } uintptr_t main_args[4] = {0, 0, 0, (uintptr_t)args->args}; diff --git a/src/rt/rust_crate_reader.cpp b/src/rt/rust_crate_reader.cpp index bee15f50048..15f4bc8c092 100644 --- a/src/rt/rust_crate_reader.cpp +++ b/src/rt/rust_crate_reader.cpp @@ -61,8 +61,7 @@ rust_crate_reader::attr::is_unknown() const { return !(is_numeric() || is_string()); } -rust_crate_reader::rust_crate_reader(rust_dom *dom, - rust_crate const *crate) +rust_crate_reader::rust_crate_reader(rust_dom *dom) : dom(dom) { DLOG(dom, mem, "crate_reader on crate: 0x%" PRIxPTR, this); diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h index 0f8b10c2bb1..25eb9dbed48 100644 --- a/src/rt/rust_internal.h +++ b/src/rt/rust_internal.h @@ -352,7 +352,7 @@ public: bool is_unknown() const; }; - rust_crate_reader(rust_dom *dom, rust_crate const *crate); + rust_crate_reader(rust_dom *dom); }; // An alarm can be put into a wait queue and the task will be notified |
