projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
3b45880
)
Remove unnecessary optimization barrier.
author
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 20 Jan 2009 06:32:57 +0000
(22:32 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 20 Jan 2009 06:32:57 +0000
(22:32 -0800)
The compiler can't optimize out the load of "ticks" here because
it can't look into intr_disable() and intr_set_level() and know that
they don't modify "ticks".
Thanks to Martin <mfleener@stanford.edu> for pointing this out.
No differences found