remove unused code
This commit is contained in:
parent
8c0ca091cc
commit
ea38234ae2
16
compile.phi
16
compile.phi
@ -319,22 +319,6 @@
|
||||
) (if (== pat_ty "list") (do
|
||||
(let (_ _ pats) pat)
|
||||
|
||||
//(emit (format
|
||||
// (+ ";\nif (r_%.type !== \"list\") {\nruntime.setLine(%);"
|
||||
// "\nruntime.panic(\"expected list\");\n}\n")
|
||||
// base_reg
|
||||
// line
|
||||
//))
|
||||
//(emit (format
|
||||
// (+ ";\nif (% > r_%.values.length) {\nruntime.setLine(%);\nruntime.panic"
|
||||
// "(`expected % elements, got ${r_%.values.length}`);\n}\n")
|
||||
// (len pats)
|
||||
// base_reg
|
||||
// line
|
||||
// (len pats)
|
||||
// base_reg
|
||||
//))
|
||||
|
||||
(let i 0)
|
||||
(for pat pats (do
|
||||
(let reg (let_node_reg_count))
|
||||
|
Loading…
x
Reference in New Issue
Block a user