Fix bug reported by Dylan: float constants are boxed and thus

code_exprn.m:
	Fix bug reported by Dylan: float constants are boxed and thus
	cannot be considered constant.
This commit is contained in:
Fergus Henderson
1995-07-17 02:46:41 +00:00
parent 8dde756a5b
commit 62d57a5ab5

View File

@@ -711,6 +711,13 @@ code_exprn__expr_is_constant(const(Const), _Vars,
AsmLabels = yes
)
)
;
Const = float_const(_)
->
% Floating point constants are currently boxed by default;
% the memory allocation means that they are not constant
% expressions.
fail
;
true
),