tweaks to asm->glil decompiler, perhaps fix a (program-source p 0) bug
authorAndy Wingo <wingo@pobox.com>
Sat, 14 Mar 2009 14:54:19 +0000 (15:54 +0100)
committerAndy Wingo <wingo@oblong.net>
Tue, 17 Mar 2009 15:47:28 +0000 (16:47 +0100)
commiteb7ea0450a7d7fed0401e64fdc149c0a89edbc28
tree017d2648e99c2b6e3cc86ce0a1bace8dfe6c250f
parent860f569a6a059988cddc01b00c6fa0ed6d24cdd3
tweaks to asm->glil decompiler, perhaps fix a (program-source p 0) bug

* module/language/ghil/compile-glil.scm (codegen): Push a program's
  source locations before copying external args to heap -- perhaps fixes
  (program-source p 0) for some programs.

* module/language/glil/decompile-assembly.scm (decompile-load-program):
  Take another arg, the object vector. Emit <glil-bind> and <glil-unbind>
  correctly. Properly unparse properties. Just have to deal with source
  locations now.
module/language/ghil/compile-glil.scm
module/language/glil/decompile-assembly.scm