add VM_METHOD_TYPE_CONSTVAL for methods returning a constant value
bytecode analysis to determine if an iseq returns a const value
convert method definition to a CONSTVAL if possible