mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1146295: Remove unused FuncZero function; r=h4writer
This commit is contained in:
parent
ade9b22b83
commit
a1c9ed7f61
@ -849,22 +849,6 @@ FuncConvertBits(JSContext *cx, unsigned argc, Value *vp)
|
||||
return StoreResult<Vret>(cx, args, copy);
|
||||
}
|
||||
|
||||
template<typename Vret>
|
||||
static bool
|
||||
FuncZero(JSContext *cx, unsigned argc, Value *vp)
|
||||
{
|
||||
typedef typename Vret::Elem RetElem;
|
||||
|
||||
CallArgs args = CallArgsFromVp(argc, vp);
|
||||
if (args.length() != 0)
|
||||
return ErrorBadArgs(cx);
|
||||
|
||||
RetElem result[Vret::lanes];
|
||||
for (unsigned i = 0; i < Vret::lanes; i++)
|
||||
result[i] = RetElem(0);
|
||||
return StoreResult<Vret>(cx, args, result);
|
||||
}
|
||||
|
||||
template<typename Vret>
|
||||
static bool
|
||||
FuncSplat(JSContext *cx, unsigned argc, Value *vp)
|
||||
|
Loading…
Reference in New Issue
Block a user