Skip to content

Commit 2f9ddd4

Browse files
committed
Code style fixes
***NO_CI***
1 parent 4339159 commit 2f9ddd4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/CLR/Core/Execution.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2368,7 +2368,6 @@ HRESULT CLR_RT_ExecutionEngine::InitializeLocals(
23682368

23692369
goto done;
23702370
}
2371-
23722371
case DATATYPE_MVAR:
23732372
{
23742373
// Method-level generic parameter (e.g., '!!T' in a generic method like Array.Empty<T>())
@@ -2606,13 +2605,16 @@ HRESULT CLR_RT_ExecutionEngine::NewObject(
26062605
// We do the decrement BEFORE the comparison because we want to stop short of the first field,
26072606
// the object descriptor (already initialized).
26082607
//
2608+
26092609
obj += totFields;
26102610
while (--totFields > 0)
26112611
{
26122612
while (clsFields == 0)
26132613
{
26142614
if (instSub.SwitchToParent() == false)
2615+
{
26152616
NANOCLR_SET_AND_LEAVE(CLR_E_FAIL);
2617+
}
26162618

26172619
clsFields = instSub.target->instanceFieldsCount;
26182620
target = nullptr;

0 commit comments

Comments
 (0)