Closed Bug 553036 Opened 15 years ago Closed 15 years ago

Make nvprof macros non-variadic and cross-platform

Categories

(Tamarin Graveyard :: Virtual Machine, defect, P3)

All
Symbian
defect

Tracking

(Not tracked)

VERIFIED FIXED
flash10.1

People

(Reporter: lhansen, Assigned: lhansen)

Details

Attachments

(1 file, 1 obsolete file)

Symbian tool chain does not grok variadic macros; let's avoid them.
These are the other cross-platform variadic macros in Tamarin: In CodegenLIR.h: DEBUGGER_ONLY In nanojit.h IF_64BIT UNLESS_64BIT __NanoAssertMsgf _NanoAssertMsgf NanoAssertMsgf verbose_only In Native.h: IF_PEDANTIC UNLESS_PEDANTIC asm_output
Attached patch Patch from Ed for nvprof fixes (obsolete) — Splinter Review
Attachment #433146 - Attachment is obsolete: true
nvprof fixes pushed to tamarin-redux-argo: changeset: 3835:6a3ddcd4a161
Closing until such a time as it turns out that the other macros cause trouble for the Symbian tool chain.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
nanojit avoided variadic a while back, but it was decided during the nj-merge that this was overly restrictive. What I'm getting at is that if we convert all the uses, we'll have to monitor it closely on the nanojit front. nj-central currently does not have any triggers to catch an injection.
(In reply to comment #6) > nanojit avoided variadic a while back, but it was decided during the nj-merge > that this was overly restrictive. > > What I'm getting at is that if we convert all the uses, we'll have to monitor > it closely on the nanojit front. nj-central currently does not have any > triggers to catch an injection. OK. Grepping for __VA_ARGS__ seems to be a good indicator of presence / absence. Samuli says the Symbian tool chain may see an upgrade soon and the problem may go away.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: