Bug 1523558: Fix test condition in VMFunction::returnsData(). r=nbp

--HG--
extra : rebase_source : 690234d9ce4edb98af4227d4307c8f3bc444b9c7
This commit is contained in:
André Bargull 2019-01-29 02:24:15 -08:00
Родитель 66c65ab521
Коммит 547688fffd
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -210,7 +210,7 @@ struct VMFunction {
// Whether this function returns anything more than a boolean flag for
// failures.
bool returnsData() const {
return returnType == Type_Pointer || outParam != Type_Void;
return returnType == Type_Object || outParam != Type_Void;
}
ArgProperties argProperties(uint32_t explicitArg) const {