| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 704 11, | 704 11, |
| 705 "add_two_doubles"); | 705 "add_two_doubles"); |
| 706 Add(ExternalReference::double_fp_operation(Token::SUB).address(), | 706 Add(ExternalReference::double_fp_operation(Token::SUB).address(), |
| 707 UNCLASSIFIED, | 707 UNCLASSIFIED, |
| 708 12, | 708 12, |
| 709 "sub_two_doubles"); | 709 "sub_two_doubles"); |
| 710 Add(ExternalReference::double_fp_operation(Token::MUL).address(), | 710 Add(ExternalReference::double_fp_operation(Token::MUL).address(), |
| 711 UNCLASSIFIED, | 711 UNCLASSIFIED, |
| 712 13, | 712 13, |
| 713 "mul_two_doubles"); | 713 "mul_two_doubles"); |
| 714 Add(ExternalReference::compare_doubles().address(), |
| 715 UNCLASSIFIED, |
| 716 14, |
| 717 "compare_doubles"); |
| 714 #endif | 718 #endif |
| 715 } | 719 } |
| 716 | 720 |
| 717 | 721 |
| 718 ExternalReferenceEncoder::ExternalReferenceEncoder() | 722 ExternalReferenceEncoder::ExternalReferenceEncoder() |
| 719 : encodings_(Match) { | 723 : encodings_(Match) { |
| 720 ExternalReferenceTable* external_references = | 724 ExternalReferenceTable* external_references = |
| 721 ExternalReferenceTable::instance(); | 725 ExternalReferenceTable::instance(); |
| 722 for (int i = 0; i < external_references->size(); ++i) { | 726 for (int i = 0; i < external_references->size(); ++i) { |
| 723 Put(external_references->address(i), i); | 727 Put(external_references->address(i), i); |
| (...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1627 ASSERT(index < large_objects_.length()); | 1631 ASSERT(index < large_objects_.length()); |
| 1628 } | 1632 } |
| 1629 return large_objects_[index]; // s.page_offset() is ignored. | 1633 return large_objects_[index]; // s.page_offset() is ignored. |
| 1630 } | 1634 } |
| 1631 UNREACHABLE(); | 1635 UNREACHABLE(); |
| 1632 return NULL; | 1636 return NULL; |
| 1633 } | 1637 } |
| 1634 | 1638 |
| 1635 | 1639 |
| 1636 } } // namespace v8::internal | 1640 } } // namespace v8::internal |
| OLD | NEW |