WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 126141
cStack branch doesn't run navier-stokes because closure calls aren't implemented yet
https://bugs.webkit.org/show_bug.cgi?id=126141
Summary
cStack branch doesn't run navier-stokes because closure calls aren't implemen...
Filip Pizlo
Reported
2013-12-22 16:47:15 PST
I'll look into it.
Attachments
the patch
(11.57 KB, patch)
2013-12-23 10:55 PST
,
Filip Pizlo
msaboff
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Filip Pizlo
Comment 1
2013-12-23 10:55:41 PST
Created
attachment 219918
[details]
the patch
Michael Saboff
Comment 2
2013-12-23 11:04:34 PST
Comment on
attachment 219918
[details]
the patch View in context:
https://bugs.webkit.org/attachment.cgi?id=219918&action=review
r=me with comments.
> Source/JavaScriptCore/jit/JITCall.cpp:147 > + addPtr(TrustedImm32(-static_cast<ptrdiff_t>(sizeof(CallerFrameAndPC))), stackPointerRegister, regT1); > emitGetFromCallFrameHeader64(JSStack::Callee, regT0, regT1);
Why don't you change this to a helper uses SP and takes into account the CallerFrameAndPC bias?
> Source/JavaScriptCore/jit/JITCall.cpp:191 > + } // SP holds newCallFrame with ArgumentCount initialized.
Change the comment to include that SP is offset by CallerFrameAndPC.
Filip Pizlo
Comment 3
2013-12-23 11:11:14 PST
(In reply to
comment #2
)
> (From update of
attachment 219918
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=219918&action=review
> > r=me with comments. > > > Source/JavaScriptCore/jit/JITCall.cpp:147 > > + addPtr(TrustedImm32(-static_cast<ptrdiff_t>(sizeof(CallerFrameAndPC))), stackPointerRegister, regT1); > > emitGetFromCallFrameHeader64(JSStack::Callee, regT0, regT1); > > Why don't you change this to a helper uses SP and takes into account the CallerFrameAndPC bias?
Good point, I can do this in one line already.
> > > Source/JavaScriptCore/jit/JITCall.cpp:191 > > + } // SP holds newCallFrame with ArgumentCount initialized. > > Change the comment to include that SP is offset by CallerFrameAndPC.
Fixed.
Filip Pizlo
Comment 4
2013-12-23 11:11:53 PST
Landed in
http://trac.webkit.org/changeset/161006
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