Summary
unboxing in safe mode doesn't quite work
Metadata
- Id: 2cc46a275063ed71eaf8603f925e1b04b3106b97
- Trac id: 169
- Type: defect
- Reporter: felix
- Owner: felix
- Cc:
- Status: closed
- Component: compiler
- Estimated difficulty:
- Resolution: fixed
- Priority: minor
- Milestone:
- Version: 4.3.x
- Changetime: 2010-03-02 12:45:13 UTC
- Created: 2010-02-01 13:19:11 UTC
- Keywords:
Description
for example:
{{ (define (foo x y)
(fp+ (fp* x 23) y))
(print (foo 2 3)) }}
fails because `C_a_i_flonum_plus` gets passed an unboxed value.
Changes and comments
[2010-03-02 12:45:13 UTC] felix changed status from new to closed
[2010-03-02 12:45:13 UTC] felix set resolution to fixed
[2010-03-02 12:45:13 UTC] felix wrote:
Unboxing has now be enabled exclusively for unsafe mode. The safeness test (and in particular a failing one) would make the unboxing pass behave incorrectly.