public static Rop opMarkLocal(TypeBearer type) {
    switch (type.getBasicFrameType()) {
      case Type.BT_INT:
        return MARK_LOCAL_INT;
      case Type.BT_LONG:
        return MARK_LOCAL_LONG;
      case Type.BT_FLOAT:
        return MARK_LOCAL_FLOAT;
      case Type.BT_DOUBLE:
        return MARK_LOCAL_DOUBLE;
      case Type.BT_OBJECT:
        return MARK_LOCAL_OBJECT;
    }

    return throwBadType(type);
  }
Returns the appropriate {@code mark-local} rop for the given type. The result is a shared
instance.

@param type {@code non-null;} type of value being marked
@return {@code non-null;} an appropriate instance
android/android_framework/dex-maker/src/main/java/com/android/dx/rop/code/Rops.java