Has to deal with transcription.
"About 15% of heme production occurs the liver. Hepatocyte heme production must be controlled to respond to changing metabolic requirements. Hepatocytes express ALAS-1, a 'housekeeping' form of ALAS. Increasing heme levels create a negative feedback that downregulate transcription of ALAS-1 and inhibit its import into the mitochondrial matrix. ALAS-1 transcription is upregulated by peroxisome proliferator-activated receptor coactivator 1 (PGC-1). Transcription of PGC-1 is regulated by glucose levels. Hypoglycemia induces PGC-1 production, increasing ALAS-1 and heme synthesis. This promotes the clinical appearance of the acute porphyrias."
From:
http://library.tcmedc.org/webpath/hemehtml/heme243.htm
So hyperglycemia-->decreased PGC-1 production-->decreased ALAS1-->decreased heme synthesis. This of course is what you would want to prevent build of intermediates.