Bug 1528286. Remove bogus comment. r=froydnj

There are no relocations needed for string constants.

Differential Revision: https://phabricator.services.mozilla.com/D19956

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Boris Zbarsky 2019-02-15 16:25:06 +00:00
parent 385f491ad9
commit c898179a08

View File

@ -1862,8 +1862,6 @@ class CGClassConstructor(CGAbstractStaticMethod):
JS::Rooted<JSObject*> obj(cx, &args.callee());
$*{chromeOnlyCheck}
if (!args.isConstructing()) {
// XXXbz wish I could get the name from the callee instead of
// Adding more relocations
return ThrowConstructorWithoutNew(cx, "${ctorName}");
}