diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-05-16 19:54:19 +0000 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-05-16 19:54:19 +0000 |
commit | fa8bfa1a00ca88dd0ff5f8dcfb89dee5fd01c639 (patch) | |
tree | b21e156db4a4d264fe18d608b698c15f3cc3b598 /js/src/vm | |
parent | 543fa1674bcb4f8c40f0ef6e4c5514ea161def5a (diff) | |
download | UXP-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.cpp | 11 | ||||
-rw-r--r-- | js/src/vm/TypeInference.h | 1 |
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); |