Summary: | Make SegmentedVector Noncopyable | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Oliver Hunt <oliver> | ||||
Component: | New Bugs | Assignee: | Oliver Hunt <oliver> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | benjamin, cmarcelo, ggaren, ojan.autocc, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Oliver Hunt
2013-03-11 13:21:06 PDT
Created attachment 192538 [details]
Patch
Comment on attachment 192538 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=192538&action=review r=me > Source/JavaScriptCore/bytecompiler/LabelScope.h:79 > + struct LabelScopeRef { Let's make this a class. The idiomatic name for this in WebKit would be "LabelScopePtr". In future, I think we should just refactor LabelScope to be a true malloc'd, refcounted object, that knows how to notify the byte code generator when it is destroyed. Committed r145401: <http://trac.webkit.org/changeset/145401> |