Fix cpplint readability/braces issues
Change-Id: I56b88956510077b0e13aad4caee8898313fab55b
diff --git a/compiler/dex/frontend.cc b/compiler/dex/frontend.cc
index ae160d6..113a80a 100644
--- a/compiler/dex/frontend.cc
+++ b/compiler/dex/frontend.cc
@@ -218,9 +218,8 @@
if (compiler_backend == kPortable) {
cu->cg.reset(PortableCodeGenerator(cu.get(), cu->mir_graph.get(), &cu->arena,
llvm_compilation_unit));
- } else
+ } else {
#endif
- { // NOLINT(whitespace/braces)
switch (compiler.GetInstructionSet()) {
case kThumb2:
cu->cg.reset(ArmCodeGenerator(cu.get(), cu->mir_graph.get(), &cu->arena));
@@ -234,7 +233,9 @@
default:
LOG(FATAL) << "Unexpected instruction set: " << compiler.GetInstructionSet();
}
+#if defined(ART_USE_PORTABLE_COMPILER)
}
+#endif
cu->cg->Materialize();