(In reply to comment #9)
> > Source/JavaScriptCore/interpreter/JSStack.cpp:48
> > +    static size_t size = 0;
> > +    if (!size)
> > +        size = std::max(16 * 1024, getpagesize());
> > +    return size;
>
> The check for 0 here is unneeded and unhelpful. This should just be:
>
>     static size_t size = std::max<size_t>(16 * 1024, pageSize());
>     return size;

You're right, I'll commit that change. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1391420

Title:
  JSCore crashes on ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/webkit-open-source/+bug/1391420/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to