| OLD | NEW | 
|---|
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. | 
| 2 // Rrdistribution and use in source and binary forms, with or without | 2 // Rrdistribution and use in source and binary forms, with or without | 
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are | 
| 4 // met: | 4 // met: | 
| 5 // | 5 // | 
| 6 //     * Rrdistributions of source code must retain the above copyright | 6 //     * Rrdistributions of source code must retain the above copyright | 
| 7 //       notice, this list of conditions and the following disclaimer. | 7 //       notice, this list of conditions and the following disclaimer. | 
| 8 //     * Rrdistributions in binary form must reproduce the above | 8 //     * Rrdistributions in binary form must reproduce the above | 
| 9 //       copyright notice, this list of conditions and the following | 9 //       copyright notice, this list of conditions and the following | 
| 10 //       disclaimer in the documentation and/or other materials provided | 10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 97   } | 97   } | 
| 98   __ Call(start, RelocInfo::EXTERNAL_REFERENCE); | 98   __ Call(start, RelocInfo::EXTERNAL_REFERENCE); | 
| 99   __ bind(&done); | 99   __ bind(&done); | 
| 100 | 100 | 
| 101   __ Daddu(sp, sp, Operand(kDoubleSize)); | 101   __ Daddu(sp, sp, Operand(kDoubleSize)); | 
| 102 | 102 | 
| 103   // Make sure no registers have been unexpectedly clobbered | 103   // Make sure no registers have been unexpectedly clobbered | 
| 104   for (--reg_num; reg_num >= 2; --reg_num) { | 104   for (--reg_num; reg_num >= 2; --reg_num) { | 
| 105     Register reg = Register::from_code(reg_num); | 105     Register reg = Register::from_code(reg_num); | 
| 106     if (!reg.is(destination_reg)) { | 106     if (!reg.is(destination_reg)) { | 
| 107       __ lw(at, MemOperand(sp, 0)); | 107       __ ld(at, MemOperand(sp, 0)); | 
| 108       __ Assert(eq, kRegisterWasClobbered, reg, Operand(at)); | 108       __ Assert(eq, kRegisterWasClobbered, reg, Operand(at)); | 
| 109       __ Daddu(sp, sp, Operand(kPointerSize)); | 109       __ Daddu(sp, sp, Operand(kPointerSize)); | 
| 110     } | 110     } | 
| 111   } | 111   } | 
| 112 | 112 | 
| 113   __ Daddu(sp, sp, Operand(kDoubleSize)); | 113   __ Daddu(sp, sp, Operand(kDoubleSize)); | 
| 114 | 114 | 
| 115   __ Move(v0, destination_reg); | 115   __ Move(v0, destination_reg); | 
| 116   Label ok; | 116   Label ok; | 
| 117   __ Branch(&ok, eq, v0, Operand(zero_reg)); | 117   __ Branch(&ok, eq, v0, Operand(zero_reg)); | 
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 179                                         false)); | 179                                         false)); | 
| 180       RunAllTruncationTests( | 180       RunAllTruncationTests( | 
| 181           RunGeneratedCodeCallWrapper, | 181           RunGeneratedCodeCallWrapper, | 
| 182           MakeConvertDToIFuncTrampoline(isolate, | 182           MakeConvertDToIFuncTrampoline(isolate, | 
| 183                                         source_registers[s], | 183                                         source_registers[s], | 
| 184                                         dest_registers[d], | 184                                         dest_registers[d], | 
| 185                                         true)); | 185                                         true)); | 
| 186     } | 186     } | 
| 187   } | 187   } | 
| 188 } | 188 } | 
| OLD | NEW | 
|---|