From 912b426c753dd0c1de2acdf80dee6eefc5fea409 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Wed, 12 Oct 2016 13:16:18 +0800 Subject: Make deault ABI a #define --- src/hir_expand/closures.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/hir_expand/closures.cpp') 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( -- cgit v1.2.3