| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution 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 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions 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 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions 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 1529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1540 Abort("DoCallConstantFunction unimplemented."); | 1540 Abort("DoCallConstantFunction unimplemented."); |
| 1541 } | 1541 } |
| 1542 | 1542 |
| 1543 | 1543 |
| 1544 void LCodeGen::DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr) { | 1544 void LCodeGen::DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr) { |
| 1545 Abort("DoDeferredMathAbsTaggedHeapNumber unimplemented."); | 1545 Abort("DoDeferredMathAbsTaggedHeapNumber unimplemented."); |
| 1546 } | 1546 } |
| 1547 | 1547 |
| 1548 | 1548 |
| 1549 void LCodeGen::DoMathAbs(LUnaryMathOperation* instr) { | 1549 void LCodeGen::DoMathAbs(LUnaryMathOperation* instr) { |
| 1550 Abort("LUnaryMathOperation unimplemented."); | 1550 Abort("DoMathAbs unimplemented."); |
| 1551 } | 1551 } |
| 1552 | 1552 |
| 1553 | 1553 |
| 1554 void LCodeGen::DoMathFloor(LUnaryMathOperation* instr) { | 1554 void LCodeGen::DoMathFloor(LUnaryMathOperation* instr) { |
| 1555 Abort("DoMathFloor unimplemented."); | 1555 Abort("DoMathFloor unimplemented."); |
| 1556 } | 1556 } |
| 1557 | 1557 |
| 1558 | 1558 |
| 1559 void LCodeGen::DoMathSqrt(LUnaryMathOperation* instr) { | 1559 void LCodeGen::DoMathSqrt(LUnaryMathOperation* instr) { |
| 1560 Abort("DoMathSqrt unimplemented."); | 1560 Abort("DoMathSqrt unimplemented."); |
| 1561 } | 1561 } |
| 1562 | 1562 |
| 1563 | 1563 |
| 1564 void LCodeGen::DoUnaryMathOperation(LUnaryMathOperation* instr) { | 1564 void LCodeGen::DoUnaryMathOperation(LUnaryMathOperation* instr) { |
| 1565 ASSERT(instr->op() == kMathFloor || | |
| 1566 instr->op() == kMathAbs); | |
| 1567 | |
| 1568 switch (instr->op()) { | 1565 switch (instr->op()) { |
| 1569 case kMathAbs: | 1566 case kMathAbs: |
| 1570 DoMathAbs(instr); | 1567 DoMathAbs(instr); |
| 1571 break; | 1568 break; |
| 1572 case kMathFloor: | 1569 case kMathFloor: |
| 1573 DoMathFloor(instr); | 1570 DoMathFloor(instr); |
| 1574 break; | 1571 break; |
| 1575 case kMathSqrt: | 1572 case kMathSqrt: |
| 1576 DoMathSqrt(instr); | 1573 DoMathSqrt(instr); |
| 1577 break; | 1574 break; |
| 1578 default: | 1575 default: |
| 1576 Abort("Unimplemented type of LUnaryMathOperation."); |
| 1579 UNREACHABLE(); | 1577 UNREACHABLE(); |
| 1580 } | 1578 } |
| 1581 } | 1579 } |
| 1582 | 1580 |
| 1583 | 1581 |
| 1584 void LCodeGen::DoCallKeyed(LCallKeyed* instr) { | 1582 void LCodeGen::DoCallKeyed(LCallKeyed* instr) { |
| 1585 Abort("DoCallKeyed unimplemented."); | 1583 Abort("DoCallKeyed unimplemented."); |
| 1586 } | 1584 } |
| 1587 | 1585 |
| 1588 | 1586 |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2158 | 2156 |
| 2159 | 2157 |
| 2160 void LCodeGen::DoOsrEntry(LOsrEntry* instr) { | 2158 void LCodeGen::DoOsrEntry(LOsrEntry* instr) { |
| 2161 Abort("DoOsrEntry unimplemented."); | 2159 Abort("DoOsrEntry unimplemented."); |
| 2162 } | 2160 } |
| 2163 | 2161 |
| 2164 | 2162 |
| 2165 #undef __ | 2163 #undef __ |
| 2166 | 2164 |
| 2167 } } // namespace v8::internal | 2165 } } // namespace v8::internal |
| OLD | NEW |