File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -345,21 +345,21 @@ void interpretert::evaluate(
345
345
}
346
346
else if (expr.type ().id () == ID_pointer)
347
347
{
348
- if (expr.has_operands () && expr. op0 (). id ()==ID_address_of )
348
+ if (expr.has_operands ())
349
349
{
350
- evaluate (expr.op0 (), dest);
351
- return ;
352
- }
353
- else if (expr. has_operands ())
354
- {
355
- if (const auto i = numeric_cast<mp_integer>(expr.op0 ()))
350
+ if (expr.op0 (). id () == ID_address_of)
351
+ {
352
+ evaluate (expr. op0 (), dest);
353
+ return ;
354
+ }
355
+ else if (const auto i = numeric_cast<mp_integer>(expr.op0 ()))
356
356
{
357
357
dest.push_back (*i);
358
358
return ;
359
359
}
360
360
}
361
361
// check if expression is constant null pointer without operands
362
- else if (!expr. has_operands ())
362
+ else
363
363
{
364
364
const auto i = numeric_cast<mp_integer>(expr);
365
365
if (i && i->is_zero ())
You can’t perform that action at this time.
0 commit comments