Simplify ftrace_hook()

We now have a test to prove that its transitive closure doesn't perform
floating point computations.
This commit is contained in:
Justine Tunney 2023-06-06 11:10:38 -07:00
parent 61b9677c05
commit b6182db813
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
11 changed files with 142 additions and 85 deletions

View file

@ -1031,11 +1031,9 @@ static const unsigned char stbi__jpeg_dezigzag[64 + 15] = {
63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63};
// decode one 64-entry block
static optimizespeed int stbi__jpeg_decode_block(stbi__jpeg *j, short data[64],
stbi__huffman *hdc,
stbi__huffman *hac,
int16_t *fac, int b,
uint16_t *dequant) {
static int stbi__jpeg_decode_block(stbi__jpeg *j, short data[64],
stbi__huffman *hdc, stbi__huffman *hac,
int16_t *fac, int b, uint16_t *dequant) {
unsigned int zig;
int diff, dc, k, t, c, r, s, rs;
if (j->code_bits < 16) stbi__grow_buffer_unsafe(j);