Skip to content

Commit 5c84183

Browse files
committed
Move debug info about fields name to correct location
1 parent 4803a77 commit 5c84183

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/CLR/Core/Execution.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2333,17 +2333,17 @@ HRESULT CLR_RT_ExecutionEngine::NewObject(
23332333
{
23342334
assm = instSub.assembly;
23352335
target = assm->GetFieldDef(instSub.target->firstInstanceField + clsFields);
2336-
2337-
#if defined(NANOCLR_INSTANCE_NAMES)
2338-
const char *typeName = assm->GetString(target->type);
2339-
const char *fieldName = assm->GetString(target->name);
2340-
#endif
23412336
}
23422337

23432338
obj--;
23442339
target--;
23452340
clsFields--;
23462341

2342+
#if defined(NANOCLR_INSTANCE_NAMES)
2343+
const char *typeName = assm->GetString(target->type);
2344+
const char *fieldName = assm->GetString(target->name);
2345+
#endif
2346+
23472347
NANOCLR_CHECK_HRESULT(InitializeReference(*obj, target, assm, genericInstance));
23482348
}
23492349
}

0 commit comments

Comments
 (0)