I wrote this bit of code instead:
var trueLabel = tltor.asm.labelObj();
tltor.asm. mov($(1), dest). jl(trueLabel). mov($(0), dest). label(trueLabel)
- Maxime
The constant value is being set in dump_context_object(), which reserves space in the code stream for the context object and preassign some slots, for true and false values.
Reading memory every time you need the true/false values sounds rather ineffective. We might be better off using a label and a jump. Does your system resolve name collisions for labels?
- Maxime
Tachyon-list mailing list Tachyon-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/tachyon-list