@@ -132,7 +132,7 @@ impl NumberOperationState {
132132 }
133133}
134134
135- fn vector_table_funs_name_propogate_to_dest ( callee_name : & str ) -> bool {
135+ fn vector_table_funs_name_propagate_to_dest ( callee_name : & str ) -> bool {
136136 callee_name. contains ( "borrow" )
137137 || callee_name. contains ( "borrow_mut" )
138138 || callee_name. contains ( "pop_back" )
@@ -142,15 +142,15 @@ fn vector_table_funs_name_propogate_to_dest(callee_name: &str) -> bool {
142142 || callee_name. contains ( "spec_get" )
143143}
144144
145- fn vector_funs_name_propogate_to_srcs ( callee_name : & str ) -> bool {
145+ fn vector_funs_name_propagate_to_srcs ( callee_name : & str ) -> bool {
146146 callee_name == "contains"
147147 || callee_name == "index_of"
148148 || callee_name == "append"
149149 || callee_name == "push_back"
150150 || callee_name == "insert"
151151}
152152
153- fn table_funs_name_propogate_to_srcs ( callee_name : & str ) -> bool {
153+ fn table_funs_name_propagate_to_srcs ( callee_name : & str ) -> bool {
154154 callee_name == "add" || callee_name == "borrow_mut_with_default" || callee_name == "upsert"
155155}
156156
@@ -301,7 +301,7 @@ impl<'a> NumberOperationAnalysis<'a> {
301301 let oper_first =
302302 global_state. get_node_num_oper ( args[ 0 ] . node_id ( ) ) ;
303303 // First argument is the target vector and the return type has the same NumberOperation type
304- if vector_table_funs_name_propogate_to_dest ( & callee_name) {
304+ if vector_table_funs_name_propagate_to_dest ( & callee_name) {
305305 global_state. update_node_oper ( * id, oper_first, true ) ;
306306 } else {
307307 global_state. update_node_oper ( * id, Bottom , allow_merge) ;
@@ -1035,7 +1035,7 @@ impl<'a> TransferFunctions for NumberOperationAnalysis<'a> {
10351035 . get_temp_index_oper ( cur_mid, cur_fid, srcs[ 0 ] , baseline_flag)
10361036 . unwrap ( ) ;
10371037 // Bitwise is specified explicitly in the fun or struct spec
1038- if vector_table_funs_name_propogate_to_dest ( & callee_name) {
1038+ if vector_table_funs_name_propagate_to_dest ( & callee_name) {
10391039 if * first_oper == Bitwise {
10401040 // Do not consider the method remove_return_key where the first return value is k
10411041 for dest in dests. iter ( ) {
@@ -1050,7 +1050,7 @@ impl<'a> TransferFunctions for NumberOperationAnalysis<'a> {
10501050 let mut second_oper = first_oper;
10511051 let mut src_idx = 0 ;
10521052 if module_env. is_std_vector ( )
1053- && vector_funs_name_propogate_to_srcs ( & callee_name)
1053+ && vector_funs_name_propagate_to_srcs ( & callee_name)
10541054 {
10551055 assert ! ( srcs. len( ) > 1 ) ;
10561056 second_oper = global_state
@@ -1062,7 +1062,7 @@ impl<'a> TransferFunctions for NumberOperationAnalysis<'a> {
10621062 )
10631063 . unwrap ( ) ;
10641064 src_idx = 1 ;
1065- } else if table_funs_name_propogate_to_srcs ( & callee_name) {
1065+ } else if table_funs_name_propagate_to_srcs ( & callee_name) {
10661066 assert ! ( srcs. len( ) > 2 ) ;
10671067 second_oper = global_state
10681068 . get_temp_index_oper (
0 commit comments