summaryrefslogtreecommitdiffstats
path: root/js/src/jit/MIR.h
diff options
context:
space:
mode:
authorg4jc <g4jc@users.noreply.github.com>2019-06-28 21:35:05 -0400
committerNew Tobin Paradigm <email@mattatobin.com>2019-06-28 21:35:05 -0400
commit01e1fcf522219bf1b2d7d2dcc6209db3d270a182 (patch)
tree4098d853baf7d2f5946e28a681937d8bb8fab225 /js/src/jit/MIR.h
parente4b2fa17baea1d35d80de19ffb90d9ba2a1033f8 (diff)
downloadUXP-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.h1
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 {