git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1648
This commit is contained in:
Nicholas Nethercote 2003-05-21 10:13:39 +00:00
parent 5d5fbb5309
commit 009b8db7bb

View File

@ -1913,11 +1913,11 @@ static void parse_cache_opt ( cache_t* cache, char* orig_opt, int opt_len )
Bool SK_(process_cmd_line_option)(Char* arg)
{
/* 5 is length of "--I1=" */
if (0 == VG_(strncmp)(arg, "--I1=", 5))
if (VG_CLO_STREQN(5, arg, "--I1="))
parse_cache_opt(&clo_I1_cache, arg, 5);
else if (0 == VG_(strncmp)(arg, "--D1=", 5))
else if (VG_CLO_STREQN(5, arg, "--D1="))
parse_cache_opt(&clo_D1_cache, arg, 5);
else if (0 == VG_(strncmp)(arg, "--L2=", 5))
else if (VG_CLO_STREQN(5, arg, "--L2="))
parse_cache_opt(&clo_L2_cache, arg, 5);
else
return False;