| Index: src/arm/simulator-arm.cc
|
| diff --git a/src/arm/simulator-arm.cc b/src/arm/simulator-arm.cc
|
| index 80b46e04df366b39cb40724613344beaf4882304..23e4b3de2ef3847d43daef392257519dbb0563f3 100644
|
| --- a/src/arm/simulator-arm.cc
|
| +++ b/src/arm/simulator-arm.cc
|
| @@ -694,9 +694,9 @@ void Simulator::CheckICache(v8::internal::HashMap* i_cache,
|
| char* cached_line = cache_page->CachedData(offset & ~CachePage::kLineMask);
|
| if (cache_hit) {
|
| // Check that the data in memory matches the contents of the I-cache.
|
| - CHECK(memcmp(reinterpret_cast<void*>(instr),
|
| - cache_page->CachedData(offset),
|
| - Instruction::kInstrSize) == 0);
|
| + CHECK_EQ(0, memcmp(reinterpret_cast<void*>(instr),
|
| + cache_page->CachedData(offset),
|
| + Instruction::kInstrSize));
|
| } else {
|
| // Cache miss. Load memory into the cache.
|
| OS::MemCopy(cached_line, line, CachePage::kLineLength);
|
|
|