RESOLVED FIXED 181265
Add "noInline" to $vm
https://bugs.webkit.org/show_bug.cgi?id=181265
Summary Add "noInline" to $vm
Michael Saboff
Reported 2018-01-03 16:20:00 PST
We should add noInline() function in the JSC shell to $vm so it can be used in Web tests.
Attachments
Patch (2.79 KB, patch)
2018-01-03 16:25 PST, Michael Saboff
mark.lam: review+
Radar WebKit Bug Importer
Comment 1 2018-01-03 16:20:45 PST
Michael Saboff
Comment 2 2018-01-03 16:25:05 PST
EWS Watchlist
Comment 3 2018-01-03 16:27:14 PST
Attachment 330420 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/tools/JSDollarVM.cpp:1174: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Mark Lam
Comment 4 2018-01-03 16:31:42 PST
Comment on attachment 330420 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=330420&action=review r=me with style fix. > Source/JavaScriptCore/tools/JSDollarVM.cpp:1175 > + FunctionExecutable* executable = jsDynamicCast<FunctionExecutable*>(vm, > + theFunction->executable()); > + return executable; Please fix style issue on line 1174. Maybe just put this in one line: return jsDynamicCast<FunctionExecutable*>(vm, theFunction->executable());
Michael Saboff
Comment 5 2018-01-03 16:47:58 PST
(In reply to Mark Lam from comment #4) > Comment on attachment 330420 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=330420&action=review > > r=me with style fix. > > > Source/JavaScriptCore/tools/JSDollarVM.cpp:1175 > > + FunctionExecutable* executable = jsDynamicCast<FunctionExecutable*>(vm, > > + theFunction->executable()); > > + return executable; > > Please fix style issue on line 1174. Maybe just put this in one line: > return jsDynamicCast<FunctionExecutable*>(vm, theFunction->executable()); Thanks. Fixed locally.
Michael Saboff
Comment 6 2018-01-03 16:55:43 PST
Note You need to log in before you can comment on or make changes to this bug.