rose: only dump delay rebuild table if streaming

This commit is contained in:
Justin Viiret 2017-02-03 09:40:00 +11:00 committed by Matthew Barr
parent bef6889844
commit 821a1b81e6

View File

@ -541,8 +541,12 @@ void dumpRoseTestLiterals(const RoseBuildImpl &build, const string &base) {
mp = makeMatcherProto(build, ROSE_FLOATING, false, longLitLengthThreshold); mp = makeMatcherProto(build, ROSE_FLOATING, false, longLitLengthThreshold);
dumpTestLiterals(base + "rose_float_test_literals.txt", mp.lits); dumpTestLiterals(base + "rose_float_test_literals.txt", mp.lits);
mp = makeMatcherProto(build, ROSE_FLOATING, true, longLitLengthThreshold); if (build.cc.streaming) {
dumpTestLiterals(base + "rose_delay_rebuild_test_literals.txt", mp.lits); mp = makeMatcherProto(build, ROSE_FLOATING, true,
longLitLengthThreshold);
dumpTestLiterals(base + "rose_delay_rebuild_test_literals.txt",
mp.lits);
}
mp = makeMatcherProto(build, ROSE_EOD_ANCHORED, false, mp = makeMatcherProto(build, ROSE_EOD_ANCHORED, false,
build.ematcher_region_size); build.ematcher_region_size);