RESOLVED FIXED 217150
[JSC] We should not tag C function with JIT code related ptr tag
https://bugs.webkit.org/show_bug.cgi?id=217150
Summary [JSC] We should not tag C function with JIT code related ptr tag
Yusuke Suzuki
Reported 2020-09-30 16:04:39 PDT
[JSC] We should not tag C function with JIT code related ptr tag
Attachments
Patch (36.65 KB, patch)
2020-09-30 16:07 PDT, Yusuke Suzuki
ews-feeder: commit-queue-
Patch (36.65 KB, patch)
2020-09-30 16:14 PDT, Yusuke Suzuki
ews-feeder: commit-queue-
Patch (36.73 KB, patch)
2020-09-30 16:28 PDT, Yusuke Suzuki
mark.lam: review+
ews-feeder: commit-queue-
Patch (36.72 KB, patch)
2020-09-30 17:12 PDT, Yusuke Suzuki
ews-feeder: commit-queue-
Patch (37.68 KB, patch)
2020-09-30 17:26 PDT, Yusuke Suzuki
ews-feeder: commit-queue-
Patch (37.78 KB, patch)
2020-09-30 17:29 PDT, Yusuke Suzuki
no flags
Yusuke Suzuki
Comment 1 2020-09-30 16:07:47 PDT
Yusuke Suzuki
Comment 2 2020-09-30 16:14:42 PDT
Yusuke Suzuki
Comment 3 2020-09-30 16:28:14 PDT
Mark Lam
Comment 4 2020-09-30 16:47:56 PDT
Comment on attachment 410170 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=410170&action=review r=me with fixes. > Source/JavaScriptCore/jit/JITOperations.cpp:1227 > + DisallowGC disallowGC; Why disallowGC here? I don't think we should be disallowing GC for the entire duration of the time we're executing the native function. Please remove this. > Source/JavaScriptCore/jit/JITOperations.cpp:1255 > + DisallowGC disallowGC; Ditto. Please remove. > Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:1673 > + DisallowGC disallowGC; Ditto. Please remove. > Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:1692 > + DisallowGC disallowGC; Ditto. Please remove. > Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:1963 > + DisallowGC disallowGC; Ditto. Please remove. > Source/JavaScriptCore/llint/LLIntThunks.cpp:190 > #endif nit: can you add `// ENABLE(JIT)` after this #endif to make it clearer what section it terminates?
Yusuke Suzuki
Comment 5 2020-09-30 17:12:33 PDT
Yusuke Suzuki
Comment 6 2020-09-30 17:26:23 PDT
Yusuke Suzuki
Comment 7 2020-09-30 17:29:02 PDT
Yusuke Suzuki
Comment 8 2020-09-30 18:37:23 PDT
Comment on attachment 410170 [details] Patch Discussed with Mark at Slack and the latest patch resolved comments.
EWS
Comment 9 2020-09-30 22:15:19 PDT
Committed r267820: <https://trac.webkit.org/changeset/267820> All reviewed patches have been landed. Closing bug and clearing flags on attachment 410181 [details].
Radar WebKit Bug Importer
Comment 10 2020-09-30 22:16:21 PDT
Note You need to log in before you can comment on or make changes to this bug.