| 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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 "Heap::NewSpaceAllocationTopAddress()"); | 692 "Heap::NewSpaceAllocationTopAddress()"); |
| 693 #ifdef ENABLE_DEBUGGER_SUPPORT | 693 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 694 Add(ExternalReference::debug_break().address(), | 694 Add(ExternalReference::debug_break().address(), |
| 695 UNCLASSIFIED, | 695 UNCLASSIFIED, |
| 696 5, | 696 5, |
| 697 "Debug::Break()"); | 697 "Debug::Break()"); |
| 698 Add(ExternalReference::debug_step_in_fp_address().address(), | 698 Add(ExternalReference::debug_step_in_fp_address().address(), |
| 699 UNCLASSIFIED, | 699 UNCLASSIFIED, |
| 700 10, | 700 10, |
| 701 "Debug::step_in_fp_addr()"); | 701 "Debug::step_in_fp_addr()"); |
| 702 #endif |
| 702 Add(ExternalReference::double_fp_operation(Token::ADD).address(), | 703 Add(ExternalReference::double_fp_operation(Token::ADD).address(), |
| 703 UNCLASSIFIED, | 704 UNCLASSIFIED, |
| 704 11, | 705 11, |
| 705 "add_two_doubles"); | 706 "add_two_doubles"); |
| 706 Add(ExternalReference::double_fp_operation(Token::SUB).address(), | 707 Add(ExternalReference::double_fp_operation(Token::SUB).address(), |
| 707 UNCLASSIFIED, | 708 UNCLASSIFIED, |
| 708 12, | 709 12, |
| 709 "sub_two_doubles"); | 710 "sub_two_doubles"); |
| 710 Add(ExternalReference::double_fp_operation(Token::MUL).address(), | 711 Add(ExternalReference::double_fp_operation(Token::MUL).address(), |
| 711 UNCLASSIFIED, | 712 UNCLASSIFIED, |
| 712 13, | 713 13, |
| 713 "mul_two_doubles"); | 714 "mul_two_doubles"); |
| 714 Add(ExternalReference::compare_doubles().address(), | 715 Add(ExternalReference::compare_doubles().address(), |
| 715 UNCLASSIFIED, | 716 UNCLASSIFIED, |
| 716 14, | 717 14, |
| 717 "compare_doubles"); | 718 "compare_doubles"); |
| 718 #endif | |
| 719 } | 719 } |
| 720 | 720 |
| 721 | 721 |
| 722 ExternalReferenceEncoder::ExternalReferenceEncoder() | 722 ExternalReferenceEncoder::ExternalReferenceEncoder() |
| 723 : encodings_(Match) { | 723 : encodings_(Match) { |
| 724 ExternalReferenceTable* external_references = | 724 ExternalReferenceTable* external_references = |
| 725 ExternalReferenceTable::instance(); | 725 ExternalReferenceTable::instance(); |
| 726 for (int i = 0; i < external_references->size(); ++i) { | 726 for (int i = 0; i < external_references->size(); ++i) { |
| 727 Put(external_references->address(i), i); | 727 Put(external_references->address(i), i); |
| 728 } | 728 } |
| (...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1631 ASSERT(index < large_objects_.length()); | 1631 ASSERT(index < large_objects_.length()); |
| 1632 } | 1632 } |
| 1633 return large_objects_[index]; // s.page_offset() is ignored. | 1633 return large_objects_[index]; // s.page_offset() is ignored. |
| 1634 } | 1634 } |
| 1635 UNREACHABLE(); | 1635 UNREACHABLE(); |
| 1636 return NULL; | 1636 return NULL; |
| 1637 } | 1637 } |
| 1638 | 1638 |
| 1639 | 1639 |
| 1640 } } // namespace v8::internal | 1640 } } // namespace v8::internal |
| OLD | NEW |