mozilla/rhino — pull request #60 by anba (2012-07-09 13:20:53+00:00)
Title: Bug 772011: Decompiler does not add curly brackets for labelled statements

Curly brackets weren't added when decompiling labelled statements, see bug report https://bugzilla.mozilla.org/show_bug.cgi?id=772011. Two changes are necessary:

`IRFactory#transformLabeledStatement(...)`:
- handle the case when the statement is a block
- change decompiled output in case of multiple labels for parity with Spidermonkey

`Decompiler#decompile(...)`:
- change output for OBJECTLIT from `":"` to `": "` for parity with Spidermonkey