move cross_ref_key to its own table
use LinkedHashMap in LabelVisitor