Add function prologue, fix pointer load on Sparc64 host


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4027 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 6eb56f5..5c8aad4 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -1685,6 +1685,11 @@
     macro_op_index = -1;
     args = gen_opparam_buf;
     op_index = 0;
+
+#ifdef TCG_TARGET_NEEDS_PROLOGUE
+    tcg_target_prologue(s);
+#endif
+
     for(;;) {
         opc = gen_opc_buf[op_index];
 #ifdef CONFIG_PROFILER