Changeset 160091 in webkit
- Timestamp:
- Dec 4, 2013 6:42:09 AM (10 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r160082 r160091 1 2013-12-04 László Langó <lango@inf.u-szeged.hu> 2 3 Avoid to add zero offset in BaseIndex. 4 https://bugs.webkit.org/show_bug.cgi?id=125215 5 6 Reviewed by Michael Saboff. 7 8 When using cloop do not generate offsets additions for BaseIndex if the offset is zero. 9 10 * offlineasm/cloop.rb: 11 1 12 2013-12-04 Peter Molnar <pmolnar.u-szeged@partner.samsung.com> 2 13 -
trunk/Source/JavaScriptCore/offlineasm/cloop.rb
r159545 r160091 262 262 end 263 263 def pointerExpr 264 "#{base.clValue(:int8Ptr)} + (#{index.clValue} << #{scaleShift}) + #{offset.clValue}" 264 if offset.value == 0 265 "#{base.clValue(:int8Ptr)} + (#{index.clValue} << #{scaleShift})" 266 else 267 "#{base.clValue(:int8Ptr)} + (#{index.clValue} << #{scaleShift}) + #{offset.clValue}" 268 end 265 269 end 266 270 def int8MemRef
Note: See TracChangeset
for help on using the changeset viewer.