Skip to content

Commit

Permalink
Revert "partially address #29293"
Browse files Browse the repository at this point in the history
This reverts commit 92ab600.
  • Loading branch information
vtjnash committed Oct 31, 2018
1 parent eabc5de commit 2982a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/compiler/abstractinterpretation.jl
Expand Up @@ -312,7 +312,7 @@ function abstract_call_method(method::Method, @nospecialize(sig), sparams::Simpl
end
infstate = sv
topmost = topmost::InferenceState
while !(infstate === topmost.parent)
while !(infstate.parent === topmost.parent)
if call_result_unused(infstate)
# If we won't propagate the result any further (since it's typically unused),
# it's OK that we keep and cache the "limited" result in the parents
Expand Down

0 comments on commit 2982a42

Please sign in to comment.