Skip to content

Commit

Permalink
pointer style
Browse files Browse the repository at this point in the history
  • Loading branch information
rmottola committed Apr 14, 2019
1 parent 211d191 commit c83032f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/src/jsobj.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1099,17 +1099,17 @@ NewObjectGCKind(const js::Class *clasp)
}

static inline JSObject *
NewObject(ExclusiveContext* cx, HandleObjectGroup group, HandleObject parent, gc::AllocKind kind,
NewObject(ExclusiveContext *cx, HandleObjectGroup group, HandleObject parent, gc::AllocKind kind,
NewObjectKind newKind)
{
const Class* clasp = group->clasp();
const Class *clasp = group->clasp();

MOZ_ASSERT(clasp != &ArrayObject::class_);
MOZ_ASSERT_IF(clasp == &JSFunction::class_,
kind == JSFunction::FinalizeKind || kind == JSFunction::ExtendedFinalizeKind);
MOZ_ASSERT_IF(parent, &parent->global() == cx->global());

JSObject* metadata = nullptr;
JSObject *metadata = nullptr;
if (!NewObjectMetadata(cx, &metadata))
return nullptr;

Expand Down Expand Up @@ -1367,7 +1367,7 @@ js::NewObjectWithClassProtoCommon(ExclusiveContext* cxArg, const Class* clasp,
if (!group)
return nullptr;

JSObject* obj = NewObject(cxArg, group, parent, allocKind, newKind);
JSObject *obj = NewObject(cxArg, group, parent, allocKind, newKind);
if (!obj)
return nullptr;

Expand Down

0 comments on commit c83032f

Please sign in to comment.