Closed
Bug 579937
Opened 14 years ago
Closed 14 years ago
treehydra_startup assertion incorrect after fatvals
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ehren.m, Assigned: ehren.m)
Details
Attachments
(1 file, 3 obsolete files)
19.55 KB,
patch
|
ehren.m
:
review+
|
Details | Diff | Splinter Review |
I'm not quite sure what the point of this assertion in that I don't see any conversions from void* to jsval or anything that makes assumptions about the size of a jsval. Tests pass with tracemonkey after this change. The JSVAL_(TRUE|FALSE) changes silence a couple of overflow in implicit conversion warnings.
Attachment #458370 -
Flags: review?(tglek)
Assignee | ||
Comment 1•14 years ago
|
||
missed a JSVAL_TRUE -> JS_TRUE
Attachment #458370 -
Attachment is obsolete: true
Attachment #458383 -
Flags: review?(tglek)
Attachment #458370 -
Flags: review?(tglek)
Comment 2•14 years ago
|
||
JSVAL_(TRUE,FALSE) are completely different values than JS_(TRUE,FALSE). The former are tagged values and thus will always look "true". I'm surprised these were assertions and not compile errors. Are you compiling without DEBUG? In DEBUG builds, I made jsval and jsid struct types so these errors would be caught at compile time.
No longer blocks: fatvals
Assignee | ||
Comment 3•14 years ago
|
||
Comment on attachment 458383 [details] [diff] [review] patch v2 I'm compiling tm with DEBUG. struct -> int should be an error... odd. Either way, after talking to Taras, there's a lot more to fix (building on 64 bit ftl).
Attachment #458383 -
Flags: review?(tglek)
Assignee | ||
Comment 4•14 years ago
|
||
I'm breaking any spidermonkey rev. between the rooting changes and fatvals with this btw (about a month of check ins). Works on 32/64 bit with 4.5 or 4.3.
Attachment #458383 -
Attachment is obsolete: true
Attachment #462467 -
Flags: review?(tglek)
Comment 5•14 years ago
|
||
Comment on attachment 462467 [details] [diff] [review] fatvals patch Cool, that's exactly what I wanted. Need some sort of an ifdef #error or a configure check for old spidermonkeys.
Attachment #462467 -
Flags: review?(tglek) → review+
Assignee | ||
Comment 6•14 years ago
|
||
this will still work with older spidermonkeys (I fixed a couple of nits though)
Attachment #462467 -
Attachment is obsolete: true
Attachment #463298 -
Flags: review+
Assignee | ||
Comment 7•14 years ago
|
||
http://hg.mozilla.org/rewriting-and-analysis/dehydra/rev/fd66b553a16c
Assignee: nobody → ehren.m
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•