nitc $ SeparateThunkFunction :: SELF
Type of this instance, automatically specialized in every classnitc $ SeparateThunkFunction :: target_recv
The type expected by the callee. Used to resolvemmethoddef
's formal
nitc :: SeparateRuntimeFunction :: _build_c_name
The name on the compiled methodnitc :: SeparateRuntimeFunction :: _c_funptrtype
The C type for the function pointer.nitc :: SeparateRuntimeFunction :: _c_ret
The C return type (something orvoid
)
nitc :: SeparateRuntimeFunction :: _c_sig
The C signature (only the parmeter part)nitc :: SeparateRuntimeFunction :: _called_recv
The call-side static receivernitc :: SeparateRuntimeFunction :: _called_signature
The call-side static signaturenitc :: AbstractRuntimeFunction :: _mmethoddef
The associated Nit methodnitc :: ThunkFunction :: _polymorph_call_flag
Determines if the callsite should be polymorphic or static.nitc :: AbstractRuntimeFunction :: body_to_c
Generate the code for the body without return statement at the end andnitc :: AbstractRuntimeFunction :: build_c_name
Non cached version ofc_name
nitc :: SeparateRuntimeFunction :: build_c_name=
The name on the compiled methodnitc :: AbstractRuntimeFunction :: build_frame
Builds the static frame for current runtime methodnitc :: SeparateRuntimeFunction :: c_funptrtype
The C type for the function pointer.nitc :: SeparateRuntimeFunction :: c_funptrtype=
The C type for the function pointer.nitc :: AbstractRuntimeFunction :: c_name
The mangled c name of the runtime_functionnitc :: AbstractRuntimeFunction :: c_ref
nitc :: SeparateRuntimeFunction :: c_ret=
The C return type (something orvoid
)
nitc :: SeparateRuntimeFunction :: c_sig=
The C signature (only the parmeter part)nitc :: AbstractRuntimeFunction :: call
Implements a call of the runtime_functionnitc :: SeparateRuntimeFunction :: called_recv=
The call-side static receivernitc :: SeparateRuntimeFunction :: called_signature
The call-side static signaturenitc :: SeparateRuntimeFunction :: called_signature=
The call-side static signaturecore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitc :: AbstractRuntimeFunction :: compile_to_c
Generate the codenitc :: SeparateRuntimeFunction :: compile_trampolines
Compile the trampolines used to implement late-binding.nitc :: AbstractRuntimeFunction :: declare_signature
How the concrete compiler will declare the method, e.g inside a global header file,nitc :: ThunkFunction :: defaultinit
core :: Object :: defaultinit
nitc :: AbstractRuntimeFunction :: end_compile_to_c
Hook called at the end ofcompile_to_c
function. This function
nitc :: AbstractRuntimeFunction :: fill_parameters
Fills the argument array inside v.frame.arguments, callingresolve_ith_parameter
nitc :: AbstractRuntimeFunction :: has_return
Returnstrue
if the associated mmethoddef
's return type isn't null,
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
nitc :: AbstractRuntimeFunction :: mmethoddef=
The associated Nit methodnitc :: AbstractRuntimeFunction :: msignature
The current msignature to use when compiling :signature_to_c
and body_to_c
.
core :: Object :: native_class_name
The class name of the object in CString format.core :: Object :: output_class_name
Display class name on stdout (debug only).nitc :: ThunkFunction :: polymorph_call_flag
Determines if the callsite should be polymorphic or static.nitc :: ThunkFunction :: polymorph_call_flag=
Determines if the callsite should be polymorphic or static.nitc :: AbstractRuntimeFunction :: recv_mtype
The current receiver type to compile :signature_to_c
and body_to_c
.
nitc :: AbstractRuntimeFunction :: resolve_ith_parameter
Step 4 : CreatesRuntimeVariable
for each method argument.
nitc :: AbstractRuntimeFunction :: resolve_receiver
Prepare theself
runtime variable to be used by the rest of
nitc :: AbstractRuntimeFunction :: resolve_return_mtype
Step 3 : Returns the return type used by the runtime function.nitc :: AbstractRuntimeFunction :: signature_to_c
Generate the code for the signature with an open curly bracenitc :: ThunkFunction :: target_recv
The type expected by the callee. Used to resolvemmethoddef
's formal
nitc :: AbstractRuntimeFunction
A C function associated to a Nit methodnitc :: SeparateRuntimeFunction
The C function associated to a methoddef separately compiled
class SeparateThunkFunction
super ThunkFunction
super SeparateRuntimeFunction
redef var target_recv
end
src/compiler/separate_compiler.nit:2624,1--2628,3