Refactor hasPointer
for register inlining
#327
Merged
hasPointer
for register inlining
#327