ImPrimitiveArrayPtrType type = (ImPrimitiveArrayPtrType) lhs.type();
JimpleExpr elementCount = getNumElementsExpr(context, sizeArg, type.baseType().componentType());
// assign to our lhs
((ImLValue)lhs).writeAssignment(context, new NewArrayExpr(type.baseType().componentType().pointerType(),
elementCount));
}