mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
bug 363255. uintptr_t should be uintptr. Also checked in fix for e4xnode.cpp when parsing malformed namespace. no reviewer for sat. morning
This commit is contained in:
parent
b48bebfdb8
commit
13cd292bc5
@ -276,12 +276,12 @@ namespace MMgc
|
||||
|
||||
void set(T obj)
|
||||
{
|
||||
uintptr_t p = (uintptr_t)obj;
|
||||
uintptr p = (uintptr)obj;
|
||||
high = p >> HIDDENPTRSHIFT;
|
||||
low = p & HIDDENPTRMASK;
|
||||
}
|
||||
uintptr_t high;
|
||||
uintptr_t low;
|
||||
uintptr high;
|
||||
uintptr low;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -532,7 +532,8 @@ namespace avmplus
|
||||
}
|
||||
// !!@ Don't intern these namespaces since the intern table ignores
|
||||
// the prefix value of the namespace.
|
||||
this->_addInScopeNamespace (core, ns);
|
||||
if (ns) // ns can be null if prefix is defined and attributeValue = ""
|
||||
this->_addInScopeNamespace (core, ns);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user