Bug 1066193: Explicit this parameter in IonExitFrameLayout::is<T> so as to prevent compilation issues with gcc; r=sfink

This commit is contained in:
Benjamin Bouvier 2014-09-12 18:19:49 +02:00
parent 666ed7a7a4
commit 10edae8676

View File

@ -520,7 +520,7 @@ class IonExitFrameLayout : public IonCommonFrameLayout
return footer()->jitCode() == T::Token();
}
template <typename T> inline T *as() {
MOZ_ASSERT(is<T>());
MOZ_ASSERT(this->is<T>());
return reinterpret_cast<T *>(footer());
}
};