-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
359 changed files
with
11,441 additions
and
14,743 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 0 additions & 58 deletions
58
src/main/resources/manuals/bugfix/d048f32e861c2ed4a26f59a50d392918f26da3ba.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
def HostEnqueuePromiseJob( | ||
job: Clo, | ||
realm: RealmRecord | Null, | ||
realm: Record[RealmRecord] | Null, | ||
): Enum[~unused~] = { | ||
call %0 = clo<GetActiveScriptOrModule>() | ||
let newJob = (record [PendingJob] { "Job" : job, "Realm" : realm, "ScriptOrModule" : %0 }) | ||
call %0 = clo<"GetActiveScriptOrModule">() | ||
let newJob = (record { | ||
"Job" : job, | ||
"Realm" : realm, | ||
"ScriptOrModule" : %0, | ||
}) | ||
push @JOB_QUEUE < newJob | ||
return ~unused~ | ||
} |
6 changes: 3 additions & 3 deletions
6
src/main/resources/manuals/funcs/HostEnsureCanCompileStrings.ir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
def HostEnsureCanCompileStrings( | ||
calleeRealm: RealmRecord, | ||
calleeRealm: Record[RealmRecord], | ||
parameterStrings: List[String], | ||
bodyString: String, | ||
direct: Boolean, | ||
): Normal[Enum[~unused~]] | Abrupt[throw] = { | ||
call %0 = clo<NormalCompletion>(~unused~) | ||
call %0 = clo<"NormalCompletion">(~unused~) | ||
return %0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
def HostFinalizeImportMeta( | ||
importMeta: Object, | ||
moduleRecord: ModuleRecord, | ||
importMeta: Record[Object], | ||
moduleRecord: Record[ModuleRecord], | ||
): Enum[~unused~] = { | ||
return ~unused~ | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
src/main/resources/manuals/funcs/HostGetImportMetaProperties.ir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
def HostGetImportMetaProperties( | ||
moduleRecord: ModuleRecord, | ||
): List[{ [[Key]]: Symbol | String, [[Value]]: ESValue }] = { | ||
moduleRecord: Record[ModuleRecord], | ||
): List[Record[{ Key: Record[Symbol] | String, Value: ESValue }]] = { | ||
return (list []) | ||
} |
4 changes: 2 additions & 2 deletions
4
src/main/resources/manuals/funcs/HostPromiseRejectionTracker.ir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
def HostPromiseRejectionTracker( | ||
promise: Promise, | ||
promise: Record[Promise], | ||
operation: String["handle", "reject"], | ||
): Enum[~unused~] = { | ||
return ~unused~ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,40 @@ | ||
def <BUILTIN>:INTRINSICS.EvalError( | ||
this: ESValue, | ||
ArgumentsList: List[ESValue], | ||
NewTarget: Object | Undefined, | ||
NewTarget: Record[Constructor] | Undefined, | ||
): Unknown = { | ||
if (< 0 ArgumentsList.length) let message = (pop < ArgumentsList) else let message = absent | ||
if (< 0 ArgumentsList.length) let options = (pop < ArgumentsList) else let options = absent | ||
%0 = (= NewTarget undefined) | ||
if %0 { | ||
let __args__ = (record) | ||
if (< 0 (sizeof ArgumentsList)) { | ||
pop message < ArgumentsList | ||
expand __args__.message | ||
} else let message = undefined | ||
if (< 0 (sizeof ArgumentsList)) { | ||
pop options < ArgumentsList | ||
expand __args__.options | ||
} else let options = undefined | ||
if (= NewTarget undefined) { | ||
let newTarget = @EXECUTION_STACK[0].Function | ||
} else { | ||
let newTarget = NewTarget | ||
} | ||
call %1 = clo<OrdinaryCreateFromConstructor>(newTarget, "%EvalError.prototype%", (list ["ErrorData"])) | ||
let O = [? %1] | ||
%2 = (! (= message undefined)) | ||
if %2 { | ||
call %3 = clo<ToString>(message) | ||
let msg = [? %3] | ||
call %4 = clo<CreateNonEnumerableDataPropertyOrThrow>(O, "message", msg) | ||
[! %4] | ||
call %0 = clo<"OrdinaryCreateFromConstructor">(newTarget, "%EvalError.prototype%", (list ["ErrorData"])) | ||
assert (? %0: Completion) | ||
if (? %0: Abrupt) return %0 | ||
else %0 = %0.Value | ||
let O = %0 | ||
%1 = (exists __args__.message) | ||
if %1 { | ||
call %2 = clo<"ToString">(message) | ||
assert (? %2: Completion) | ||
if (? %2: Abrupt) return %2 | ||
else %2 = %2.Value | ||
let msg = %2 | ||
call %3 = clo<"CreateNonEnumerableDataPropertyOrThrow">(O, "message", msg) | ||
} | ||
call %5 = clo<InstallErrorCause>(O, options) | ||
[? %5] | ||
return O | ||
call %4 = clo<"InstallErrorCause">(O, options) | ||
assert (? %4: Completion) | ||
if (? %4: Abrupt) return %4 | ||
else %4 = %4.Value | ||
call %5 = clo<"NormalCompletion">(O) | ||
return %5 | ||
} |
7 changes: 4 additions & 3 deletions
7
src/main/resources/manuals/funcs/INTRINSICS.Function.prototype.ir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
def <BUILTIN>:INTRINSICS.Function.prototype( | ||
this: ESValue, | ||
ArgumentsList: List[ESValue], | ||
NewTarget: Object | Undefined, | ||
NewTarget: Record[Object] | Undefined, | ||
): Unknown = { | ||
return undefined | ||
} | ||
call %0 = clo<"NormalCompletion">(undefined) | ||
return %0 | ||
} |
Oops, something went wrong.