[parrot/parrot] f679a3: add label support to goto and goto_if in the most ...

noreply at github.com noreply at github.com
Fri May 27 07:27:25 UTC 2011


Branch: refs/heads/m0-prototype
Home:   https://github.com/parrot/parrot

Commit: f679a3a0d8db3da2df2d2d493ced412978149e95
    https://github.com/parrot/parrot/commit/f679a3a0d8db3da2df2d2d493ced412978149e95
Author: Christoph Otto <christoph_github at mksig.org>
Date:   2011-05-26 (Thu, 26 May 2011)

Changed paths:
  M src/m0/m0_assembler.pl

Log Message:
-----------
add label support to goto and goto_if in the most hacky way possible


Commit: fa5ad1c0adbf9fec1d28364c4d8ec4c404091fcb
    https://github.com/parrot/parrot/commit/fa5ad1c0adbf9fec1d28364c4d8ec4c404091fcb
Author: Christoph Otto <christoph_github at mksig.org>
Date:   2011-05-27 (Fri, 27 May 2011)

Changed paths:
  M src/m0/m0_assembler.pl

Log Message:
-----------
make goto target calculations be less broken


Commit: 9a0b7d67d7840887e224440f4ed7d3b524dee2ae
    https://github.com/parrot/parrot/commit/9a0b7d67d7840887e224440f4ed7d3b524dee2ae
Author: Christoph Otto <christoph_github at mksig.org>
Date:   2011-05-27 (Fri, 27 May 2011)

Changed paths:
  M src/m0/m0_assembler.pl

Log Message:
-----------
fix thinko in goto_if processing


Commit: f36a8dbb4968d558f80a6ef3eca45c34bbb2baf1
    https://github.com/parrot/parrot/commit/f36a8dbb4968d558f80a6ef3eca45c34bbb2baf1
Author: Christoph Otto <christoph_github at mksig.org>
Date:   2011-05-27 (Fri, 27 May 2011)

Changed paths:
  M src/m0/m0_interp.pl

Log Message:
-----------
make goto* use immediate values for calculating target address

M0 can now run an infinite loop!  Try it at home!
perl src/m0/m0_assembler.pl t/m0/ops/m0_labels_with_goto.m0
perl src/m0/m0_interp.pl t/m0/ops/m0_labels_with_goto.m0b


Compare: https://github.com/parrot/parrot/compare/710b1e3...f36a8db


More information about the parrot-commits mailing list