Bug 137937

Summary: Remove erroneous canUseJIT() in the intrinsics version of JITThunks::hostFunctionStub().
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
the patch. none

Description Mark Lam 2014-10-21 16:58:39 PDT
This version of JITThunks::hostFunctionStub() can only be called from the intrinsics version of VM::getHostFunction() which asserts canUseJIT().  Hence, we can eliminate the canUseJIT() check in JITThunks::hostFunctionStub().  We don't handle the !canUseJIT() case properly there anyway.
Comment 1 Mark Lam 2014-10-21 17:12:23 PDT
Created attachment 240230 [details]
the patch.
Comment 2 Michael Saboff 2014-10-21 17:14:00 PDT
Comment on attachment 240230 [details]
the patch.

r=me
Comment 3 WebKit Commit Bot 2014-10-21 17:52:39 PDT
Comment on attachment 240230 [details]
the patch.

Clearing flags on attachment: 240230

Committed r175005: <http://trac.webkit.org/changeset/175005>
Comment 4 WebKit Commit Bot 2014-10-21 17:52:42 PDT
All reviewed patches have been landed.  Closing bug.