* hashtable.c (calc_hash): Fix HASHSTEP definition.
* stringpool.c (make_identifier): No statistics here anymore.
* objc-act.c (steup_string_decl): Remove redundant check.
From-SVN: r42337
+2001-05-20 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * hashtable.c (calc_hash): Fix HASHSTEP definition.
+ * stringpool.c (make_identifier): No statistics here anymore.
+ * objc-act.c (steup_string_decl): Remove redundant check.
+
2001-05-20 Neil Booth <neil@daikokuya.demon.co.uk>
* Makefile.in (OBJS, LIBCPP_OBJS, LIBCPP_DEPS,
{
unsigned int n = len;
unsigned int r = 0;
-#define HASHSTEP(r, c) ((r) * 67 + (c - 113));
+#define HASHSTEP(r, c) ((r) * 67 + ((c) - 113));
while (n--)
r = HASHSTEP (r, *str++);
if (!string_class_decl)
{
if (!constant_string_global_id)
- {
- constant_string_global_id =
- get_identifier (STRING_OBJECT_GLOBAL_NAME);
- if (constant_string_global_id == NULL_TREE)
- return;
- }
+ constant_string_global_id = get_identifier (STRING_OBJECT_GLOBAL_NAME);
string_class_decl = lookup_name (constant_string_global_id);
}
}
IDENTIFIER_POINTER (node));
TREE_SET_CODE (node, IDENTIFIER_NODE);
-#ifdef GATHER_STATISTICS
- id_string_size += IDENTIFIER_LENGTH (node);
-#endif
}
/* Return an IDENTIFIER_NODE whose name is TEXT (a null-terminated string).