Bug 1160535 part 1 - Give JSFunction its own AllocKind. r=terrence

This commit is contained in:
Jan de Mooij
2015-05-06 16:52:46 +02:00
parent 28fce60055
commit 70b031f550
28 changed files with 94 additions and 85 deletions

View File

@@ -3163,7 +3163,7 @@ const Class DateObject::class_ = {
nullptr, /* construct */
nullptr, /* trace */
{
GenericCreateConstructor<DateConstructor, 7, JSFunction::FinalizeKind>,
GenericCreateConstructor<DateConstructor, 7, gc::AllocKind::FUNCTION>,
GenericCreatePrototype,
date_static_methods,
nullptr,