mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 22:43:40 +00:00
compiler: use -dumpssa flag in interpreter
This is useful for debugging.
This commit is contained in:
+1
-1
@@ -307,7 +307,7 @@ func (c *Compiler) Parse(mainPath string, buildTags []string) error {
|
||||
// continues at runtime).
|
||||
// This should only happen when it hits a function call or the end
|
||||
// of the block, ideally.
|
||||
err := c.ir.Interpret(frame.fn.fn.Blocks[0])
|
||||
err := c.ir.Interpret(frame.fn.fn.Blocks[0], c.dumpSSA)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user