Remove dead Sil.binop_invert

Reviewed By: cristianoc

Differential Revision: D3669399

fbshipit-source-id: ccb6118
master
Josh Berdine 8 years ago committed by Facebook Github Bot 8
parent f9ca08a9a8
commit 8a90190309

@ -328,12 +328,6 @@ let exp_is_this =
| _ => false;
/** This function inverts an injective binary operator
with respect to the first argument. It returns an expression [e'] such that
BinOp([binop], [e'], [exp1]) = [exp2]. If the [binop] operation is not invertible,
the function raises an exception by calling "assert false". */
let binop_invert bop e1 e2 => Exp.BinOp (Binop.invert bop) e2 e1;
let path_pos_compare (pn1, nid1) (pn2, nid2) => {
let n = Procname.compare pn1 pn2;
if (n != 0) {

@ -351,13 +351,6 @@ let block_pvar: Pvar.t;
/** Check if a pvar is a local pointing to a block in objc */
let is_block_pvar: Pvar.t => bool;
/** This function inverts an injective binary operator
with respect to the first argument. It returns an expression [e'] such that
BinOp([binop], [e'], [exp1]) = [exp2]. If the [binop] operation is not invertible,
the function raises an exception by calling "assert false". */
let binop_invert: Binop.t => Exp.t => Exp.t => Exp.t;
let mem_kind_compare: mem_kind => mem_kind => int;
let res_act_kind_compare: res_act_kind => res_act_kind => int;

Loading…
Cancel
Save