OSDN Git Service

Enable -Wunreachable-code
authorIan Rogers <irogers@google.com>
Tue, 30 Sep 2014 22:43:59 +0000 (15:43 -0700)
committerIan Rogers <irogers@google.com>
Tue, 30 Sep 2014 22:43:59 +0000 (15:43 -0700)
commit07140838a3ee44a6056cacdc78f2930e019107da
tree4f344df6ec2612d8ddbf0a00e2b49a39a7501249
parentf9098ea6d7326b4d8de2860d18adf74046b80855
Enable -Wunreachable-code

Caught bugs in DeoptimizeStackVisitor and assemble_x86 SIB encoding.
Add UNREACHABLE macro to document code expected to be unreachable.
Bug: 17731047

Change-Id: I2e363fe5b38a1246354d98be18c902a6031c0b9e
build/Android.common_build.mk
compiler/dex/quick/x86/assemble_x86.cc
runtime/base/macros.h
runtime/class_linker.cc
runtime/mirror/object.cc
runtime/parsed_options.cc
runtime/quick_exception_handler.cc