@@ -838,21 +838,21 @@ impl Compiler {
838
838
self . compile_test ( expression, None , None , EvalContext :: Expression ) ?
839
839
}
840
840
ast:: Expression :: Binop { a, op, b } => {
841
- self . compile_expression ( & * a) ?;
842
- self . compile_expression ( & * b) ?;
841
+ self . compile_expression ( a) ?;
842
+ self . compile_expression ( b) ?;
843
843
844
844
// Perform operation:
845
845
self . compile_op ( op) ;
846
846
}
847
847
ast:: Expression :: Subscript { a, b } => {
848
- self . compile_expression ( & * a) ?;
849
- self . compile_expression ( & * b) ?;
848
+ self . compile_expression ( a) ?;
849
+ self . compile_expression ( b) ?;
850
850
self . emit ( Instruction :: BinaryOperation {
851
851
op : bytecode:: BinaryOperator :: Subscript ,
852
852
} ) ;
853
853
}
854
854
ast:: Expression :: Unop { op, a } => {
855
- self . compile_expression ( & * a) ?;
855
+ self . compile_expression ( a) ?;
856
856
857
857
// Perform operation:
858
858
let i = match op {
@@ -865,14 +865,14 @@ impl Compiler {
865
865
self . emit ( i) ;
866
866
}
867
867
ast:: Expression :: Attribute { value, name } => {
868
- self . compile_expression ( & * value) ?;
868
+ self . compile_expression ( value) ?;
869
869
self . emit ( Instruction :: LoadAttr {
870
870
name : name. to_string ( ) ,
871
871
} ) ;
872
872
}
873
873
ast:: Expression :: Compare { a, op, b } => {
874
- self . compile_expression ( & * a) ?;
875
- self . compile_expression ( & * b) ?;
874
+ self . compile_expression ( a) ?;
875
+ self . compile_expression ( b) ?;
876
876
877
877
let i = match op {
878
878
ast:: Comparison :: Equal => bytecode:: ComparisonOperator :: Equal ,
0 commit comments