]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/DefaultExceptionHandlerLib: put ASSERT (FALSE) last
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 1 Jul 2016 10:29:37 +0000 (12:29 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 1 Jul 2016 11:24:25 +0000 (13:24 +0200)
commitf9ebccec096742465c0dfbbbb123d2c39f554d40
tree5af35ca277ed52a8c8103be7e888a26987f90d82
parent87f66b63d409fde7d2ea018b65a63986ba413f1f
ArmPkg/DefaultExceptionHandlerLib: put ASSERT (FALSE) last

Putting DEBUG () code after an ASSERT (FALSE) statement is not very
useful, since the code will be unreachable on DEBUG builds and compiled
out on RELEASE builds. So move the ASSERT () statement after it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c