Bug 159644 - Convert the various heap walking functors to lambdas
Summary: Convert the various heap walking functors to lambdas
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 159643
Blocks:
  Show dependency treegraph
 
Reported: 2016-07-11 13:39 PDT by Filip Pizlo
Modified: 2020-08-28 03:45 PDT (History)
2 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 2016-07-11 13:39:45 PDT
This will make the code cleaner and it will make it easier to reason about the constness of the functor.
Comment 1 Paulo Matos 2019-09-18 01:08:50 PDT
I was wondering if I can help with this. I have been looking at Heap/GC code for a couple of weeks and some if I can help with some refactoring, it would have give me the opportunity to possibly understand the code in-depth. 

Is there any other place where we are using C++ lambdas instead of Functors - so I can ge the feeling on how to style the code?