Add a tvIsPlausible assertion in vectortranslator @override-unit-failures
We were hitting an assertion due to a type error in a vector translation far downstream. Assert up here to keep it closer to the TC.
Esse commit está contido em:
@@ -136,6 +136,7 @@ inline static KeyType getKeyTypeIS(const SSATmp* key) {
|
||||
template<KeyType kt>
|
||||
static inline TypedValue* keyPtr(TypedValue& key) {
|
||||
if (kt == AnyKey) {
|
||||
assert(tvIsPlausible(&key));
|
||||
return &key;
|
||||
} else {
|
||||
return reinterpret_cast<TypedValue*>(key.m_data.num);
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário