writeGetStaticsEntry(label, AAX, entry.getKey());
if (os.isCode32()) { writeGetStaticsEntry(label, AAX, entry.getKey()); } else { writeGetStaticsEntry64(label, (GPR64)AAX, entry.getKey()); }
    public final void writeClassInitializers() {        for (Map.Entry<VmType<?>, Label> entry : classInitLabels.entrySet()) {            final Label label = entry.getValue();            // Set label            os.setObjectRef(label);            // Save registers            if (os.isCode32()) {                os.writePUSHA();            } else {                os.writePUSH(X86Register.RAX);                os.writePUSH(X86Register.RBX);                os.writePUSH(X86Register.RCX);                os.writePUSH(X86Register.RDX);                os.writePUSH(X86Register.RSI);                os.writePUSH(X86Register.R8);                os.writePUSH(X86Register.R9);                os.writePUSH(X86Register.R10);                os.writePUSH(X86Register.R11);                // R12 contains processor and is preserved                os.writePUSH(X86Register.R13);                os.writePUSH(X86Register.R14);                os.writePUSH(X86Register.R15);            }            // Load cls            writeGetStaticsEntry(label, AAX, entry.getKey());            // Call cls.initialize            os.writePUSH(AAX); // cls            invokeJavaMethod(entryPoints.getVmTypeInitialize());            if (os.isCode32()) {                os.writePOPA();            } else {                os.writePOP(X86Register.R15);                os.writePOP(X86Register.R14);                os.writePOP(X86Register.R13);                // R12 contains processor and is preserved                os.writePOP(X86Register.R11);                os.writePOP(X86Register.R10);                os.writePOP(X86Register.R9);                os.writePOP(X86Register.R8);                os.writePOP(X86Register.RSI);                os.writePOP(X86Register.RDX);                os.writePOP(X86Register.RCX);                os.writePOP(X86Register.RBX);                os.writePOP(X86Register.RAX);            }            // Return            os.writeRET();         }    }