summaryrefslogtreecommitdiff
path: root/chromium/v8/src/builtins/array-of.tq
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-16 09:59:13 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-20 10:28:53 +0000
commit6c11fb357ec39bf087b8b632e2b1e375aef1b38b (patch)
treec8315530db18a8ee566521c39ab8a6af4f72bc03 /chromium/v8/src/builtins/array-of.tq
parent3ffaed019d0772e59d6cdb2d0d32fe4834c31f72 (diff)
downloadqtwebengine-chromium-6c11fb357ec39bf087b8b632e2b1e375aef1b38b.tar.gz
BASELINE: Update Chromium to 74.0.3729.159
Change-Id: I8d2497da544c275415aedd94dd25328d555de811 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/v8/src/builtins/array-of.tq')
-rw-r--r--chromium/v8/src/builtins/array-of.tq6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/v8/src/builtins/array-of.tq b/chromium/v8/src/builtins/array-of.tq
index 6434dbc8c86..70fda8d2eba 100644
--- a/chromium/v8/src/builtins/array-of.tq
+++ b/chromium/v8/src/builtins/array-of.tq
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-namespace array {
+namespace array_of {
// https://tc39.github.io/ecma262/#sec-array.of
transitioning javascript builtin
ArrayOf(implicit context: Context)(receiver: Object, ...arguments): Object {
@@ -39,14 +39,14 @@ namespace array {
// b. Let Pk be ! ToString(k).
// c. Perform ? CreateDataPropertyOrThrow(A, Pk, kValue).
- CreateDataProperty(a, k, kValue);
+ FastCreateDataProperty(a, k, kValue);
// d. Increase k by 1.
k++;
}
// 8. Perform ? Set(A, "length", len, true).
- SetPropertyLength(a, len);
+ array::SetPropertyLength(a, len);
// 9. Return A.
return a;