Commit bf8e06b1 authored by Tobias Tebbi's avatar Tobias Tebbi Committed by Commit Bot

[torque] fix tree-closing formatting of array-sort.tq

Bug: v8:7793
Change-Id: Id454a12e515c693fec6ccf11976cbf5cceec25ae
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1893332
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
Auto-Submit: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64678}
parent 9d77a8af
...@@ -234,7 +234,7 @@ namespace array { ...@@ -234,7 +234,7 @@ namespace array {
// copied values from the prototype chain to the receiver if they were visible // copied values from the prototype chain to the receiver if they were visible
// through a hole. // through a hole.
transitioning builtin Load<ElementsAccessor: type extends ElementsKind>( transitioning builtin Load<ElementsAccessor : type extends ElementsKind>(
context: Context, sortState: SortState, index: Smi): JSAny|TheHole { context: Context, sortState: SortState, index: Smi): JSAny|TheHole {
const receiver = sortState.receiver; const receiver = sortState.receiver;
if (!HasProperty_Inline(receiver, index)) return TheHole; if (!HasProperty_Inline(receiver, index)) return TheHole;
...@@ -268,7 +268,7 @@ namespace array { ...@@ -268,7 +268,7 @@ namespace array {
} }
} }
transitioning builtin Store<ElementsAccessor: type extends ElementsKind>( transitioning builtin Store<ElementsAccessor : type extends ElementsKind>(
context: Context, sortState: SortState, index: Smi, value: JSAny): Smi { context: Context, sortState: SortState, index: Smi, value: JSAny): Smi {
SetProperty(sortState.receiver, index, value); SetProperty(sortState.receiver, index, value);
return kSuccess; return kSuccess;
...@@ -301,7 +301,7 @@ namespace array { ...@@ -301,7 +301,7 @@ namespace array {
return kSuccess; return kSuccess;
} }
transitioning builtin Delete<ElementsAccessor: type extends ElementsKind>( transitioning builtin Delete<ElementsAccessor : type extends ElementsKind>(
context: Context, sortState: SortState, index: Smi): Smi { context: Context, sortState: SortState, index: Smi): Smi {
const receiver = sortState.receiver; const receiver = sortState.receiver;
DeleteProperty(receiver, index, kStrict); DeleteProperty(receiver, index, kStrict);
...@@ -381,7 +381,7 @@ namespace array { ...@@ -381,7 +381,7 @@ namespace array {
return v; return v;
} }
builtin CanUseSameAccessor<ElementsAccessor: type extends ElementsKind>( builtin CanUseSameAccessor<ElementsAccessor : type extends ElementsKind>(
context: Context, receiver: JSReceiver, initialReceiverMap: Map, context: Context, receiver: JSReceiver, initialReceiverMap: Map,
initialReceiverLength: Number): Boolean { initialReceiverLength: Number): Boolean {
if (receiver.map != initialReceiverMap) return False; if (receiver.map != initialReceiverMap) return False;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment