nodejs/llparse

Optimize node that skips to itself

indutny opened this issue · 2 comments

n/t

If LLVM doesn't

LLVM does it:

; Function Attrs: minsize nounwind readnone ssp uwtable
define internal fastcc i8* @llparse__n_eof(%state* noalias nocapture nonnull readnone %state, i8* noalias nonnull readonly %pos, i8* noalias nonnull readnone %endpos, i32 %match) #3 {
no_data:
  ret i8* bitcast (i8* (%state*, i8*, i8*, i32)* @llparse__n_eof to i8*)
}