Now that we're storing pointers, we don't have to reserve
index 0 to avoid the apperance of a NULL pointer.

Signed-off-by: Richard Henderson <[email protected]>
---
 tcg/tcg.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tcg/tcg.c b/tcg/tcg.c
index a2a0b90..d4409ad 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -330,11 +330,6 @@ void tcg_context_init(TCGContext *s)
 
     memset(s, 0, sizeof(*s));
 
-    /* Reserve global 0 so that, when foxing these integrals
-       as pointers, NULL is unused.  */
-    s->nb_globals = 1;
-    s->nb_temps = 1;
-
     /* Count total number of arguments and allocate the corresponding
        space */
     total_args = 0;
-- 
2.7.4


Reply via email to