Bug 187704

Summary: jsc shell's noFTL utility test function should be more robust.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, keith_miller, msaboff, saam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch. msaboff: review+

Description Mark Lam 2018-07-16 11:04:53 PDT
<rdar://problem/42231988>
Comment 1 Mark Lam 2018-07-16 11:13:20 PDT
Created attachment 345102 [details]
proposed patch.
Comment 2 Michael Saboff 2018-07-16 11:34:25 PDT
Comment on attachment 345102 [details]
proposed patch.

r=me
Comment 3 Keith Miller 2018-07-16 11:34:41 PDT
Comment on attachment 345102 [details]
proposed patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=345102&action=review

r=me.

> Source/JavaScriptCore/jsc.cpp:1443
> +    if (exec->argumentCount() >= 1) {

Nit: you can just do if (exec->argumentCount()) here.
Comment 4 Mark Lam 2018-07-16 11:38:52 PDT
Comment on attachment 345102 [details]
proposed patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=345102&action=review

>> Source/JavaScriptCore/jsc.cpp:1443
>> +    if (exec->argumentCount() >= 1) {
> 
> Nit: you can just do if (exec->argumentCount()) here.

Will fix before landing.
Comment 5 Mark Lam 2018-07-16 11:43:02 PDT
Thanks for the review.  Landed in r233854: <http://trac.webkit.org/r233854>.