WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
127201
CStack Branch: Fix Baseline JIT for X86-32
https://bugs.webkit.org/show_bug.cgi?id=127201
Summary
CStack Branch: Fix Baseline JIT for X86-32
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Michael Saboff
Comment 1
2014-01-17 16:20:22 PST
Created
attachment 221508
[details]
Patch
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
Committed
r162242
: <
http://trac.webkit.org/changeset/162242
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug