Bug 1324910 - Remove unnecessary assertion. r=luke
authorSean Stangl <sstangl@mozilla.com>
Wed, 18 Jan 2017 13:11:00 -0500
changeset 377354 c619c89829a77ae64b0d205a8c03f49283db921c
parent 377353 36e32e9299a36322783280f310cd366e3186b1af
child 377355 02c94a326f6dae12438b9c1b827b88db79bf78a0
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluke
bugs1324910
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1324910 - Remove unnecessary assertion. r=luke
js/src/jit/arm/Simulator-arm.cpp
--- a/js/src/jit/arm/Simulator-arm.cpp
+++ b/js/src/jit/arm/Simulator-arm.cpp
@@ -995,18 +995,16 @@ AllOnOnePage(uintptr_t start, int size)
     intptr_t start_page = (start & ~CachePage::kPageMask);
     intptr_t end_page = ((start + size) & ~CachePage::kPageMask);
     return start_page == end_page;
 }
 
 static CachePage*
 GetCachePageLocked(Simulator::ICacheMap& i_cache, void* page)
 {
-    MOZ_ASSERT(Simulator::ICacheCheckingEnabled);
-
     Simulator::ICacheMap::AddPtr p = i_cache.lookupForAdd(page);
     if (p)
         return p->value();
 
     AutoEnterOOMUnsafeRegion oomUnsafe;
     CachePage* new_page = js_new<CachePage>();
     if (!new_page || !i_cache.add(p, page, new_page))
         oomUnsafe.crash("Simulator CachePage");