Execute a full callsite for given args

Use this method, instead of send to execute and control the additional behavior of the call-sites

Property definitions

nitc $ NaiveInterpreter :: callsite
	# Execute a full `callsite` for given `args`
	# Use this method, instead of `send` to execute and control the additional behavior of the call-sites
	fun callsite(callsite: nullable CallSite, arguments: Array[Instance]): nullable Instance
	do
		if callsite == null then return null
		return send(callsite.mproperty, arguments)
	end
src/interpreter/naive_interpreter.nit:613,2--619,4

nitc :: vm_optimizations $ VirtualMachine :: callsite
	# Add optimization of the method dispatch
	redef fun callsite(callsite: nullable CallSite, arguments: Array[Instance]): nullable Instance
	do
		return send_optimize(callsite.as(not null), arguments)
	end
src/vm/vm_optimizations.nit:24,2--28,4