summaryrefslogtreecommitdiffstats
path: root/js/src/vm
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-05-16 19:54:19 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-05-16 19:54:19 +0000
commitfa8bfa1a00ca88dd0ff5f8dcfb89dee5fd01c639 (patch)
treeb21e156db4a4d264fe18d608b698c15f3cc3b598 /js/src/vm
parent543fa1674bcb4f8c40f0ef6e4c5514ea161def5a (diff)
downloadUXP-fa8bfa1a00ca88dd0ff5f8dcfb89dee5fd01c639.tar
UXP-fa8bfa1a00ca88dd0ff5f8dcfb89dee5fd01c639.tar.gz
UXP-fa8bfa1a00ca88dd0ff5f8dcfb89dee5fd01c639.tar.lz
UXP-fa8bfa1a00ca88dd0ff5f8dcfb89dee5fd01c639.tar.xz
UXP-fa8bfa1a00ca88dd0ff5f8dcfb89dee5fd01c639.zip
Remove unboxed object code from jit, Part 1
Diffstat (limited to 'js/src/vm')
-rw-r--r--js/src/vm/TypeInference.cpp11
-rw-r--r--js/src/vm/TypeInference.h1
2 files changed, 0 insertions, 12 deletions
diff --git a/js/src/vm/TypeInference.cpp b/js/src/vm/TypeInference.cpp
index fe89fac9c..9e0342382 100644
--- a/js/src/vm/TypeInference.cpp
+++ b/js/src/vm/TypeInference.cpp
@@ -1995,17 +1995,6 @@ TypeSet::ObjectKey::watchStateChangeForTypedArrayData(CompilerConstraintList* co
ConstraintDataFreezeObjectForTypedArrayData(tarray)));
}
-void
-TypeSet::ObjectKey::watchStateChangeForUnboxedConvertedToNative(CompilerConstraintList* constraints)
-{
- HeapTypeSetKey objectProperty = property(JSID_EMPTY);
- LifoAlloc* alloc = constraints->alloc();
-
- typedef CompilerConstraintInstance<ConstraintDataFreezeObjectForUnboxedConvertedToNative> T;
- constraints->add(alloc->new_<T>(alloc, objectProperty,
- ConstraintDataFreezeObjectForUnboxedConvertedToNative()));
-}
-
static void
ObjectStateChange(ExclusiveContext* cxArg, ObjectGroup* group, bool markingUnknown)
{
diff --git a/js/src/vm/TypeInference.h b/js/src/vm/TypeInference.h
index 0f1cd4936..04fed448c 100644
--- a/js/src/vm/TypeInference.h
+++ b/js/src/vm/TypeInference.h
@@ -262,7 +262,6 @@ class TypeSet
bool hasStableClassAndProto(CompilerConstraintList* constraints);
void watchStateChangeForInlinedCall(CompilerConstraintList* constraints);
void watchStateChangeForTypedArrayData(CompilerConstraintList* constraints);
- void watchStateChangeForUnboxedConvertedToNative(CompilerConstraintList* constraints);
HeapTypeSetKey property(jsid id);
void ensureTrackedProperty(JSContext* cx, jsid id);