Address review comments

This commit is contained in:
Alex Crichton 2017-06-24 21:51:34 -07:00
parent c193113721
commit afe5c717a9
1 changed files with 2 additions and 6 deletions

View File

@ -3,8 +3,8 @@
/// The "main macro" used for defining intrinsics. /// The "main macro" used for defining intrinsics.
/// ///
/// The compiler-builtins library is super platform-specific with tons of crazy /// The compiler-builtins library is super platform-specific with tons of crazy
/// little tweaks for various platforms. As a result it *could* involve a lot fo /// little tweaks for various platforms. As a result it *could* involve a lot of
/// #[cfg] and macro soup, but the intention is that this macro alleviates a lof /// #[cfg] and macro soup, but the intention is that this macro alleviates a lot
/// of that complexity. Ideally this macro has all the weird ABI things /// of that complexity. Ideally this macro has all the weird ABI things
/// platforms need and elsewhere in this library it just looks like normal Rust /// platforms need and elsewhere in this library it just looks like normal Rust
/// code. /// code.
@ -220,10 +220,6 @@ macro_rules! intrinsics {
pub extern "aapcs" fn $alias( $($argname: $ty),* ) -> $ret { pub extern "aapcs" fn $alias( $($argname: $ty),* ) -> $ret {
super::$name($($argname),*) super::$name($($argname),*)
} }
pub extern $abi fn $name( $($argname: $ty),* ) -> $ret {
super::$name($($argname),*)
}
} }
} }