author | Luke Wagner <luke@mozilla.com> |
Thu, 23 Feb 2017 18:14:04 -0600 | |
changeset 344656 | 49abbdfdd1ab01a71ee588a171102aefb85baf30 |
parent 344655 | 3fee518242f68ba6a1b2b107bd475645ecf24622 |
child 344657 | c1e74895212a5eecbe1d1e643c8e36a80852bc40 |
push id | 31414 |
push user | cbook@mozilla.com |
push date | Fri, 24 Feb 2017 10:47:41 +0000 |
treeherder | mozilla-central@be661bae6cb9 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | bustage |
bugs | 1341412 |
milestone | 54.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/js/src/wasm/WasmValidate.cpp +++ b/js/src/wasm/WasmValidate.cpp @@ -613,18 +613,18 @@ DecodePreamble(Decoder& d) if (d.bytesRemain() > MaxModuleBytes) return d.fail("module too big"); uint32_t u32; if (!d.readFixedU32(&u32) || u32 != MagicNumber) return d.fail("failed to match magic number"); if (!d.readFixedU32(&u32) || u32 != EncodingVersion) { - return d.fail("binary version 0x%" PRIx32 " does not match expected version 0x%" PRIx32, - u32, EncodingVersion); + return d.failf("binary version 0x%" PRIx32 " does not match expected version 0x%" PRIx32, + u32, EncodingVersion); } return true; } static bool DecodeTypeSection(Decoder& d, ModuleEnvironment* env) {