Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7f42a14f706489cf3041b2dc61f7dfb5ac4a45aa
Ticket: 1605269fffffffffffffffffffffffffffffffff
tests fail under -singleproc 1 option
User & Date: andreas_kupries on 2009-07-14 23:46:28
Changes

  1. closedate changed to: "2009-07-14T16:46:28"
  2. closer changed to: "andreas_kupries"
  3. icomment:
    
    
    allow_comments - 1
    
    Commits made to fix the issue. Was partially NRE-enabled source compiling to byte code and using relative locations, instead of absolute. Fixed by detecting whole-file compile and switching to absolute locations. This exposed larger problems in the handling of literal command arguments in bytecode (for location tracking through uplevel $script), due to literal sharing and compilation baking in the location data. Fixed by restructuring the BCEnter/Release functions and attendant data structures, tracking start line for bytecode, and recompiling when detecting location mismatch between calling context and data baked into the bytecode. Required more changes in coroutine and tailcall support, some data became coro-state we have to switch, and the new BCEnter/Release locations mean that tailcall has to deal with its own arguments, the execution engine forgets their removal due to the special trampolining of it. Lastly fixed bug in the for/while handling, used fixed index for loop body (2, ok for while, bad for for).
    
    
  4. login: "andreas_kupries"
  5. mimetype: "text/plain"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"
  8. username: "andreas_kupries"