Prefix fixed_results/fixed_value_arguments with num to indicate they return a usize;
This commit is contained in:
committed by
Dan Gohman
parent
e13b0886dc
commit
f896bfb946
@@ -266,7 +266,7 @@ impl<'a> Context<'a> {
|
||||
let retvals = &defs[self.cur.func.dfg[inst]
|
||||
.opcode()
|
||||
.constraints()
|
||||
.fixed_results()..];
|
||||
.num_fixed_results()..];
|
||||
if !retvals.is_empty() {
|
||||
let sig = self
|
||||
.cur
|
||||
@@ -367,7 +367,7 @@ impl<'a> Context<'a> {
|
||||
let offset = self.cur.func.dfg[inst]
|
||||
.opcode()
|
||||
.constraints()
|
||||
.fixed_value_arguments();
|
||||
.num_fixed_value_arguments();
|
||||
if args.len() == offset {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user