Bug 127201

Summary: CStack Branch: Fix Baseline JIT for X86-32
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 127071    
Bug Blocks: 127205    
Attachments:
Description Flags
Patch ggaren: review+

Michael Saboff
Reported 2014-01-17 15:46:13 PST
This is to get the baseline JIT working again.
Attachments
Patch (21.52 KB, patch)
2014-01-17 16:20 PST, Michael Saboff
ggaren: review+
Michael Saboff
Comment 1 2014-01-17 16:20:22 PST
Geoffrey Garen
Comment 2 2014-01-17 16:39:42 PST
Comment on attachment 221508 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=221508&action=review r=me > Source/JavaScriptCore/ChangeLog:9 > + epilogues) and making room on the stack for outgoiing arguments. Should be "outgoing". > Source/JavaScriptCore/jit/ThunkGenerators.cpp:523 > + // Install the new return PC. > + // FIXME: I don't think currentReturnThunkPC is used and should be deleted. > +# if 0 > + jit.loadPtr(&vm->currentReturnThunkPC, GPRInfo::regT2); > + jit.storePtr(GPRInfo::regT2, JSInterfaceJIT::Address(JSInterfaceJIT::callFrameRegister, CallFrame::returnPCOffset())); > +# else > + jit.storePtr(GPRInfo::regT5, JSInterfaceJIT::Address(JSInterfaceJIT::callFrameRegister, CallFrame::returnPCOffset())); > +# endif Need a bug about this.
Michael Saboff
Comment 3 2014-01-17 16:44:55 PST
(In reply to comment #2) > (From update of attachment 221508 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=221508&action=review > > r=me > > > Source/JavaScriptCore/ChangeLog:9 > > + epilogues) and making room on the stack for outgoiing arguments. > > Should be "outgoing". Fixed. > > Source/JavaScriptCore/jit/ThunkGenerators.cpp:523 > > + // Install the new return PC. > > + // FIXME: I don't think currentReturnThunkPC is used and should be deleted. > > +# if 0 > > + jit.loadPtr(&vm->currentReturnThunkPC, GPRInfo::regT2); > > + jit.storePtr(GPRInfo::regT2, JSInterfaceJIT::Address(JSInterfaceJIT::callFrameRegister, CallFrame::returnPCOffset())); > > +# else > > + jit.storePtr(GPRInfo::regT5, JSInterfaceJIT::Address(JSInterfaceJIT::callFrameRegister, CallFrame::returnPCOffset())); > > +# endif > > Need a bug about this. Added <https://bugs.webkit.org/show_bug.cgi?id=127205> - CStack Branch: VM::currentReturnThunkPC appears to be unused and should be removed
Michael Saboff
Comment 4 2014-01-17 21:06:05 PST
Note You need to log in before you can comment on or make changes to this bug.