Callback function should provide info about the constant so that we can deoptimize blocks that rely on the constant.