Closed
Bug 678201
Opened 15 years ago
Closed 15 years ago
[jsdbg2] Use CallArgs throughout Debugger.cpp
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jorendorff, Assigned: jorendorff)
Details
Attachments
(6 files)
|
10.11 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
|
3.48 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
|
13.97 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
|
10.90 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
|
13.79 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
|
17.08 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
| Assignee | ||
Updated•15 years ago
|
Assignee: general → jorendorff
| Assignee | ||
Comment 1•15 years ago
|
||
The CheckThis code is fake generality. It turns out only one class uses it. So I go ahead and specialize it.
Attachment #552442 -
Flags: review?(luke)
| Assignee | ||
Comment 2•15 years ago
|
||
Move the newly specialized code just before its first use.
Attachment #552444 -
Flags: review?(luke)
| Assignee | ||
Comment 3•15 years ago
|
||
Attachment #552446 -
Flags: review?(luke)
| Assignee | ||
Comment 4•15 years ago
|
||
Attachment #552447 -
Flags: review?(luke)
| Assignee | ||
Comment 5•15 years ago
|
||
Attachment #552449 -
Flags: review?(luke)
| Assignee | ||
Comment 6•15 years ago
|
||
That's it, 6 patches. It looks nicer this way.
Attachment #552487 -
Flags: review?(luke)
Updated•15 years ago
|
Attachment #552442 -
Flags: review?(luke) → review+
Comment 7•15 years ago
|
||
Comment on attachment 552444 [details] [diff] [review]
part 2 - move - v1
Review of attachment 552444 [details] [diff] [review]:
-----------------------------------------------------------------
I admire your patch-fu. I should emulate this.
Attachment #552444 -
Flags: review?(luke) → review+
Comment 8•15 years ago
|
||
Comment on attachment 552446 [details] [diff] [review]
part 3 - Debugger - v1
Review of attachment 552446 [details] [diff] [review]:
-----------------------------------------------------------------
So far we have been writing "CallArgs args = ...". This is two chars more, but, as a nice side effect, "args[0]" reads nicely. Grepping, there also seems to be "CallArgs call = ..." in a few places... I should fix this; it would be nice to have a canonical name. r+ with s/ca/args/, or we can continue discussion.
Attachment #552446 -
Flags: review?(luke) → review+
Updated•15 years ago
|
Attachment #552447 -
Flags: review?(luke) → review+
Updated•15 years ago
|
Attachment #552449 -
Flags: review?(luke) → review+
Updated•15 years ago
|
Attachment #552487 -
Flags: review?(luke) → review+
| Assignee | ||
Comment 9•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 10•6 months ago
|
||
Pushed by clegnitto@mozilla.com:
https://hg.mozilla.org/releases/mozilla-release/rev/0fbb475b0cba
Use CallArgs in Debugger.cpp. Part 1, specialize THISOBJ macro to THIS_DEBUGGER. r=luke.
https://hg.mozilla.org/releases/mozilla-release/rev/ab52b131c8b4
Use CallArgs in Debugger.cpp. Part 2, move THIS_DEBUGGER just before its first use. r=luke.
https://hg.mozilla.org/releases/mozilla-release/rev/a1cb1e96252d
Use CallArgs in Debugger.cpp. Part 3, add CallArgs to Debugger methods. r=luke.
https://hg.mozilla.org/releases/mozilla-release/rev/bf8fa2d516ec
Use CallArgs in Debugger.cpp. Part 4, add CallArgs to Script methods. r=luke.
https://hg.mozilla.org/releases/mozilla-release/rev/7926c48bfe97
Use CallArgs in Debugger.cpp. Part 5, add CallArgs to Frame methods. r=luke.
You need to log in
before you can comment on or make changes to this bug.
Description
•