MCPcopy Create free account
hub / github.com/Youlor/unpacker / opMoveParam

Method opMoveParam

dexfixer/src/com/android/dx/rop/code/Rops.java:1279–1289  ·  view source on GitHub ↗

Returns the appropriate move-param rop for the given type. The result is a shared instance. @param type non-null; type of value being moved @return non-null; an appropriate instance

(TypeBearer type)

Source from the content-addressed store, hash-verified

1277 * @return {@code non-null;} an appropriate instance
1278 */
1279 public static Rop opMoveParam(TypeBearer type) {
1280 switch (type.getBasicFrameType()) {
1281 case Type.BT_INT: return MOVE_PARAM_INT;
1282 case Type.BT_LONG: return MOVE_PARAM_LONG;
1283 case Type.BT_FLOAT: return MOVE_PARAM_FLOAT;
1284 case Type.BT_DOUBLE: return MOVE_PARAM_DOUBLE;
1285 case Type.BT_OBJECT: return MOVE_PARAM_OBJECT;
1286 }
1287
1288 return throwBadType(type);
1289 }
1290
1291 /**
1292 * Returns the appropriate {@code move-exception} rop for the

Callers 2

ropForMethod · 0.95
addSetupBlocksMethod · 0.95

Calls 2

throwBadTypeMethod · 0.95
getBasicFrameTypeMethod · 0.65

Tested by

no test coverage detected