mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-08 12:22:34 +00:00
Fix gcc 2.7.2.3 bustage (conditional with enumerated values from different anonymous enums). r=jband
This commit is contained in:
parent
35447f5647
commit
7241928fef
@ -143,9 +143,10 @@ XPCJSStackFrame::CreateStack(JSContext* cx, JSStackFrame* fp,
|
||||
|
||||
if(!failed)
|
||||
{
|
||||
self->mLanguage = JS_IsNativeFrame(cx, fp) ?
|
||||
nsIProgrammingLanguage::CPLUSPLUS :
|
||||
nsIProgrammingLanguage::JAVASCRIPT;
|
||||
if (JS_IsNativeFrame(cx, fp))
|
||||
self->mLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
||||
else
|
||||
self->mLanguage = nsIProgrammingLanguage::JAVASCRIPT;
|
||||
if(self->IsJSFrame())
|
||||
{
|
||||
JSScript* script = JS_GetFrameScript(cx, fp);
|
||||
|
Loading…
Reference in New Issue
Block a user