Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix outdated V8 Torque builtins #762

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Fix outdated V8 Torque builtins #762

wants to merge 4 commits into from

Conversation

rluvaton
Copy link

Fix #761

@@ -96,16 +97,23 @@ The definition is also straightforward. The only difference to our builtin with

```torque
namespace math {
builtin HeapNumberIs42(implicit context: Context)(heapNumber: HeapNumber):
Boolean {
transitioning macro HeapNumberIs42(implicit context: Context)(heapNumber: HeapNumber): Boolean {
Copy link
Author

@rluvaton rluvaton Apr 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines 95-97 should be updated as well but I'm not sure what to write there

@@ -132,7 +131,7 @@ TEST(MathIsHeapNumber42) {
Heap* heap = isolate->heap();
Zone* zone = scope.main_zone();

StubTester tester(isolate, zone, Builtins::kMathIs42);
StubTester tester(isolate, zone, Builtin::kMathIs42);
Copy link
Author

@rluvaton rluvaton Apr 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 126 should be updated as well, there is no more test-run-stubs.cc file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Outdated V8 Torque builtins docs
1 participant