Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion scripts/build/deps/webkit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* for local mode. Override via `--webkit-version=<hash>` to test a branch.
* From https://github.com/oven-sh/WebKit releases.
*/
export const WEBKIT_VERSION = "8c6c963e3c49fe39942d9625d1fc924128fad26e";
export const WEBKIT_VERSION = "a7b59e61de2e2c4fae7c533e240ea85ca36fdddc";

/**
* WebKit (JavaScriptCore) — the JS engine, with WTF and bmalloc.
Expand Down
8 changes: 4 additions & 4 deletions test/aot/engine-tests/analysis/arrays/local-boolean-arrays.ir
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,8 @@ function f55 module=m0 role=Signature thisType={type=anything} results=[{type=an
function f56 module=m0 role=Signature thisType={type=anything} results=[{type=anything}] functionTypes=[f48]
function f57 module=m0 role=Signature thisType={type=anything} results=[{type=anything}]
function f58 module=m0 role=Signature thisType={type=anything} results=[{type=anything}]
function f59 name="next" module=m1 kind=Method role=Library flags=[HasThis, IsChecked, HasExplicitName] enclosingRuntimeFunction=69 thisType={type=anything} results=[{type=anything}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame]
function f60 name="filter" module=m2 position=4475 kind=Method role=Library flags=[HasThis, IsChecked, HasExplicitName] length=1 enclosingRuntimeFunction=33 thisType={type=anything} parameters=[{type=anything}, {type=anything}] results=[{type=anything}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame]
function f59 name="next" module=m1 kind=Method role=Library flags=[HasThis, IsChecked, HasExplicitName] enclosingRuntimeFunction=68 thisType={type=anything} results=[{type=anything}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame]
function f60 name="filter" module=m2 position=4475 kind=Method role=Library flags=[HasThis, IsChecked, HasExplicitName] length=1 enclosingRuntimeFunction=32 thisType={type=anything} parameters=[{type=anything}, {type=anything}] results=[{type=anything}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame]
function f61 name="clampToLength" module=m3 position=720 role=Library flags=[IsChecked, IsHiddenInStackTraces, HasExplicitName] length=2 thisType={type=anything} parameters=[{type=number site=w227}, {type=number site=w228}] results=[{type=number site=w229}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame]
function f62 name="storeInNewArray" module=m3 position=955 role=Library flags=[IsChecked, IsHiddenInStackTraces, HasExplicitName] length=3 thisType={type=anything} parameters=[{type=undefined|null|Array site=w230 flags=[OmitsNull, OmitsUndefined]}, {type=number site=w231}, {type=anything}] results=[{type=anything}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame]
function f63 name="appendParts" module=m3 position=1242 role=Library flags=[IsChecked, IsHiddenInStackTraces, HasExplicitName] length=3 thisType={type=anything} parameters=[{type=undefined|null|Array site=w232 flags=[OmitsNull, OmitsUndefined]}, {type=number site=w233}, {type=anything}] results=[{type=number site=w234}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame]
Expand All @@ -588,8 +588,8 @@ function f68 name="filledArray" module=m4 position=2241 kind=Method role=Library
v13 = Convert v8 declared={type=undefined|null|Array site=w302 flags=[OmitsNull, OmitsUndefined]}
Return v13
}
runtimefunction id=33 function=f60
runtimefunction id=69 function=f59
runtimefunction id=32 function=f60
runtimefunction id=68 function=f59
runtimefunction id=131091 function=f67 visibility=Private
runtimefunction id=131113 function=f68 visibility=Private
# -- generated: twoAtOnce
Expand Down
10 changes: 5 additions & 5 deletions test/aot/engine-tests/analysis/arrays/predicted-length.ir
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ function f6 module=m0 position=994 thisType={type=anything} results=[{type=undef
function f7 module=m0 role=Signature thisType={type=anything} results=[{type=anything}]
function f8 module=m0 role=Signature thisType={type=anything} results=[{type=anything}]
function f9 module=m0 role=Signature thisType={type=anything} results=[{type=anything}]
function f10 name="next" module=m1 kind=Method role=Library flags=[HasThis, IsChecked, HasExplicitName] enclosingRuntimeFunction=69 thisType={type=anything} results=[{type=anything}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame] {
function f10 name="next" module=m1 kind=Method role=Library flags=[HasThis, IsChecked, HasExplicitName] enclosingRuntimeFunction=68 thisType={type=anything} results=[{type=anything}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame] {
b0(v0: anything):
Jump -> next b1()
b1():
Expand All @@ -287,7 +287,7 @@ function f10 name="next" module=m1 kind=Method role=Library flags=[HasThis, IsCh
v11 = ThrowNewError errorKind=TypeError message="%ArrayIteratorPrototype%.next requires that |this| be an Array Iterator instance"
Unreachable
}
runtimefunction id=69 function=f10
runtimefunction id=68 function=f10
# -- generated: holes made f5 next attempt
# CHECK-LABEL: function {{*}}name="holes"
# CHECK: module=m0 position=195 flags=[HasExplicitName] length=2 thisType={type=anything} parameters=[{type=undefined|Array<int[1, 5], proven, Int32, pristine[Storage, Names, Dense]>}, {type=undefined|null|true|number|string|bigint|L0}] results=[{type=number}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame, IsNeverCalledByHost, ClosuresAreReadWithoutCode] {
Expand Down Expand Up @@ -359,7 +359,7 @@ runtimefunction id=69 function=f10
# CHECK-NEXT: Jump -> next b2(v14)
# CHECK-NEXT: }
# CHECK-LABEL: function {{*}}name="next"
# CHECK: module=m1 kind=Method role=ResultWrapper flags=[HasThis, IsChecked, HasExplicitName] enclosingRuntimeFunction=69 thisType={type=ArrayIterator flags=[IsExpected]} results=[{type=L(IteratorResult)}] capabilities=[MayBeInlined, HasOrdinaryFrame, IsHiddenInStackTraces] creator=ResultWrapper{worker=f18 layout=L(IteratorResult)} {
# CHECK: module=m1 kind=Method role=ResultWrapper flags=[HasThis, IsChecked, HasExplicitName] enclosingRuntimeFunction=68 thisType={type=ArrayIterator flags=[IsExpected]} results=[{type=L(IteratorResult)}] capabilities=[MayBeInlined, HasOrdinaryFrame, IsHiddenInStackTraces] creator=ResultWrapper{worker=f18 layout=L(IteratorResult)} {
# CHECK-NEXT: b0(v0: anything):
# CHECK-NEXT: v1: undefined = CallDirect v0 function=f18
# CHECK-NEXT: v2: anything = ResultAt v1
Expand All @@ -370,7 +370,7 @@ runtimefunction id=69 function=f10
# CHECK-LABEL: function {{*}}name="made"
# CHECK: module=m0 position=282 role=ResultWorker flags=[HasExplicitName] length=1 thisType={type=anything} parameters=[{type=undefined|null|true|number|string|L1|Array<2, proven, pristine[Storage, Names, Dense]>}] results=[{type=int[0, 4294967295]}, {type=boolean}, {type=true}] capabilities=[MayChangeSignature, MayBeInlined, HasOrdinaryFrame, HasOnlyDirectCallers, IsNeverCalledByHost] derivation={source=f2 parameterMap=[{original=0}]} creator=ResultWorker{origin=f2}
# CHECK-LABEL: function {{*}}name="next"
# CHECK: module=m1 kind=Method role=GenericEntrypoint flags=[HasThis, IsChecked] enclosingRuntimeFunction=69 captures=[{type=f10}] thisType={type=anything} results=[{type=anything}] capabilities=[HasOrdinaryFrame, IsHiddenInStackTraces] derivation={source=f10} creator=Entrypoint{target=f10 arguments=Registers} {
# CHECK: module=m1 kind=Method role=GenericEntrypoint flags=[HasThis, IsChecked] enclosingRuntimeFunction=68 captures=[{type=f10}] thisType={type=anything} results=[{type=anything}] capabilities=[HasOrdinaryFrame, IsHiddenInStackTraces] derivation={source=f10} creator=Entrypoint{target=f10 arguments=Registers} {
# CHECK-NEXT: b0(v0: f10, v1: anything):
# CHECK-NEXT: v2: L(IteratorResult) = CallDirect v1 function=f10
# CHECK-NEXT: ReturnCall v2 requirement=Allowed
Expand Down Expand Up @@ -735,7 +735,7 @@ runtimefunction id=69 function=f10
# CHECK-NEXT: Return v255
# CHECK-NEXT: }
# CHECK-LABEL: function {{*}}name="next"
# CHECK: module=m1 kind=Method role=ResultWorker flags=[HasThis, IsChecked, HasExplicitName] enclosingRuntimeFunction=69 thisType={type=ArrayIterator flags=[IsExpected]} results=[{type=anything}, {type=boolean}] capabilities=[MayChangeSignature, MayBeInlined, HasOrdinaryFrame, HasOnlyDirectCallers, IsNeverCalledByHost] derivation={source=f10 parameterMap=[{original=0}]} creator=ResultWorker{origin=f10} {
# CHECK: module=m1 kind=Method role=ResultWorker flags=[HasThis, IsChecked, HasExplicitName] enclosingRuntimeFunction=68 thisType={type=ArrayIterator flags=[IsExpected]} results=[{type=anything}, {type=boolean}] capabilities=[MayChangeSignature, MayBeInlined, HasOrdinaryFrame, HasOnlyDirectCallers, IsNeverCalledByHost] derivation={source=f10 parameterMap=[{original=0}]} creator=ResultWorker{origin=f10} {
# CHECK-NEXT: b0(v0: anything ~ ArrayIterator):
# CHECK-NEXT: v1: boolean = HasJSType v0 first=5 last=5
# CHECK-NEXT: Branch v1 -> taken b1(), notTaken b25()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ function f13 name="loopThatLeavesEarlyBehind" module=m0 position=1991 flags=[IsG
b17(v41):
Return v41
}
function f14 name="next" module=m1 kind=Method role=Library flags=[HasThis, IsChecked, HasExplicitName] enclosingRuntimeFunction=69 thisType={type=anything} results=[{type=anything}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame] {
function f14 name="next" module=m1 kind=Method role=Library flags=[HasThis, IsChecked, HasExplicitName] enclosingRuntimeFunction=68 thisType={type=anything} results=[{type=anything}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame] {
b0(v0: anything):
Jump -> next b1()
b1():
Expand All @@ -1120,7 +1120,7 @@ function f14 name="next" module=m1 kind=Method role=Library flags=[HasThis, IsCh
v11 = ThrowNewError errorKind=TypeError message="%ArrayIteratorPrototype%.next requires that |this| be an Array Iterator instance"
Unreachable
}
function f15 name="next" module=m2 position=25 kind=Method role=Library flags=[HasThis, IsChecked, IsHiddenInStackTraces, HasExplicitName] length=1 enclosingRuntimeFunction=70 thisType={type=anything} parameters=[{type=anything}] results=[{type=anything}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame] {
function f15 name="next" module=m2 position=25 kind=Method role=Library flags=[HasThis, IsChecked, IsHiddenInStackTraces, HasExplicitName] length=1 enclosingRuntimeFunction=69 thisType={type=anything} parameters=[{type=anything}] results=[{type=anything}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame] {
b0(v0: anything, v1: anything):
Jump -> next b1()
b1():
Expand All @@ -1144,7 +1144,7 @@ function f15 name="next" module=m2 position=25 kind=Method role=Library flags=[H
v13 = CreateIteratorResult v3, v12
Return v13
}
function f16 name="return" module=m2 position=548 kind=Method role=Library flags=[HasThis, IsChecked, IsHiddenInStackTraces, HasExplicitName] length=1 enclosingRuntimeFunction=86 thisType={type=anything} parameters=[{type=anything}] results=[{type=anything}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame] {
function f16 name="return" module=m2 position=548 kind=Method role=Library flags=[HasThis, IsChecked, IsHiddenInStackTraces, HasExplicitName] length=1 enclosingRuntimeFunction=85 thisType={type=anything} parameters=[{type=anything}] results=[{type=anything}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame] {
b0(v0: anything, v1: anything):
Jump -> next b1()
b1():
Expand All @@ -1168,9 +1168,9 @@ function f16 name="return" module=m2 position=548 kind=Method role=Library flags
v13 = CreateIteratorResult v3, v12
Return v13
}
runtimefunction id=69 function=f14
runtimefunction id=70 function=f15 visibility=Private
runtimefunction id=86 function=f16 visibility=Private
runtimefunction id=68 function=f14
runtimefunction id=69 function=f15 visibility=Private
runtimefunction id=85 function=f16 visibility=Private
# -- generated: show nothing drain loopBehind loopInFrontAndDelegationBehind loopsOnBothSides answerOfACall insideALoop loopThatLeavesEarlyBehind
# CHECK-LABEL: function {{*}}name="show"
# CHECK: module=m0 position=138 flags=[IsChecked, HasExplicitName] length=1 thisType={type=anything} parameters=[{type=anything}] results=[{type=undefined}] capabilities=[MayChangeSignature, MayBeCloned, MayBeInlined, HasOrdinaryFrame, IsNeverCalledByHost, ClosuresAreReadWithoutCode] {
Expand Down
Loading
Loading