Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove FIXMEs and unused field
  • Loading branch information
lambdageek authored and github-actions committed Nov 1, 2022
commit 1e94e62b69ef7a69e85ae07caf024912247d6b20
1 change: 0 additions & 1 deletion src/mono/mono/component/hot_reload-internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ typedef struct _MonoClassMetadataUpdateEvent {
} MonoClassMetadataUpdateEvent;

typedef struct _MonoMethodMetadataUpdateParamInfo {
uint32_t method_token; /* which method is this about */
uint32_t first_param_token; /* a Param token */
uint32_t param_count;
} MonoMethodMetadataUpdateParamInfo;
Expand Down
5 changes: 0 additions & 5 deletions src/mono/mono/component/hot_reload.c
Original file line number Diff line number Diff line change
Expand Up @@ -2392,11 +2392,6 @@ apply_enclog_pass2 (Pass2Context *ctx, MonoImage *image_base, BaselineInfo *base
*/
if (is_addition) {
g_assert (add_field_method != 0);
/*
* FIXME: we need a lookaside table (like member_parent) for every place
* that looks at MONO_METHOD_PARAMLIST
*/

uint32_t parent_type_token = hot_reload_method_parent (image_base, add_field_method);
g_assert (parent_type_token != 0); // we added a parameter to a method that was added
if (pass2_context_is_skeleton (ctx, parent_type_token)) {
Expand Down
1 change: 0 additions & 1 deletion src/mono/mono/metadata/custom-attrs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2250,7 +2250,6 @@ mono_custom_attrs_from_param_checked (MonoMethod *method, guint32 param, MonoErr
return NULL;
ca = &image->tables [MONO_TABLE_METHOD];

/* FIXME: metadata-update - lookup added params */
param_list = mono_metadata_decode_row_col (ca, method_index - 1, MONO_METHOD_PARAMLIST);
if (G_UNLIKELY (param_list == 0 && image->has_updates)) {
uint32_t count;
Expand Down