More constant folding: null, true, and false
A step towards doing constant folding for arrays and objects.
This commit is contained in:
1 parent
20ca21cb0d
commit
8a561120c4
2 files changed
+9
-4
No files matched your search
@@ -868,9 +868,6 @@ static block bind_bytecoded_builtins(block b) {
|
||||
{
|
||||
struct bytecoded_builtin builtin_defs[] = {
|
||||
{"empty", gen_op_simple(BACKTRACK)},
|
||||
{"false", gen_const(jv_false())},
|
||||
{"true", gen_const(jv_true())},
|
||||
{"null", gen_const(jv_null())},
|
||||
{"not", gen_condbranch(gen_const(jv_false()),
|
||||
gen_const(jv_true()))}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user