summaryrefslogtreecommitdiffstats
path: root/js
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
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')
-rw-r--r--js/src/jit/BaselineIC.cpp4
-rw-r--r--js/src/jsarray.cpp4
2 files changed, 4 insertions, 4 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;
}
diff --git a/js/src/jsarray.cpp b/js/src/jsarray.cpp
index a33735143..5854fda4c 100644
--- a/js/src/jsarray.cpp
+++ b/js/src/jsarray.cpp
@@ -2480,8 +2480,8 @@ js::array_splice_impl(JSContext* cx, unsigned argc, Value* vp, bool returnValueI
/* Steps 10-11. */
DebugOnly<DenseElementResult> result =
CopyDenseElements(cx, &arr->as<NativeObject>(),
- &obj->as<NativeObject>(), 0,
- actualStart, actualDeleteCount);
+ &obj->as<NativeObject>(), 0,
+ actualStart, actualDeleteCount);
MOZ_ASSERT(result.value == DenseElementResult::Success);
/* Step 12 (implicit). */