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

Add gczeal and more jsval helpers. #71

Merged
merged 1 commit into from Apr 14, 2014
Merged

Add gczeal and more jsval helpers. #71

merged 1 commit into from Apr 14, 2014

Conversation

@jdm
Copy link
Member

jdm commented Apr 13, 2014

Needed for servo/servo#2101.

jsval.rs Outdated
}

pub fn trace_kind(&self) -> u32 {
assert!(self.is_gcthing());

This comment has been minimized.

@Ms2ger

Ms2ger Apr 14, 2014

Collaborator

I don't believe this handles null correctly.

This comment has been minimized.

@jdm

jdm Apr 14, 2014

Author Member

What's your concern, precisely? These are direct ports of the Gecko versions.

This comment has been minimized.

@jdm

jdm Apr 14, 2014

Author Member

Well, except for the assert I guess. Is that what you mean?

@jdm
Copy link
Member Author

jdm commented Apr 14, 2014

Updated.

@Ms2ger
Copy link
Collaborator

Ms2ger commented Apr 14, 2014

r+

Ms2ger added a commit that referenced this pull request Apr 14, 2014
Add gczeal and more jsval helpers.
@Ms2ger Ms2ger merged commit d4aa4df into servo:master Apr 14, 2014
mmatyas pushed a commit to mmatyas/rust-mozjs that referenced this pull request Jul 30, 2015
tschneidereit pushed a commit to tschneidereit/rust-mozjs that referenced this pull request Aug 26, 2017
Fix build for win32, remove --enable-gczeal that snuck back in

For some reason, gcc isn't generating public symbols for setTracingLocation if they're defined inline in the class declaration in the header.  There's probably an attribute we could apply or something, but this was the simplest way to get this to work.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/mozjs/71)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.