WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
117327
32-bit CallFrame::Location should use Instruction* for BytecodeLocation, not bytecodeOffset
https://bugs.webkit.org/show_bug.cgi?id=117327
Summary
32-bit CallFrame::Location should use Instruction* for BytecodeLocation, not ...
Mark Lam
Reported
2013-06-06 17:04:32 PDT
CallFrame::trueCallFrame() and DFG's reifyInlinedCallFrames() needs to be fixed for 32-bit code. Will also fix CallFrame::Location to clearly differentiate between BytecodeInstruction (for 32-bit) and BytecodeOffset (for 64 bit).
Attachments
the patch.
(15.49 KB, patch)
2013-06-06 17:40 PDT
,
Mark Lam
msaboff
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2013-06-06 17:40:06 PDT
Created
attachment 203982
[details]
the patch. Don't need to change CallFrame::trueCallFrame() after all. CallFrame::setLocationAsBytecodeOffset() can take care of the necessary conversion.
Michael Saboff
Comment 2
2013-06-07 10:42:54 PDT
Comment on
attachment 203982
[details]
the patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=203982&action=review
r=me
> Source/JavaScriptCore/ChangeLog:7 > +
Some comments as to what you did.
> Source/JavaScriptCore/interpreter/CallFrame.h:138 > + BytecodeLocation = 0, > CodeOriginIndex = (1 << 0), > IsInlinedCode = (1 << 1),
I know some of this was from the earlier patch, but it may be less confusing if these where just literal values, 0, 1 & 2.
Mark Lam
Comment 3
2013-06-07 11:24:11 PDT
Thanks for the review. Feedback applied, and landed in
r151329
: <
http://trac.webkit.org/changeset/151329
>.
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