3 #include "interp/interp.h"
5 /* interpreter callback stubs */
8 stub_find_jit_info (MonoDomain
*domain
, MonoMethod
*method
)
14 stub_set_breakpoint (MonoJitInfo
*jinfo
, gpointer ip
)
16 g_assert_not_reached ();
20 stub_clear_breakpoint (MonoJitInfo
*jinfo
, gpointer ip
)
22 g_assert_not_reached ();
26 stub_frame_get_jit_info (MonoInterpFrameHandle frame
)
28 g_assert_not_reached ();
33 stub_frame_get_ip (MonoInterpFrameHandle frame
)
35 g_assert_not_reached ();
40 stub_frame_get_arg (MonoInterpFrameHandle frame
, int pos
)
42 g_assert_not_reached ();
47 stub_frame_get_local (MonoInterpFrameHandle frame
, int pos
)
49 g_assert_not_reached ();
54 stub_frame_get_this (MonoInterpFrameHandle frame
)
56 g_assert_not_reached ();
60 static MonoInterpFrameHandle
61 stub_frame_get_parent (MonoInterpFrameHandle frame
)
63 g_assert_not_reached ();
68 stub_frame_get_res (MonoInterpFrameHandle frame
)
70 g_assert_not_reached ();
75 stub_start_single_stepping (void)
80 stub_stop_single_stepping (void)
85 stub_set_resume_state (MonoJitTlsData
*jit_tls
, MonoException
*ex
, MonoJitExceptionInfo
*ei
, MonoInterpFrameHandle interp_frame
, gpointer handler_ip
)
87 g_assert_not_reached ();
91 stub_get_resume_state (const MonoJitTlsData
*jit_tls
, gboolean
*has_resume_state
, MonoInterpFrameHandle
*interp_frame
, gpointer
*handler_ip
)
93 *has_resume_state
= FALSE
;
97 stub_run_finally (StackFrameInfo
*frame
, int clause_index
, gpointer handler_ip
, gpointer handler_ip_end
)
99 g_assert_not_reached ();
103 stub_run_filter (StackFrameInfo
*frame
, MonoException
*ex
, int clause_index
, gpointer handler_ip
, gpointer handler_ip_end
)
105 g_assert_not_reached ();
110 stub_frame_iter_init (MonoInterpStackIter
*iter
, gpointer interp_exit_data
)
112 g_assert_not_reached ();
116 stub_frame_iter_next (MonoInterpStackIter
*iter
, StackFrameInfo
*frame
)
118 g_assert_not_reached ();
123 stub_create_method_pointer (MonoMethod
*method
, gboolean compile
, MonoError
*error
)
125 g_assert_not_reached ();
130 stub_create_method_pointer_llvmonly (MonoMethod
*method
, gboolean compile
, MonoError
*error
)
132 g_assert_not_reached ();
137 stub_runtime_invoke (MonoMethod
*method
, void *obj
, void **params
, MonoObject
**exc
, MonoError
*error
)
139 g_assert_not_reached ();
144 stub_init_delegate (MonoDelegate
*del
, MonoError
*error
)
146 g_assert_not_reached ();
150 stub_get_remoting_invoke (MonoMethod
*method
, gpointer imethod
, MonoError
*error
)
152 g_assert_not_reached ();
157 stub_delegate_ctor (MonoObjectHandle this_obj
, MonoObjectHandle target
, gpointer addr
, MonoError
*error
)
159 g_assert_not_reached ();
163 stub_entry_from_trampoline (gpointer ccontext
, gpointer imethod
)
165 g_assert_not_reached ();
169 stub_to_native_trampoline (gpointer addr
, gpointer ccontext
)
171 g_assert_not_reached ();
175 stub_frame_arg_to_data (MonoInterpFrameHandle frame
, MonoMethodSignature
*sig
, int index
, gpointer data
)
177 g_assert_not_reached ();
181 stub_data_to_frame_arg (MonoInterpFrameHandle frame
, MonoMethodSignature
*sig
, int index
, gpointer data
)
183 g_assert_not_reached ();
187 stub_frame_arg_to_storage (MonoInterpFrameHandle frame
, MonoMethodSignature
*sig
, int index
)
189 g_assert_not_reached ();
194 stub_frame_arg_set_storage (MonoInterpFrameHandle frame
, MonoMethodSignature
*sig
, int index
, gpointer storage
)
196 g_assert_not_reached ();
199 #undef MONO_EE_CALLBACK
200 #define MONO_EE_CALLBACK(ret, name, sig) stub_ ## name,
202 static const MonoEECallbacks mono_interp_stub_callbacks
= {
207 mono_interp_stub_init (void)
209 if (mini_get_interp_callbacks ())
210 /* already initialized */
213 mini_install_interp_callbacks (&mono_interp_stub_callbacks
);