Skip to content

Commit 88d67d3

Browse files
Implement more optimizations & fix certain bugs (#75)
* Implement more optimizations & fix certain bugs * Remove debug statements & finish removal of nothing type test
1 parent c50d511 commit 88d67d3

17 files changed

+742
-222
lines changed

src/c1-ir.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ let quoteConst = e => {
1515
return "[]"
1616
} else if (typeof e === "object" && Object.keys(e).length == 0) {
1717
return "{}"
18+
} else if (e === undefined) {
19+
return "undefined";
1820
} else {
1921
error("ERROR - unsupported constant: "+e)
2022
}

0 commit comments

Comments
 (0)