-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[JSPI] Remove instrumentFunction. NFC #26170
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
Conversation
7c49a5c to
0bae8c9
Compare
I noticed that this was not doing anything in JSPI mode.
0bae8c9 to
75464ec
Compare
| ret[x] = wrapper; | ||
|
|
||
| } else { | ||
| #endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this not match if ASYNCIFY == 2? (edit: from line 167) (if so, then my comment from above remains - can this not be reached with values 0 or 1?)
Please add a comment saying what it does match, if I'm reading this wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or is my confusion about JSPI - what is the value of ASYNCIFY when JSPI is enabled?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JSPI means ASYNCIFY == 2 yes, they are the same thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, makes sense now.
| ret[x] = wrapper; | ||
|
|
||
| } else { | ||
| #endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, makes sense now.
|
@brendandahl WDYT? |
I noticed that this was not doing anything in JSPI mode.