зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1523558: Fix test condition in VMFunction::returnsData(). r=nbp
--HG-- extra : rebase_source : 690234d9ce4edb98af4227d4307c8f3bc444b9c7
This commit is contained in:
Родитель
66c65ab521
Коммит
547688fffd
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче