Skip to content

Commit

Permalink
[clang][Interp][NFC] Remove leftover comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaederr committed Feb 27, 2024
1 parent ca66f74 commit a28a7d4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions clang/lib/AST/Interp/InterpBuiltin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,6 @@ static bool interp__builtin_bitreverse(InterpState &S, CodePtr OpPC,
const CallExpr *Call) {
PrimType ArgT = *S.getContext().classify(Call->getArg(0)->getType());
APSInt Val = peekToAPSInt(S.Stk, ArgT);
// pushAPSInt(S, APSInt(Val.reverseBits(), /*IsUnsigned=*/true));
pushInteger(S, Val.reverseBits(), Call->getType());
return true;
}
Expand Down Expand Up @@ -552,7 +551,6 @@ static bool interp__builtin_rotate(InterpState &S, CodePtr OpPC,
Result = APSInt(Value.rotl(Amount.urem(Value.getBitWidth())),
/*IsUnsigned=*/true);

// pushAPSInt(S, Result);
pushInteger(S, Result, Call->getType());
return true;
}
Expand Down Expand Up @@ -785,7 +783,6 @@ static bool interp__builtin_carryop(InterpState &S, CodePtr OpPC,
CarryOutPtr.initialize();

assert(Call->getType() == Call->getArg(0)->getType());
// pushAPSInt(S, Result);
pushInteger(S, Result, Call->getType());
return true;
}
Expand Down

0 comments on commit a28a7d4

Please sign in to comment.