mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update SpiderMonkey
This commit is contained in:
parent
d32648172c
commit
eb94f1a918
21 changed files with 180 additions and 194 deletions
|
@ -33,6 +33,7 @@ use std::cell::RefCell;
|
|||
use std::collections::hash_map::Entry::{Occupied, Vacant};
|
||||
use std::collections::hash_map::HashMap;
|
||||
use std::marker::PhantomData;
|
||||
use std::os;
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
|
||||
|
@ -199,7 +200,7 @@ impl LiveDOMReferences {
|
|||
|
||||
/// A JSTraceDataOp for tracing reflectors held in LIVE_REFERENCES
|
||||
pub unsafe extern "C" fn trace_refcounted_objects(tracer: *mut JSTracer,
|
||||
_data: *mut libc::c_void) {
|
||||
_data: *mut os::raw::c_void) {
|
||||
LIVE_REFERENCES.with(|ref r| {
|
||||
let r = r.borrow();
|
||||
let live_references = r.as_ref().unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue