| Index: base/logging.h
|
| diff --git a/base/logging.h b/base/logging.h
|
| index 2d1a83e364934af23be2eef6e990cb04294f31ff..7854e3934e974b4670930d6855f3ab8699a8376f 100644
|
| --- a/base/logging.h
|
| +++ b/base/logging.h
|
| @@ -15,6 +15,7 @@
|
| #include <utility>
|
|
|
| #include "base/base_export.h"
|
| +#include "base/compiler_specific.h"
|
| #include "base/debug/debugger.h"
|
| #include "base/macros.h"
|
| #include "base/template_util.h"
|
| @@ -482,7 +483,7 @@ class CheckOpResult {
|
| // calling an out-of-line function instead of a noreturn inline macro prevents
|
| // compiler optimizations.
|
| #define CHECK(condition) \
|
| - !(condition) ? IMMEDIATE_CRASH() : EAT_STREAM_PARAMETERS
|
| + UNLIKELY(!(condition)) ? IMMEDIATE_CRASH() : EAT_STREAM_PARAMETERS
|
|
|
| #define PCHECK(condition) CHECK(condition)
|
|
|
|
|