Inhaling smoke does not always kill brain cells. If there is sufficient smoke, or more correctly, not enough oxygen for an extended period of time, your brain becomes oxygen-starved and cell death begins. Smoking a cigarette or joint (or even stems) will not cause brain cell death. It's not nearly concentrated enough nor are you doing it for long enough.