mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-20 18:42:17 +00:00
- removed explicit self null tests from dynarray native wrappers
They are useless since d3e6ed3c9b
in which generation of implicit self null pointer check was added to JIT
This commit is contained in:
parent
4e3f294453
commit
d76c7306ca
1 changed files with 0 additions and 2 deletions
|
@ -783,7 +783,6 @@ DEFINE_ACTION_FUNCTION_NATIVE(FDynArray_Obj, Find, ArrayFind<FDynArray_Obj COMMA
|
|||
|
||||
int ObjArrayPush(FDynArray_Obj *self, DObject *obj)
|
||||
{
|
||||
if (self == nullptr) NullParam("\"self\"");
|
||||
GC::WriteBarrier(obj);
|
||||
return self->Push(obj);
|
||||
}
|
||||
|
@ -812,7 +811,6 @@ DEFINE_ACTION_FUNCTION_NATIVE(FDynArray_Obj, Delete, ArrayDelete<FDynArray_Obj>)
|
|||
|
||||
void ObjArrayInsert(FDynArray_Obj *self,int index, DObject *obj)
|
||||
{
|
||||
if (self == nullptr) NullParam("\"self\"");
|
||||
GC::WriteBarrier(obj);
|
||||
self->Insert(index, obj);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue