Added a useful skin instrumentation function.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1433 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/include/vg_skin.h b/include/vg_skin.h
index 43702fa..4464394 100644
--- a/include/vg_skin.h
+++ b/include/vg_skin.h
@@ -812,9 +812,13 @@
                                    UInt regparms_n);
 
 /* One way around the 3-arg C function limit is to pass args via global
- * variables... ugly, but it works. */
+ * variables... ugly, but it works.  This one puts a literal in there. */
 extern void VG_(set_global_var) ( UCodeBlock* cb, Addr globvar_ptr, UInt val);
 
+/* This one puts the contents of a TempReg in the global variable. */
+extern void VG_(set_global_var_tempreg) ( UCodeBlock* cb, Addr globvar_ptr,
+                                          UInt t_val);
+
 /* ------------------------------------------------------------------ */
 /* Allocating/freeing basic blocks of UCode */
 extern UCodeBlock* VG_(setup_UCodeBlock) ( UCodeBlock* cb );