summaryrefslogtreecommitdiffstats
path: root/js/src/jit/BaselineIC.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-18 12:59:22 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-18 12:59:22 +0000
commitfcc11b2fec61c37c90ffe40e8f406eba64654a9c (patch)
tree7c3e965e151d64763b6f94fdd88ed504c487fe2a /js/src/jit/BaselineIC.cpp
parentccb3f2b730992b65ce404e8c6fbdc297485413ac (diff)
downloadUXP-fcc11b2fec61c37c90ffe40e8f406eba64654a9c.tar
UXP-fcc11b2fec61c37c90ffe40e8f406eba64654a9c.tar.gz
UXP-fcc11b2fec61c37c90ffe40e8f406eba64654a9c.tar.lz
UXP-fcc11b2fec61c37c90ffe40e8f406eba64654a9c.tar.xz
UXP-fcc11b2fec61c37c90ffe40e8f406eba64654a9c.zip
Tabs -> Spaces (no code change)
Diffstat (limited to 'js/src/jit/BaselineIC.cpp')
-rw-r--r--js/src/jit/BaselineIC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jit/BaselineIC.cpp b/js/src/jit/BaselineIC.cpp
index 9151d9634..64cdf01a6 100644
--- a/js/src/jit/BaselineIC.cpp
+++ b/js/src/jit/BaselineIC.cpp
@@ -5752,7 +5752,7 @@ CopyArray(JSContext* cx, HandleArrayObject arr, MutableHandleValue result)
ArrayObject* nobj = NewFullyAllocatedArrayTryReuseGroup(cx, arr, length, TenuredObject);
if (!nobj)
return false;
-
+
MOZ_ASSERT(arr->isNative());
MOZ_ASSERT(nobj->isNative());
MOZ_ASSERT(nobj->as<NativeObject>().getDenseInitializedLength() == 0);
@@ -5763,7 +5763,7 @@ CopyArray(JSContext* cx, HandleArrayObject arr, MutableHandleValue result)
const Value* vp = arr->as<NativeObject>().getDenseElements();
nobj->as<NativeObject>().initDenseElements(0, vp, length);
-
+
result.setObject(*nobj);
return true;
}