Merge "Add weight to compiled/interpreter transitions." into nyc-dev