Summary: | Remove use of ENABLE from API header | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tadeu Zagallo <tzagallo> | ||||||
Component: | JavaScriptCore | Assignee: | Tadeu Zagallo <tzagallo> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ews-watchlist, keith_miller, mark.lam, msaboff, saam, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Tadeu Zagallo
2021-04-01 11:49:16 PDT
Created attachment 424924 [details]
Patch
Comment on attachment 424924 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424924&action=review > Source/JavaScriptCore/API/JSVirtualMachine.mm:288 > +#if ENABLE(DFG_JIT) don't you want to return 0 in an #else? Comment on attachment 424924 [details]
Patch
r=me
Comment on attachment 424924 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424924&action=review >> Source/JavaScriptCore/API/JSVirtualMachine.mm:288 >> +#if ENABLE(DFG_JIT) > > don't you want to return 0 in an #else? Yeah, I was about to say that too. Missed it the first time I read this. Comment on attachment 424924 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424924&action=review >>> Source/JavaScriptCore/API/JSVirtualMachine.mm:288 >>> +#if ENABLE(DFG_JIT) >> >> don't you want to return 0 in an #else? > > Yeah, I was about to say that too. Missed it the first time I read this. Oops, good catch, thanks Created attachment 424926 [details]
Patch for landing
Committed r275374: <https://commits.webkit.org/r275374> All reviewed patches have been landed. Closing bug and clearing flags on attachment 424926 [details]. |