]> Nishi Git Mirror - gwion.git/commitdiff
:art: remove unreachable statement in opem_object_dot
authorfennecdjay <fennecdjay@gmail.com>
Tue, 22 Nov 2022 16:29:54 +0000 (17:29 +0100)
committerfennecdjay <fennecdjay@gmail.com>
Tue, 22 Nov 2022 16:29:54 +0000 (17:29 +0100)
src/lib/object_op.c

index b2a5c75810ec3070ec02c3ccd3f9a3f1edda3a88..e46d8a23f6104c0bd95d3690f3346f980426c9c6 100644 (file)
@@ -291,7 +291,7 @@ OP_EMIT(opem_object_dot) {
       emit_struct_data(emit, value, exp_getvar(exp_self(member)));
   } else if (GET_FLAG(value, static))
     emit_dot_static_import_data(emit, value, exp_getvar(exp_self(member)));
-  else emit_pushimm(emit, (m_uint)value->type);
+  else exit(3); //emit_pushimm(emit, (m_uint)value->type);
   if(isa(value->type, emit->gwion->type[et_object]) > 0 &&
      !exp_getvar(exp_self(member)) &&
     (GET_FLAG(value, static) || GET_FLAG(value, late)))