[Webkit-unassigned] [Bug 156147] [JSC] implement async functions proposal

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 28 09:44:52 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=156147

--- Comment #107 from Caitlin Potter (:caitp) <caitp at igalia.com> ---
something like

```
// private members of class Parser:
#define JSC_DECLARE_RUNTIME_FLAG_BOOL(name, isEnabledFlag) bool m_is##name;
JSC_RUNTIME_FLAG(JSC_DECLARE_RUNTIME_FLAG_BOOLEAN)

// Parser constructor:
#define JSC_INITIALIZE_PARSER_RUNTIME_FLAGS(name, isEnabledFlag) \
  m_is##name = runtimeFlags.is##name();
JSC_RUNTIME_FLAG_(JSC_INITIALIZE_PARSER_RUNTIME_FLAGS)
```

and replace `m_runtimeFlags` accesses with more direct things? I wouldn't want to make the RuntimeFlags class too fat, since it gets copied around a lot, but maybe only doing the heavy copying in the Parser constructor is okay.

I'll try it and see how it goes, I guess

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160528/5a765d25/attachment.html>


More information about the webkit-unassigned mailing list