Does it matter?

Does it matter about how much little or more you eat while pregnant that determines your babies weight? Or will the baby just take whatever he/she needs from you regardless of what your appetite look like? Do those that eat little mean they'll have a small baby?