summaryrefslogtreecommitdiff
path: root/src/hir/deserialise.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-12-11 12:17:17 +0800
committerJohn Hodge <tpg@mutabah.net>2016-12-11 12:17:17 +0800
commit5f22f9f6d48411d56d9999d9a7d2c64b1aa31e73 (patch)
treea5513e62de44aa6f0a3ae37fd0ebfa0a50f54a0e /src/hir/deserialise.cpp
parentb556656fc9141c2d157b8da8fc95adaa16683e40 (diff)
downloadmrust-5f22f9f6d48411d56d9999d9a7d2c64b1aa31e73.tar.gz
Trans - Intrinsics (partially complete)
Diffstat (limited to 'src/hir/deserialise.cpp')
-rw-r--r--src/hir/deserialise.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hir/deserialise.cpp b/src/hir/deserialise.cpp
index f6b624c7..45a60887 100644
--- a/src/hir/deserialise.cpp
+++ b/src/hir/deserialise.cpp
@@ -997,7 +997,10 @@ namespace {
#define _(x, ...) case ::MIR::CallTarget::TAG_##x: return ::MIR::CallTarget::make_##x( __VA_ARGS__ );
_(Value, deserialise_mir_lvalue() )
_(Path, deserialise_path() )
- _(Intrinsic, m_in.read_string() )
+ _(Intrinsic, {
+ m_in.read_string(),
+ deserialise_pathparams()
+ })
#undef _
default:
throw "";