Bug 1054334 - SpiderMonkey: Constify some static variables r=nbp

This commit is contained in:
Dan Gohman
2014-08-18 12:20:42 -07:00
parent 93d8752bd9
commit 0b05c16dab
5 changed files with 10 additions and 10 deletions

View File

@@ -796,7 +796,7 @@ class ScriptedIndirectProxyHandler : public BaseProxyHandler
* eventually moving towards eliminating one of those slots, and so we don't
* want to add a dependency here.
*/
static Class CallConstructHolder = {
static const Class CallConstructHolder = {
"CallConstructHolder",
JSCLASS_HAS_RESERVED_SLOTS(2) | JSCLASS_IS_ANONYMOUS
};