Closed
Bug 895168
Opened 11 years ago
Closed 11 years ago
Remove the remaining usages of LL_ macros from the tree
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug, )
Details
Attachments
(6 files)
2.34 KB,
patch
|
jcranmer
:
review+
|
Details | Diff | Splinter Review |
1.99 KB,
patch
|
jcranmer
:
review+
|
Details | Diff | Splinter Review |
1.08 KB,
patch
|
jcranmer
:
review+
|
Details | Diff | Splinter Review |
1.18 KB,
patch
|
jcranmer
:
review+
|
Details | Diff | Splinter Review |
871 bytes,
patch
|
jcranmer
:
review+
|
Details | Diff | Splinter Review |
1.09 KB,
patch
|
jcranmer
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #777437 -
Flags: review?(Pidgeot18)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #777438 -
Flags: review?(Pidgeot18)
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #777439 -
Flags: review?(Pidgeot18)
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #777440 -
Flags: review?(Pidgeot18)
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #777441 -
Flags: review?(Pidgeot18)
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #777442 -
Flags: review?(Pidgeot18)
Assignee | ||
Updated•11 years ago
|
Attachment #777442 -
Attachment description: Part 5: LL_DIV → Part 6: LL_DIV
Updated•11 years ago
|
Attachment #777438 -
Flags: review?(Pidgeot18) → review+
Comment 7•11 years ago
|
||
Comment on attachment 777440 [details] [diff] [review] Part 4: LL_L2D Review of attachment 777440 [details] [diff] [review]: ----------------------------------------------------------------- ::: docshell/shistory/src/nsSHistory.cpp @@ +312,5 @@ > bytes = INT64_MAX; > > uint64_t kbytes = bytes >> 10; > > + double kBytesD = kbytes; Couldn't you just make this double kBytesD = (double)(bytes >> 10)? Actually, on further glance, this method could be entirely rewritten without using a double conversion as well, using stuff from prbit.h, but I'd expect an actual docshell reviewer to own that conversion.
Attachment #777440 -
Flags: review?(Pidgeot18) → review+
Updated•11 years ago
|
Attachment #777439 -
Flags: review?(Pidgeot18) → review+
Updated•11 years ago
|
Attachment #777442 -
Flags: review?(Pidgeot18) → review+
Updated•11 years ago
|
Attachment #777441 -
Flags: review?(Pidgeot18) → review+
Comment 8•11 years ago
|
||
Comment on attachment 777437 [details] [diff] [review] Part 1: LL_I2L Review of attachment 777437 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/base/src/nsContentSink.cpp @@ +1263,1 @@ > diff = now - mLastNotificationTime; You could combine these with the declarations, so it looks like: int64_t interval = GetNotificationInterval(); int64_t diff = PR_Now() - mLastNotificationTime; ::: rdf/base/src/rdfutil.cpp @@ +108,1 @@ > t += temp; Just say t += usec; ? ::: rdf/datasource/src/nsFileSystemDataSource.cpp @@ +1114,3 @@ > temp64 = lastModDate * thousand; > > mRDFService->GetDateLiteral(temp64, aResult); mRDFService->GetDateLiteral(lastModDate * PR_MSEC_PER_SEC, aResult); ?
Attachment #777437 -
Flags: review?(Pidgeot18) → review+
Assignee | ||
Comment 9•11 years ago
|
||
(In reply to Joshua Cranmer [:jcranmer] from comment #7) > Comment on attachment 777440 [details] [diff] [review] > Part 4: LL_L2D > > Review of attachment 777440 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: docshell/shistory/src/nsSHistory.cpp > @@ +312,5 @@ > > bytes = INT64_MAX; > > > > uint64_t kbytes = bytes >> 10; > > > > + double kBytesD = kbytes; > > Couldn't you just make this double kBytesD = (double)(bytes >> 10)? I guess so, I don't see the benefit of doing that though. > Actually, on further glance, this method could be entirely rewritten without > using a double conversion as well, using stuff from prbit.h, but I'd expect > an actual docshell reviewer to own that conversion. It should probably be done in another bug. :-)
Assignee | ||
Comment 10•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b580862e93f6 https://hg.mozilla.org/integration/mozilla-inbound/rev/f900f2d0d3f1 https://hg.mozilla.org/integration/mozilla-inbound/rev/efe5a0a1b181 https://hg.mozilla.org/integration/mozilla-inbound/rev/c7ea8253f816 https://hg.mozilla.org/integration/mozilla-inbound/rev/4a603adadb74 https://hg.mozilla.org/integration/mozilla-inbound/rev/d96476b2b850
Comment 11•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b580862e93f6 https://hg.mozilla.org/mozilla-central/rev/f900f2d0d3f1 https://hg.mozilla.org/mozilla-central/rev/efe5a0a1b181 https://hg.mozilla.org/mozilla-central/rev/c7ea8253f816 https://hg.mozilla.org/mozilla-central/rev/4a603adadb74 https://hg.mozilla.org/mozilla-central/rev/d96476b2b850
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•