// Copyright 2017 the V8 project authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.#ifndef V8_REGLIST_H_#define V8_REGLIST_H_namespacev8{namespaceinternal{// Register configurations.#if V8_TARGET_ARCH_ARM64typedefuint64_tRegList;#elsetypedefuint32_tRegList;#endif// Get the number of registers in a given register list.inlineintNumRegs(RegListlist){returnbase::bits::CountPopulation(list);}}// namespace internal}// namespace v8#endif // V8_REGLIST_H_