Merge "Remove unused code."
This commit is contained in:
commit
fcf1fe48ab
1 changed files with 0 additions and 5 deletions
|
@ -24,11 +24,6 @@
|
||||||
#include <benchmark/benchmark.h>
|
#include <benchmark/benchmark.h>
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
#if defined(__BIONIC__)
|
|
||||||
|
|
||||||
#else
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static __always_inline void MakeAllocationResident(void* ptr, size_t nbytes, int pagesize) {
|
static __always_inline void MakeAllocationResident(void* ptr, size_t nbytes, int pagesize) {
|
||||||
uint8_t* data = reinterpret_cast<uint8_t*>(ptr);
|
uint8_t* data = reinterpret_cast<uint8_t*>(ptr);
|
||||||
for (size_t i = 0; i < nbytes; i += pagesize) {
|
for (size_t i = 0; i < nbytes; i += pagesize) {
|
||||||
|
|
Loading…
Reference in a new issue