Fix warnings about tautological compares by recent Clang versions.
This fixes the following Clang warnings: ../../v8/src/ia32/assembler-ia32.cc:1504:24: warning: comparison of constant 16 with expression of type 'v8::internal::Condition' is always true [-Wtautological-constant-out-of-range-compare] ASSERT(0 <= cc && cc < 16); ~~~~~~~~~~~~~~~~~~~~~^~~~~ ../../v8/src/ia32/assembler-ia32.cc:1536:27: warning: comparison of constant 16 with expression of type 'v8::internal::Condition' is always true [-Wtautological-constant-out-of-range-compare] ASSERT((0 <= cc) && (cc < 16)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUG=crbug.com/151927 Review URL: https://chromiumcodereview.appspot.com/11225030 Patch from Hans Wennborg <hans@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12792 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Showing
Please
register
or
sign in
to comment