mir: Support RustCall ABI functions.
This commit is contained in:
parent
92e485874e
commit
b63a5eed6e
4 changed files with 54 additions and 10 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue