зеркало из https://github.com/mozilla/gecko-dev.git
Change the stack-class analysis to a warning instead of an error, at least temporarily: the analysis was buggy when originally landed, and there are some heap-allocated autostrings outstanding through the tree.
This commit is contained in:
Родитель
79aaf07ceb
Коммит
ac9c2a0930
|
@ -184,7 +184,7 @@ function process_cp_pre_genericize(fndecl)
|
|||
|
||||
let r = isStack(destType);
|
||||
if (r)
|
||||
error("constructed object of type '%s' not on the stack: %s".format(destType.name, r), getLocation());
|
||||
warning("constructed object of type '%s' not on the stack: %s".format(destType.name, r), getLocation());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче