Quantum Criticality of Heavy-Fermion Compounds