diff --git a/hld/Eval.hx b/hld/Eval.hx index 29418c7..72ff736 100644 --- a/hld/Eval.hx +++ b/hld/Eval.hx @@ -446,7 +446,7 @@ class Eval { setReg(r, Pointer.make(v.low, v.high)); case _ if( v.t.isPtr() ): var ptr = getPtr(v); - if( ptr.isNull() ) { + if( ptr == null ) { var msg = "Unsupported arg "+valueStr(v)+":"+typeStr(v.t); msg += v.v.match(VString(_)) ? " literal" : " null pointer"; throw msg;