Bug 1438121: Final Part 5: Remove meaningless 'const' this qualifier from LiveSavedFrameCache::FramePtr::SetHasCachedMatcher::match. r=fitzgen
authorJim Blandy <jimb@mozilla.com>
Fri, 02 Mar 2018 23:39:15 -0800
changeset 462468 88470a2d04a100c1efb3ffad0ae215fe7f8880b6
parent 462467 bfc321ae89810ce708b0e15d6848a9a822b253f4
child 462469 1057c4246ffaae3b24a9b3493ac2d6cff9e33cec
push id1683
push usersfraser@mozilla.com
push dateThu, 26 Apr 2018 16:43:40 +0000
treeherdermozilla-release@5af6cb21869d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfitzgen
bugs1438121
milestone60.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 1438121: Final Part 5: Remove meaningless 'const' this qualifier from LiveSavedFrameCache::FramePtr::SetHasCachedMatcher::match. r=fitzgen MozReview-Commit-ID: kfcTilDEwK
js/src/vm/Stack-inl.h
--- a/js/src/vm/Stack-inl.h
+++ b/js/src/vm/Stack-inl.h
@@ -1004,17 +1004,17 @@ struct LiveSavedFrameCache::FramePtr::Ha
 
 inline bool
 LiveSavedFrameCache::FramePtr::hasCachedSavedFrame() const {
     return ptr.match(HasCachedMatcher());
 }
 
 struct LiveSavedFrameCache::FramePtr::SetHasCachedMatcher {
     template<typename Frame>
-    void match(Frame* f) const { f->setHasCachedSavedFrame(); }
+    void match(Frame* f) { f->setHasCachedSavedFrame(); }
 };
 
 inline void
 LiveSavedFrameCache::FramePtr::setHasCachedSavedFrame() {
     ptr.match(SetHasCachedMatcher());
 }
 
 } /* namespace js */