Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index 67886a9acc816697123447db6cde098cf7a0c709..adfec476340f20b78ac885a7bf6e1fd3a1d36105 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -4,6 +4,7 @@ |
#include "src/compiler/simplified-lowering.h" |
+#include "src/base/bits.h" |
#include "src/compiler/common-operator.h" |
#include "src/compiler/graph-inl.h" |
#include "src/compiler/node-properties-inl.h" |
@@ -151,7 +152,8 @@ class RepresentationSelector { |
// Every node should have at most one output representation. Note that |
// phis can have 0, if they have not been used in a representation-inducing |
// instruction. |
- DCHECK((output & kRepMask) == 0 || IsPowerOf2(output & kRepMask)); |
+ DCHECK((output & kRepMask) == 0 || |
+ base::bits::IsPowerOfTwo32(output & kRepMask)); |
GetInfo(node)->output = output; |
} |