Changeset 1863 for trunk/src/kmk/rule.c


Ignore:
Timestamp:
Oct 14, 2008, 11:46:23 AM (17 years ago)
Author:
bird
Message:

kmk: Allocation caches for nameseq, dep and idep. next: variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/rule.c

    r903 r1863  
    380380
    381381  ptr = p->dep;
     382#ifndef CONFIG_WITH_ALLOC_CACHES
    382383  r->deps = (struct dep *) multi_glob (parse_file_seq (&ptr, '\0',
    383384                                                       sizeof (struct dep), 1),
    384385                                       sizeof (struct dep));
     386#else
     387  r->deps = (struct dep *) multi_glob (parse_file_seq (&ptr, '\0',
     388                                                       &dep_cache, 1),
     389                                       &dep_cache);
     390#endif
    385391
    386392  if (new_pattern_rule (r, 0))
Note: See TracChangeset for help on using the changeset viewer.