diff options
author | g4jc <g4jc@users.noreply.github.com> | 2019-06-28 21:35:05 -0400 |
---|---|---|
committer | New Tobin Paradigm <email@mattatobin.com> | 2019-06-28 21:35:05 -0400 |
commit | 01e1fcf522219bf1b2d7d2dcc6209db3d270a182 (patch) | |
tree | 4098d853baf7d2f5946e28a681937d8bb8fab225 /js/src/jit/MIR.h | |
parent | e4b2fa17baea1d35d80de19ffb90d9ba2a1033f8 (diff) | |
download | UXP-01e1fcf522219bf1b2d7d2dcc6209db3d270a182.tar UXP-01e1fcf522219bf1b2d7d2dcc6209db3d270a182.tar.gz UXP-01e1fcf522219bf1b2d7d2dcc6209db3d270a182.tar.lz UXP-01e1fcf522219bf1b2d7d2dcc6209db3d270a182.tar.xz UXP-01e1fcf522219bf1b2d7d2dcc6209db3d270a182.zip |
Issue #1142 - Remove uneeded assertion (#1145)
Since unboxed objects were removed, isUnboxed is undefined. This causes a build failure when debuging is enabled. This patch fixes the issue by removing the uneeeded assertion.
Diffstat (limited to 'js/src/jit/MIR.h')
-rw-r--r-- | js/src/jit/MIR.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/js/src/jit/MIR.h b/js/src/jit/MIR.h index 0992768bf..9076339f1 100644 --- a/js/src/jit/MIR.h +++ b/js/src/jit/MIR.h @@ -3785,7 +3785,6 @@ class MObjectState MOZ_MUST_USE bool initFromTemplateObject(TempAllocator& alloc, MDefinition* undefinedVal); size_t numFixedSlots() const { - MOZ_ASSERT(!isUnboxed()); return numFixedSlots_; } size_t numSlots() const { |