diff options
| author | Michael Krasnitski <michael.krasnitski@gmail.com> | 2023-01-06 14:13:55 -0500 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2023-01-06 18:04:05 -0500 |
| commit | ad7f5293db22e23d8d50077aa99f5d7a904092fc (patch) | |
| tree | 294217bc06b0cdc3a86ebdb1132ad8cddd02d5ce /rust/src/callingconvention.rs | |
| parent | c97b7d878c048312257843ee585280cc07a906e7 (diff) | |
Rust API: Additional Cleanup
Diffstat (limited to 'rust/src/callingconvention.rs')
| -rw-r--r-- | rust/src/callingconvention.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/callingconvention.rs b/rust/src/callingconvention.rs index 99b6c654..52d1407c 100644 --- a/rust/src/callingconvention.rs +++ b/rust/src/callingconvention.rs @@ -449,7 +449,7 @@ impl<A: Architecture> CallingConvention<A> { pub fn variables_for_parameters<S: Clone + BnStrCompatible>( &self, params: &[FunctionParameter<S>], - int_arg_registers: Option<Vec<A::Register>>, + int_arg_registers: Option<&[A::Register]>, ) -> Vec<Variable> { let mut bn_params: Vec<BNFunctionParameter> = vec![]; let mut name_strings = vec![]; |
