mir: Support RustCall ABI functions.

This commit is contained in:
Eduard Burtescu 2016-03-08 14:24:44 +02:00
parent 92e485874e
commit b63a5eed6e
4 changed files with 54 additions and 10 deletions

View file

@ -178,6 +178,10 @@ pub struct TempDecl<'tcx> {
#[derive(Clone, Debug, RustcEncodable, RustcDecodable)]
pub struct ArgDecl<'tcx> {
pub ty: Ty<'tcx>,
/// If true, this argument is a tuple after monomorphization,
/// and has to be collected from multiple actual arguments.
pub spread: bool
}
///////////////////////////////////////////////////////////////////////////