summaryrefslogtreecommitdiff
path: root/src/jit/jiteh.cpp
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2016-08-12 16:34:18 -0700
committerPat Gavlin <pagavlin@microsoft.com>2016-08-12 16:57:34 -0700
commit828c4a1c7099905e2449692ee32fc64b4a35b507 (patch)
treef89bc6379e8dd453b8937ee6e07b2f0c70b1b9ff /src/jit/jiteh.cpp
parent0f44d3011a49d443eb8198234a6e16cdc7772d97 (diff)
downloadcoreclr-828c4a1c7099905e2449692ee32fc64b4a35b507.tar.gz
coreclr-828c4a1c7099905e2449692ee32fc64b4a35b507.tar.bz2
coreclr-828c4a1c7099905e2449692ee32fc64b4a35b507.zip
Massage the code a bit for jit-format w/ Clang 3.8.
Manually insert a few braces that would otherwise have been inserted in the wrong place.
Diffstat (limited to 'src/jit/jiteh.cpp')
-rw-r--r--src/jit/jiteh.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/jit/jiteh.cpp b/src/jit/jiteh.cpp
index 8098992356..77441a92e9 100644
--- a/src/jit/jiteh.cpp
+++ b/src/jit/jiteh.cpp
@@ -802,11 +802,18 @@ unsigned Compiler::ehTrueEnclosingTryIndexIL(unsigned regionIndex)
{
regionIndex = HBtab->ebdEnclosingTryIndex;
if (regionIndex == EHblkDsc::NO_ENCLOSING_INDEX)
- break; // No enclosing 'try'; we're done
+ {
+ // No enclosing 'try'; we're done
+ break;
+ }
HBtab = ehGetDsc(regionIndex);
if (!EHblkDsc::ebdIsSameILTry(ehDscRoot, HBtab))
- break; // Found an enclosing 'try' that has a different 'try' region (is not mutually-protect with the original region). Return it.
+ {
+ // Found an enclosing 'try' that has a different 'try' region (is not mutually-protect with the
+ // original region). Return it.
+ break;
+ }
}
return regionIndex;