<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/152071>152071</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Bytecode Interpreter: Migrate away from `CheckEvaluationResult`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:frontend,
clang:bytecode
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tbaederr
</td>
</tr>
</table>
<pre>
We're currently still calling the `CheckEvaluationResult` from `ExprConstant.cpp`, but we already have similar checks in `EvaluationResult` etc. that we should use instead. This should also be more efficient since we can do the checks _before_ creating the `APValue` for the returned value.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0kkGP0zAQhX-NcxltlDhJ0z3k0O1uJQ5ICCE4rib2JDG4djUed-m_R4kK7AFOlvz83vOnGUzJzYFoUN2T6p4LzLJEHmREssRcjNHehm-kdM8EJjNTEH-DJM57MOi9CzPIQqB21XEh8-Plij6juBg-U8pe1K6CieN5ffDy88LHGJJgkNJcLmpXKX2EMQu8EaBnQnuDBa8EyZ2dRwazZiZwYfP_I5vElCALbhFpidlbyInAhSSEtoQvi0u_BfQpwkhwjkxA0-SMoyCQXDC0-g0GsHHjuRe_jjRFplcwTCjvYA-fvqLPtOFF3m6ZJHMgC-s3qSzs0NjH5hELGuq-a5td1_a6WAa0uEcc63HX7vd1bbXu-920t1Pbj2RrXbhBV7qr9lVXNW3b6NK2uuvq3uz3hNTZRrUVndH50vvruYw8Fy6lTEPd6aqvC48j-bSNVGvjMcyqOUwcg1CwSmulj--E8SZkoqVV6J4LHtbQhzHPSbWVd0nS3xpx4ml4ujvgQxDiC5MQq-YAH93MKAT4hrc_Q__fVhSZ_bCIXJJqDkqflD7NTpY8liaelT6tnffj4cLxOxlR-rRxJqVPd9TroH8FAAD__-167IA">