Bat, bat, come under my hat

Bat, bat, come under my hat,
  And I'll give you a slice of bacon;
And when I bake, I'll give you a cake,
  If I am not mistaken.