[Fieldname] Kill equal_modulo_parent

Summary: Function was unused, remove it

Reviewed By: jvillard

Differential Revision: D5227877

fbshipit-source-id: 411c29a
master
Andrzej Kotulski 8 years ago committed by Facebook Github Bot
parent 5a420f7aee
commit 1c8ce44042

@ -99,16 +99,6 @@ let java_get_field fn => {
};
/** Equality for field names ignoring the struct or class which contains the field. */
let equal_modulo_parent x y =>
switch (x, y) {
| (Hidden, Hidden) => true
| (Clang a, Clang b) => Int.equal 0 (compare_clang_field_info a b)
| (Java _, Java _) => String.equal (java_get_field x) (java_get_field y)
| _ => false
};
/** Check if the field is the synthetic this$n of a nested class, used to access the n-th outher instance. */
let java_is_outer_instance fn => {
let fn = to_string fn;

@ -17,10 +17,6 @@ type t [@@deriving compare];
let equal: t => t => bool;
/** Equality for field names ignoring the struct or class which contains the field. */
let equal_modulo_parent: t => t => bool;
/** Set for fieldnames */
module Set: Caml.Set.S with type elt = t;

Loading…
Cancel
Save