Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 59edf89f80a59731995bb724bf8e01db26433c7787214ee4f27d5abe2bb8a7d1
Ticket: fa6bf38d0728fbc7c7146f798ce0e3e35c70146c
Execution of byte-code with recompile in-between breaks normal execution flow (e. g. disregards "return" or "break" commands).
User & Date: sebres on 2019-08-26 15:41:18
Changes

  1. icomment:
    It looks like the issue is not restricted to "returnImm" instruction.<br/>
    Trying to check command "break" issued with:
    <code><pre style="padding-left:10pt">
    % set i 0; while {[incr i] < 10} { puts A; _recompile_; puts B; break; puts C }
    A
    B
    invoked "break" outside of a loop"
    </pre></code>
    As assumed it seems to be NRE (because 8.5 was not affected), so possibly [c718302fcab3892c] causes that (so ISC peephole, e. g. NRE-related switch to direct invocation, is implemented not correct, or it got broken later with some further commits).
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"