File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2198,6 +2198,8 @@ int InterpCompiler::GenerateCode(CORINFO_METHOD_INFO* methodInfo)
2198
2198
InterpBasicBlock funclet_head = {0 };
2199
2199
InterpBasicBlock* funclet_tail = &funclet_head;
2200
2200
InterpBasicBlock* body_tail = m_pEntryBB;
2201
+ bool first_pass = true ;
2202
+ bool is_first_exception_funclet_instruction = false ;
2201
2203
2202
2204
if (!CreateBasicBlocks (methodInfo))
2203
2205
{
@@ -2227,11 +2229,8 @@ int InterpCompiler::GenerateCode(CORINFO_METHOD_INFO* methodInfo)
2227
2229
linkBBlocks = true ;
2228
2230
needsRetryEmit = false ;
2229
2231
2230
- bool first_pass = true ;
2231
-
2232
2232
retry_emit:
2233
2233
emittedBBlocks = false ;
2234
- bool is_first_exception_funclet_instruction = false ;
2235
2234
2236
2235
while (m_ip < codeEnd)
2237
2236
{
@@ -3779,6 +3778,7 @@ void InterpCompiler::PrintBBCode(InterpBasicBlock *pBB)
3779
3778
case CATCH_ENTRY: printf (" Enter catch\n " ); break ;
3780
3779
case FILTER_ENTRY: printf (" Enter filter\n " ); break ;
3781
3780
case FINALLY_ENTRY: printf (" Enter finally\n " ); break ;
3781
+ default : break ;
3782
3782
}
3783
3783
for (InterpInst *ins = pBB->pFirstIns ; ins != NULL ; ins = ins->pNext )
3784
3784
{
@@ -3804,6 +3804,7 @@ void InterpCompiler::PrintBBCode(InterpBasicBlock *pBB)
3804
3804
case FINALLY_ENTRY:
3805
3805
printf (" Exit finally\n " );
3806
3806
break ;
3807
+ default : break ;
3807
3808
}
3808
3809
}
3809
3810
}
Original file line number Diff line number Diff line change @@ -4361,7 +4361,6 @@ TADDR InterpreterJitManager::GetFuncletStartAddress(EECodeInfo * pCodeInfo)
4361
4361
// before its handler funclet. So the filter end offset is equal to the start offset of the handler funclet.
4362
4362
if (IsFilterHandler (&ehClause) && (ehClause.FilterOffset <= relOffset) && (relOffset < ehClause.HandlerStartPC ))
4363
4363
{
4364
- // Filter handlers are not funclets, but we need to return the start address of the filter code.
4365
4364
return methodBaseAddress + ehClause.FilterOffset ;
4366
4365
}
4367
4366
}
You can’t perform that action at this time.
0 commit comments