[interp] make mixed mode work on arm64
[mono.git] / mono / mini / mini-exceptions.c
index 099e6e10dd03ccda34fd010318f18e52b37674e5..f03d962cbbf2b6879aaa71108f9bfa746339e4ac 100644 (file)
@@ -2129,8 +2129,10 @@ mono_handle_exception_internal (MonoContext *ctx, MonoObject *obj, gboolean resu
                                                 */
                                                mono_interp_set_resume_state (mono_ex, &frame, ei->handler_start);
                                                /* Undo the IP adjustment done by mono_arch_unwind_frame () */
-#ifdef TARGET_AMD64
+#if defined(TARGET_AMD64)
                                                ctx->gregs [AMD64_RIP] ++;
+#elif defined(TARGET_ARM64)
+                                               ctx->pc ++;
 #else
                                                NOT_IMPLEMENTED;
 #endif