Bug 125419 - Come up with a clever idiom to avoid saying 'bool performBlah(Graph& graph) { SamplingRegion samplingRegion("DFG Blah Phase"); return runPhase<BlahPhase>(dfg); }'
Summary: Come up with a clever idiom to avoid saying 'bool performBlah(Graph& graph) {...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-08 10:55 PST by Filip Pizlo
Modified: 2013-12-09 09:31 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2013-12-08 10:55:16 PST
...
Comment 1 Filip Pizlo 2013-12-08 10:55:33 PST
We have to say this a lot.  Would be cool to say it more tersely.
Comment 2 Mark Hahnenberg 2013-12-09 09:31:49 PST
(In reply to comment #1)
> We have to say this a lot.  Would be cool to say it more tersely.

Sounds like the job of a macro :-D