Chromium Code Reviews
DescriptionTweak CanLoadFromObjectPool to return true even if obj.InVMHeap().
Previously it made sense to return false from this predicate because we would then load it directly as immediate.
However after r28067 we switched from movq to LoadImmediate. Now we end up putting obj.raw() into a constant pool with lowest bit masked off (to make it look like a smi) and then restoring this bit after load:
movq r10, [r15 + offs]
orq r10, 1
This orq is completely redundant - we should not clear off the least significant bit in the first place.
BUG=
R=zra@google.com
Committed: https://code.google.com/p/dart/source/detail?r=42877
Patch Set 1 #
Total comments: 6
Messages
Total messages: 5 (1 generated)
|
|||||||||||||||||||||||||||||||||||||