pike.git/
src/
pike_types.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2022-09-21
2022-09-21 09:59:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>
e810248f74bf11788b1f78ad3fc190680934fc96 (
10
lines) (+
6
/-
4
)
[
Show
|
Annotate
]
Branch:
master
Compiler
[Typechecker]
: Use low_discard_type() where appropriate.
5967:
if (op != PT_BINOP_AND) { compiler_discard_type();
-
type_stack_mark();
+
push_remap_markers(b, remap, remap_flags ^ PT_FLAG_REMAP_SWAP_MARKERS);
5997:
while (nargs--) { push_reverse_type(T_FUNCTION); }
+
return pop_unfinished_type(); function_fail:
-
compiler
_discard_type();
+
low
_discard_type();
+
return NULL; }
6499:
if ((op == PT_BINOP_MINUS) && (aflags & PT_FLAG_CMP_INSEPARABLE)) { if ((nbounds != 1) || (peek_type_stack() != a)) {
-
compiler
_discard_type();
+
low
_discard_type();
return NULL; } }
7844:
return pop_unfinished_type(); function_fail:
-
compiler
_discard_type();
+
low
_discard_type();
pop_stack_mark(); return NULL; }