summaryrefslogtreecommitdiffstats
path: root/js/src/jit/OptimizationTracking.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-23 21:30:34 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-23 21:30:34 +0000
commitac97104c52c573e25392312d3bb7b3a297f67c44 (patch)
tree5db9627ca4a81a49c71aa583eb827d15754e9add /js/src/jit/OptimizationTracking.cpp
parentfd96dac1d27da739cf168395623a962b2f0f1b98 (diff)
downloadUXP-ac97104c52c573e25392312d3bb7b3a297f67c44.tar
UXP-ac97104c52c573e25392312d3bb7b3a297f67c44.tar.gz
UXP-ac97104c52c573e25392312d3bb7b3a297f67c44.tar.lz
UXP-ac97104c52c573e25392312d3bb7b3a297f67c44.tar.xz
UXP-ac97104c52c573e25392312d3bb7b3a297f67c44.zip
Remove Unboxed Object code from jit, Part 3.
Diffstat (limited to 'js/src/jit/OptimizationTracking.cpp')
-rw-r--r--js/src/jit/OptimizationTracking.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/js/src/jit/OptimizationTracking.cpp b/js/src/jit/OptimizationTracking.cpp
index b42634d43..7d72795a0 100644
--- a/js/src/jit/OptimizationTracking.cpp
+++ b/js/src/jit/OptimizationTracking.cpp
@@ -15,11 +15,9 @@
#include "jit/JitcodeMap.h"
#include "jit/JitSpewer.h"
#include "js/TrackedOptimizationInfo.h"
-#include "vm/UnboxedObject.h"
#include "vm/ObjectGroup-inl.h"
#include "vm/TypeInference-inl.h"
-#include "vm/UnboxedObject-inl.h"
using namespace js;
using namespace js::jit;
@@ -846,8 +844,6 @@ MaybeConstructorFromType(TypeSet::Type ty)
return nullptr;
ObjectGroup* obj = ty.group();
TypeNewScript* newScript = obj->newScript();
- if (!newScript && obj->maybeUnboxedLayout())
- newScript = obj->unboxedLayout().newScript();
return newScript ? newScript->function() : nullptr;
}