diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-01-20 13:40:20 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-01-22 12:41:23 +0000 |
commit | 7961cea6d1041e3e454dae6a1da660b453efd238 (patch) | |
tree | c0eeb4a9ff9ba32986289c1653d9608e53ccb444 /chromium/v8/src/builtins/object-fromentries.tq | |
parent | b7034d0803538058e5c9d904ef03cf5eab34f6ef (diff) | |
download | qtwebengine-chromium-7961cea6d1041e3e454dae6a1da660b453efd238.tar.gz |
BASELINE: Update Chromium to 78.0.3904.130
Change-Id: If185e0c0061b3437531c97c9c8c78f239352a68b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/v8/src/builtins/object-fromentries.tq')
-rw-r--r-- | chromium/v8/src/builtins/object-fromentries.tq | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chromium/v8/src/builtins/object-fromentries.tq b/chromium/v8/src/builtins/object-fromentries.tq index 32115e78eab..fc36e34038d 100644 --- a/chromium/v8/src/builtins/object-fromentries.tq +++ b/chromium/v8/src/builtins/object-fromentries.tq @@ -5,7 +5,7 @@ namespace object { transitioning macro ObjectFromEntriesFastCase(implicit context: Context)( - iterable: Object): JSObject labels IfSlow { + iterable: JSAny): JSObject labels IfSlow { typeswitch (iterable) { case (array: FastJSArrayWithNoCustomIteration): { const elements: FixedArray = @@ -14,7 +14,7 @@ namespace object { const result: JSObject = NewJSObject(); for (let k: Smi = 0; k < length; ++k) { - const value: Object = array::LoadElementOrUndefined(elements, k); + const value: JSAny = array::LoadElementOrUndefined(elements, k); const pair: KeyValuePair = collections::LoadKeyValuePairNoSideEffects(value) otherwise IfSlow; @@ -26,16 +26,16 @@ namespace object { } return result; } - case (Object): { + case (JSAny): { goto IfSlow; } } } transitioning javascript builtin - ObjectFromEntries(js-implicit context: Context, receiver: Object)( - ...arguments): Object { - const iterable: Object = arguments[0]; + ObjectFromEntries(js-implicit context: Context, receiver: JSAny)( + ...arguments): JSAny { + const iterable: JSAny = arguments[0]; try { if (IsNullOrUndefined(iterable)) goto Throw; return ObjectFromEntriesFastCase(iterable) otherwise IfSlow; @@ -50,7 +50,7 @@ namespace object { const step: JSReceiver = iterator::IteratorStep(i, fastIteratorResultMap) otherwise return result; - const iteratorValue: Object = + const iteratorValue: JSAny = iterator::IteratorValue(step, fastIteratorResultMap); const pair: KeyValuePair = collections::LoadKeyValuePair(iteratorValue); |