Index: src/wasm/wasm-macro-gen.h |
diff --git a/src/wasm/wasm-macro-gen.h b/src/wasm/wasm-macro-gen.h |
index b6818860f651a3fb62cac5c5411d93ded290d2b3..045d81aa09663c8913d240e1b2ec4ad3c3186213 100644 |
--- a/src/wasm/wasm-macro-gen.h |
+++ b/src/wasm/wasm-macro-gen.h |
@@ -110,13 +110,11 @@ namespace wasm { |
inline void CheckI32v(int32_t value, int length) { |
DCHECK(length >= 1 && length <= 5); |
DCHECK(length == 5 || I32V_IN_RANGE(value, length)); |
- DCHECK(length == 1 || !I32V_IN_RANGE(value, length - 1)); |
binji
2016/03/11 18:10:03
yeah, probably better this way.
|
} |
inline void CheckI64v(int64_t value, int length) { |
DCHECK(length >= 1 && length <= 10); |
DCHECK(length == 10 || I64V_IN_RANGE(value, length)); |
- DCHECK(length == 1 || !I64V_IN_RANGE(value, length - 1)); |
} |
// A helper for encoding local declarations prepended to the body of a |