@@ -700,31 +700,31 @@ impl<'a, S: Source<'a> + 'a> PDBParserInstance<'a, S> {
700700 // TODO: Pointer suffix is not exposed
701701 match data. indirection {
702702 Some ( Indirection :: Near16 ) => Ok ( Some ( Box :: new ( ParsedType :: Bare ( Type :: pointer (
703- & self . arch ,
703+ self . arch ,
704704 base. as_ref ( ) ,
705705 ) ) ) ) ) ,
706706 Some ( Indirection :: Far16 ) => Ok ( Some ( Box :: new ( ParsedType :: Bare ( Type :: pointer (
707- & self . arch ,
707+ self . arch ,
708708 base. as_ref ( ) ,
709709 ) ) ) ) ) ,
710710 Some ( Indirection :: Huge16 ) => Ok ( Some ( Box :: new ( ParsedType :: Bare ( Type :: pointer (
711- & self . arch ,
711+ self . arch ,
712712 base. as_ref ( ) ,
713713 ) ) ) ) ) ,
714714 Some ( Indirection :: Near32 ) => Ok ( Some ( Box :: new ( ParsedType :: Bare ( Type :: pointer (
715- & self . arch ,
715+ self . arch ,
716716 base. as_ref ( ) ,
717717 ) ) ) ) ) ,
718718 Some ( Indirection :: Far32 ) => Ok ( Some ( Box :: new ( ParsedType :: Bare ( Type :: pointer (
719- & self . arch ,
719+ self . arch ,
720720 base. as_ref ( ) ,
721721 ) ) ) ) ) ,
722722 Some ( Indirection :: Near64 ) => Ok ( Some ( Box :: new ( ParsedType :: Bare ( Type :: pointer (
723- & self . arch ,
723+ self . arch ,
724724 base. as_ref ( ) ,
725725 ) ) ) ) ) ,
726726 Some ( Indirection :: Near128 ) => Ok ( Some ( Box :: new ( ParsedType :: Bare ( Type :: pointer (
727- & self . arch ,
727+ self . arch ,
728728 base. as_ref ( ) ,
729729 ) ) ) ) ) ,
730730 None => Ok ( Some ( Box :: new ( ParsedType :: Bare ( base) ) ) ) ,
@@ -1102,7 +1102,7 @@ impl<'a, S: Source<'a> + 'a> PDBParserInstance<'a, S> {
11021102 for ( offset, ( name, method) ) in virt_methods {
11031103 vt. insert (
11041104 & Conf :: new (
1105- Type :: pointer ( & self . arch , & Conf :: new ( method. method_type , max_confidence ( ) ) ) ,
1105+ Type :: pointer ( self . arch , & Conf :: new ( method. method_type , max_confidence ( ) ) ) ,
11061106 max_confidence ( ) ,
11071107 ) ,
11081108 & name,
@@ -1127,7 +1127,7 @@ impl<'a, S: Source<'a> + 'a> PDBParserInstance<'a, S> {
11271127 self . named_types . insert ( vt_name. clone ( ) , vt_type. clone ( ) ) ;
11281128
11291129 let vt_pointer = Type :: pointer (
1130- & self . arch ,
1130+ self . arch ,
11311131 & Conf :: new (
11321132 Type :: named_type_from_type ( & QualifiedName :: from ( vt_name) , vt_type. as_ref ( ) ) ,
11331133 max_confidence ( ) ,
@@ -1245,7 +1245,7 @@ impl<'a, S: Source<'a> + 'a> PDBParserInstance<'a, S> {
12451245 // Return UDT??
12461246 // This probably means the return value got pushed to the stack
12471247 fancy_return_type = Type :: pointer (
1248- & self . arch ,
1248+ self . arch ,
12491249 & Conf :: new ( return_type. clone ( ) , max_confidence ( ) ) ,
12501250 ) ;
12511251 fancy_arguments. insert (
@@ -1528,7 +1528,7 @@ impl<'a, S: Source<'a> + 'a> PDBParserInstance<'a, S> {
15281528 if return_stacky {
15291529 // Stack return via a pointer in the first parameter
15301530 fancy_return_type =
1531- Conf :: new ( Type :: pointer ( & self . arch , & return_type) , max_confidence ( ) ) ;
1531+ Conf :: new ( Type :: pointer ( self . arch , & return_type) , max_confidence ( ) ) ;
15321532 fancy_arguments. insert (
15331533 0 ,
15341534 FunctionParameter :: new ( fancy_return_type. clone ( ) , "__return" . to_string ( ) , None ) ,
@@ -1583,7 +1583,7 @@ impl<'a, S: Source<'a> + 'a> PDBParserInstance<'a, S> {
15831583
15841584 if let Some ( base) = base {
15851585 Ok ( Some ( Box :: new ( ParsedType :: Bare ( Type :: pointer (
1586- & self . arch ,
1586+ self . arch ,
15871587 base. as_ref ( ) ,
15881588 ) ) ) ) )
15891589 } else {
0 commit comments