Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index e892f805efa8f8d0000069c98c63e48faf256f99..b22fafdf8659b693c76a318dfe3988e1b8bfae18 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -5,6 +5,7 @@ |
#include "src/v8.h" |
#include "src/ast.h" |
+#include "src/base/bits.h" |
#include "src/deoptimizer.h" |
#include "src/frames-inl.h" |
#include "src/full-codegen.h" |
@@ -1579,7 +1580,7 @@ int StackHandler::Rewind(Isolate* isolate, |
// ------------------------------------------------------------------------- |
int NumRegs(RegList reglist) { |
- return CompilerIntrinsics::CountSetBits(reglist); |
+ return base::bits::CountSetBits32(reglist); |
} |