-
-
Notifications
You must be signed in to change notification settings - Fork 836
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
avm2: Remove PrimitiveObject #18995
avm2: Remove PrimitiveObject #18995
Conversation
c66ee38
to
cb921ef
Compare
27133cb
to
f4a3a61
Compare
f4a3a61
to
4cdf0ea
Compare
4cdf0ea
to
e21aaad
Compare
@@ -1 +1 @@ | |||
ReferenceError: Error #1069: Property field not found on int and there is no default value. | |||
ReferenceError: Error #1069: Property field not found on Number and there is no default value. |
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.
oh, nice catch.
/// structured objects. | ||
#[allow(unused_mut)] //Not unused. | ||
#[no_dynamic] | ||
fn get_property( |
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.
why not keep these, if only as
fn get_property(...) {
Value::from(self).get_property(...)
}
?
This would prevent several dozen Value::from(self).get_property(...)
changes in other places, and feels like a nice QoL wrapper to have in general.
e21aaad
to
0d42d3f
Compare
0d42d3f
to
fa9f700
Compare
fa9f700
to
95f8b2c
Compare
…ssociated functions to construct events in more places
95f8b2c
to
691a35f
Compare
Supersedes #13152.
Testing on #15485 shows no significant change in its startup time.
Closes #15517.
This also refactors event dispatch code to accept an EventObject instead of a Value or Object