Check-in [cdc4d10e86]
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Oops, one extra callframe ref in 'callframe-error-quads'
Timelines: family | ancestors | descendants | both | notworking | kbk-refactor-callframe
Files: files | file ages | folders
SHA3-256: cdc4d10e86fecec2caee48eedd8fdb7c71ea5482f4e898a06a03c4658bf75a0c
User & Date: kbk 2019-01-02 02:20:10
Context
2019-01-05
22:48
Generate only one moveFromCallFrame per bytecode instruction check-in: 9dbaca7922 user: kbk tags: notworking, kbk-refactor-callframe
2019-01-02
02:20
Oops, one extra callframe ref in 'callframe-error-quads' check-in: cdc4d10e86 user: kbk tags: notworking, kbk-refactor-callframe
2019-01-01
23:06
Update quadcode generation and documentation so that 'direct' operations refer to the callframe (which is necessary in the event that they are emitted to deal with double-dereference). CODE ISSUER IS NOT YET UPDATED TO COPE WITH THE CHANGE. check-in: 104debc734 user: kbk tags: notworking, kbk-refactor-callframe
Changes

Changes to quadcode/translate.tcl.

  1938   1938   #
  1939   1939   # Results:
  1940   1940   #	None
  1941   1941   
  1942   1942   oo::define quadcode::transformer method callframe-error-quads {pc opcode result
  1943   1943   							       args} {
  1944   1944   
  1945         -    my quads $opcode {temp @tuple} {temp @callframe} {temp @callframe} $args
         1945  +    my quads $opcode {temp @tuple} {temp @callframe} $args
  1946   1946       my quads extractCallFrame {temp @callframe} {temp @tuple}
  1947   1947       my quads retrieveResult {temp @exception} {temp @tuple}
  1948   1948       set target [my exception-target $pc catch]
  1949   1949       my generate-jump $target maybe {temp @exception}
  1950   1950       my quads extractMaybe $result {temp @exception}
  1951   1951       
  1952   1952   }