Skip to content

Commit 499c544

Browse files
authored
Merge pull request #144 from faster-cpython/fix-base-linking
Fix bug in JIT and Tier 2 to base linking
2 parents 129ae79 + e573406 commit 499c544

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: bench_runner/result.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -766,15 +766,14 @@ def find_match(result, candidates, base, func):
766766
),
767767
)
768768

769-
if not found_base and result.fork == "python":
770-
# Compare Tier 1 and Tier 2 of the same commit
769+
if not found_base and result.fork == "python" and result.flags != []:
770+
# Compare builds with flags with builds with no flags
771771
find_match(
772772
result,
773773
candidates,
774774
"base",
775775
lambda ref: (
776-
ref.cpython_hash == result.cpython_hash
777-
and ref.flags != result.flags
776+
ref.cpython_hash == result.cpython_hash and ref.flags == []
778777
),
779778
)
780779

0 commit comments

Comments
 (0)