Changeset 148474 in webkit for trunk/Source/JavaScriptCore/offlineasm/risc.rb
- Timestamp:
- Apr 15, 2013, 4:04:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/offlineasm/risc.rb
r145504 r148474 273 273 274 274 # 275 # Lowering of misplaced immediates . For example:275 # Lowering of misplaced immediates for opcodes in opcodeList. For example, if storei is in opcodeList: 276 276 # 277 277 # storei 0, [foo] … … 283 283 # 284 284 285 def riscLowerMisplacedImmediates(list) 286 newList = [] 287 list.each { 288 | node | 289 if node.is_a? Instruction 290 case node.opcode 291 when "storeb", "storei", "storep" 285 def riscLowerMisplacedImmediates(list, opcodeList) 286 newList = [] 287 list.each { 288 | node | 289 if node.is_a? Instruction 290 if opcodeList.include? node.opcode 292 291 operands = node.operands 293 292 newOperands = []
Note:
See TracChangeset
for help on using the changeset viewer.