summaryrefslogtreecommitdiff
path: root/src/binary-reader.c
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2016-11-30 16:18:59 -0800
committerGitHub <noreply@github.com>2016-11-30 16:18:59 -0800
commit07b6eda70b70e630e65b4d6fcf1263beeaf187c0 (patch)
tree18ca619a93d59b452149ea09c1e23c3f41507a4e /src/binary-reader.c
parent86a4d836284849d0c5631e5b924c00e3c32d560f (diff)
downloadwabt-07b6eda70b70e630e65b4d6fcf1263beeaf187c0.tar.gz
wabt-07b6eda70b70e630e65b4d6fcf1263beeaf187c0.tar.bz2
wabt-07b6eda70b70e630e65b4d6fcf1263beeaf187c0.zip
Wasmdump improvments (#226)
* Wasmdump improvments fixes #167
Diffstat (limited to 'src/binary-reader.c')
-rw-r--r--src/binary-reader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binary-reader.c b/src/binary-reader.c
index 8edec68e..d102ec08 100644
--- a/src/binary-reader.c
+++ b/src/binary-reader.c
@@ -1403,7 +1403,7 @@ static void read_function_body(Context* ctx,
uint32_t value_bits = 0;
in_f32(ctx, &value_bits, "f32.const value");
CALLBACK(on_f32_const_expr, value_bits);
- CALLBACK_CTX(on_opcode_uint32, value_bits);
+ CALLBACK_CTX(on_opcode_f32, value_bits);
break;
}
@@ -1411,7 +1411,7 @@ static void read_function_body(Context* ctx,
uint64_t value_bits = 0;
in_f64(ctx, &value_bits, "f64.const value");
CALLBACK(on_f64_const_expr, value_bits);
- CALLBACK_CTX(on_opcode_uint64, value_bits);
+ CALLBACK_CTX(on_opcode_f64, value_bits);
break;
}