Skip to content

Commit f3e4a23

Browse files
committed
rebase fixes
1 parent 542fa88 commit f3e4a23

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

src/Function.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -654,14 +654,14 @@ void Function::define(const vector<string> &args, vector<Expr> values) {
654654
// memory leaks. We need to break these cycles.
655655
WeakenFunctionPtrs weakener(contents.get());
656656
for (auto &arg : init_def_args) {
657-
arg = weakener.mutate(arg);
657+
arg = weakener(arg);
658658
}
659659
for (auto &value : values) {
660-
value = weakener.mutate(value);
660+
value = weakener(value);
661661
}
662662
if (check.reduction_domain.defined()) {
663663
check.reduction_domain.set_predicate(
664-
weakener.mutate(check.reduction_domain.predicate()));
664+
weakener(check.reduction_domain.predicate()));
665665
}
666666

667667
ReductionDomain rdom;

test/correctness/tracing.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,7 @@ int main(int argc, char **argv) {
217217
f.realize({10}, get_jit_target_from_environment().with_feature(Target::TracePipeline));
218218

219219
// The golden trace, recorded when this test was written
220-
<<<<<<< HEAD
221220
static event correct_pipeline_trace[] = {
222-
=======
223-
event correct_pipeline_trace[] = {
224-
>>>>>>> 2197d3da2 (get default types back to normal; add new test)
225221
{102, 0, 8, 3, 0, 0, 0, 0, {0, 0, 0, 0}, {0.000000f, 0.000000f, 0.000000f, 0.000000f}, ""},
226222
{102, 1, 9, 3, 0, 0, 0, 0, {0, 0, 0, 0}, {0.000000f, 0.000000f, 0.000000f, 0.000000f}, ""},
227223
};

0 commit comments

Comments
 (0)