summaryrefslogtreecommitdiffstats
path: root/js/src/jit
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2019-06-29 13:38:05 +0000
committerGitHub <noreply@github.com>2019-06-29 13:38:05 +0000
commitf1a68a3aa103fad939598904702c1d65c4fed6f8 (patch)
tree7f58864f0cd14040d23a64add100eefd8ff6538b /js/src/jit
parent01e1fcf522219bf1b2d7d2dcc6209db3d270a182 (diff)
parent35d29c05c59057fc84be41ec94f2e3bc31ddef44 (diff)
downloadUXP-f1a68a3aa103fad939598904702c1d65c4fed6f8.tar
UXP-f1a68a3aa103fad939598904702c1d65c4fed6f8.tar.gz
UXP-f1a68a3aa103fad939598904702c1d65c4fed6f8.tar.lz
UXP-f1a68a3aa103fad939598904702c1d65c4fed6f8.tar.xz
UXP-f1a68a3aa103fad939598904702c1d65c4fed6f8.zip
Merge pull request #1146 from g4jc/unboxed_debug_bustage
Issue #1142 - Cleanup unused debug code for unboxed objects
Diffstat (limited to 'js/src/jit')
-rw-r--r--js/src/jit/BaselineIC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit/BaselineIC.cpp b/js/src/jit/BaselineIC.cpp
index d95d08edc..2f20ffa4f 100644
--- a/js/src/jit/BaselineIC.cpp
+++ b/js/src/jit/BaselineIC.cpp
@@ -289,7 +289,7 @@ DoTypeUpdateFallback(JSContext* cx, BaselineFrame* frame, ICUpdatedStub* stub, H
case ICStub::SetProp_Native:
case ICStub::SetProp_NativeAdd:
case ICStub::SetProp_Unboxed: {
- MOZ_ASSERT(obj->isNative() || obj->is<UnboxedPlainObject>());
+ MOZ_ASSERT(obj->isNative());
jsbytecode* pc = stub->getChainFallback()->icEntry()->pc(script);
if (*pc == JSOP_SETALIASEDVAR || *pc == JSOP_INITALIASEDLEXICAL)
id = NameToId(EnvironmentCoordinateName(cx->caches.envCoordinateNameCache, script, pc));