diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-12 13:16:18 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-12 13:16:18 +0800 |
commit | 912b426c753dd0c1de2acdf80dee6eefc5fea409 (patch) | |
tree | 5cbcd8bce0da1266f0a84aa5e16b48567bed19c1 /src/hir_expand/closures.cpp | |
parent | 27f45b3a201ff3bd39a331c685c1db648a4f11ed (diff) | |
download | mrust-912b426c753dd0c1de2acdf80dee6eefc5fea409.tar.gz |
Make deault ABI a #define
Diffstat (limited to 'src/hir_expand/closures.cpp')
-rw-r--r-- | src/hir_expand/closures.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hir_expand/closures.cpp b/src/hir_expand/closures.cpp index ca117c5d..1c719a77 100644 --- a/src/hir_expand/closures.cpp +++ b/src/hir_expand/closures.cpp @@ -290,7 +290,7 @@ namespace { make_map1( ::std::string("call_once"), ::HIR::TraitImpl::ImplEnt< ::HIR::Function> { false, ::HIR::Function { ::HIR::Function::Receiver::Value, - "rust", false, false, + ABI_RUST, false, false, {}, make_vec2( ::std::make_pair(::HIR::Pattern { {false, ::HIR::PatternBinding::Type::Move, "self", 0}, {} }, ::HIR::TypeRef("Self", 0xFFFF)), @@ -323,7 +323,7 @@ namespace { make_map1( ::std::string("call_mut"), ::HIR::TraitImpl::ImplEnt< ::HIR::Function> { false, ::HIR::Function { ::HIR::Function::Receiver::BorrowUnique, - "rust", false, false, + ABI_RUST, false, false, {}, make_vec2( ::std::make_pair( @@ -357,7 +357,7 @@ namespace { make_map1( ::std::string("call"), ::HIR::TraitImpl::ImplEnt< ::HIR::Function> { false, ::HIR::Function { ::HIR::Function::Receiver::BorrowShared, - "rust", false, false, + ABI_RUST, false, false, {}, make_vec2( ::std::make_pair( |