Closed
Bug 620452
Opened 14 years ago
Closed 13 years ago
jsemit.cpp compile failure when #undef JS_HAS_SHARP_VARS
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla11
People
(Reporter: andrew, Assigned: andrew)
Details
Attachments
(1 file, 2 obsolete files)
1.04 KB,
patch
|
Details | Diff | Splinter Review |
The definition of the EmitNewInit() static function in jsemit.cpp always has a "sharpnum" argument. This function is called 3 times within the file outside of JS_HAS_SHARP_VARS checks passing the "sharpnum" variable. This variable is only defined when JS_HAS_SHARP_VARS is defined, thus breaking the build.
The attached patch simply always defines the variable since it is always passed to EmitNewInit(). I assume this is preferred over putting the definition of EmitNewInit() as well as all the callers inside #ifdefs.
Assignee | ||
Updated•14 years ago
|
Attachment #498776 -
Flags: review?(mrbkap)
Updated•14 years ago
|
Attachment #498776 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 1•13 years ago
|
||
Revisiting old bugs, rebased patch to mozilla-inbound.
Attachment #498776 -
Attachment is obsolete: true
Attachment #569267 -
Flags: review?(mrbkap)
Updated•13 years ago
|
Attachment #569267 -
Flags: review?(mrbkap) → review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Updated•13 years ago
|
Assignee: general → andrew
Comment 2•13 years ago
|
||
{
applying thg-import-agrin7.patch
unable to find 'js/src/frontend/BytecodeGenerator.cpp' for patching
1 out of 1 hunks FAILED -- saving rejects to file js/src/frontend/BytecodeGenerator.cpp.rej
}
Keywords: checkin-needed
Assignee | ||
Comment 3•13 years ago
|
||
Ed, this checkin failed? Were you applying the patch to mozilla-inbound?
Comment 4•13 years ago
|
||
Yeah sorry meant to put was applying to inbound.
Thanks :-)
Assignee | ||
Comment 5•13 years ago
|
||
Updated patch to apply clean to m-i.
Attachment #569267 -
Attachment is obsolete: true
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 6•13 years ago
|
||
Keywords: checkin-needed
Target Milestone: --- → mozilla11
Comment 7•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•