Skip to content

Commit d9dda45

Browse files
author
Brian Raderman
committed
Changing sequence point IDs to integers because they are array
indexes now instead of arbitrary hash codes.
1 parent e01ef6d commit d9dda45

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

mono/mini/debugger-agent.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5675,7 +5675,7 @@ static void
56755675
#ifndef RUNTIME_IL2CPP
56765676
process_single_step_inner (DebuggerTlsData *tls, gboolean from_signal)
56775677
#else
5678-
process_single_step_inner (DebuggerTlsData *tls, gboolean from_signal, uint64_t sequencePointId)
5678+
process_single_step_inner (DebuggerTlsData *tls, gboolean from_signal, int sequencePointId)
56795679
#endif
56805680
{
56815681
MonoJitInfo *ji;
@@ -5871,7 +5871,7 @@ void
58715871
#ifndef RUNTIME_IL2CPP
58725872
debugger_agent_single_step_from_context (MonoContext *ctx)
58735873
#else
5874-
debugger_agent_single_step_from_context (MonoContext *ctx, uint64_t sequencePointId)
5874+
debugger_agent_single_step_from_context (MonoContext *ctx, int sequencePointId)
58755875
#endif
58765876
{
58775877
DebuggerTlsData *tls;

mono/mini/debugger-agent.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void
3030
#ifndef RUNTIME_IL2CPP
3131
debugger_agent_single_step_from_context (MonoContext *ctx);
3232
#else
33-
debugger_agent_single_step_from_context (MonoContext *ctx, uint64_t sequencePointId);
33+
debugger_agent_single_step_from_context (MonoContext *ctx, int sequencePointId);
3434
#endif
3535

3636
void

mono/mini/il2cpp-compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,6 @@ MonoGenericInst* il2cpp_method_get_generic_class_inst(MonoMethodInflated *imetho
444444
MonoClass* il2cpp_generic_class_get_container_class(MonoGenericClass *gclass);
445445
void il2cpp_mono_thread_detach(MonoThread* thread);
446446
MonoClass* il2cpp_mono_get_string_class (void);
447-
Il2CppSequencePoint* il2cpp_get_sequence_point(size_t id);
447+
Il2CppSequencePoint* il2cpp_get_sequence_point(int id);
448448

449449
#endif // RUNTIME_IL2CPP

mono/mini/il2cpp-stubs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ MonoClass* il2cpp_mono_get_string_class (void)
14821482
return (MonoClass*)il2cpp_defaults.string_class;
14831483
}
14841484

1485-
Il2CppSequencePoint* il2cpp_get_sequence_point(size_t id)
1485+
Il2CppSequencePoint* il2cpp_get_sequence_point(int id)
14861486
{
14871487
#if IL2CPP_MONO_DEBUGGER
14881488
return il2cpp::utils::Debugger::GetSequencePoint(id);

0 commit comments

Comments
 (0)