Skip to content
This repository was archived by the owner on Jun 20, 2019. It is now read-only.

Commit d24a0d9

Browse files
committed
Cosmetics: use proto object previously obtained
1 parent 1ab0a57 commit d24a0d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JavaScriptCore/runtime/TypedArrays/JSFloat32Array.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void JSFloat32ArrayConstructor::finishCreation(ExecState* exec, JSGlobalObject*
6666
JSC::JSObject * proto = JSFloat32ArrayPrototype::self(exec, globalObject);
6767
Base::finishCreation(exec->globalData(), Identifier(exec, proto->classInfo()->className));
6868
ASSERT(inherits(&s_info));
69-
putDirect(exec->globalData(), exec->propertyNames().prototype, JSFloat32ArrayPrototype::self(exec, globalObject), DontDelete | ReadOnly);
69+
putDirect(exec->globalData(), exec->propertyNames().prototype, proto, DontDelete | ReadOnly);
7070
putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontDelete | DontEnum);
7171
}
7272

0 commit comments

Comments
 (0)