| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 874 } else if (IsPosition(rmode_)) { | 874 } else if (IsPosition(rmode_)) { |
| 875 os << " (" << data() << ")"; | 875 os << " (" << data() << ")"; |
| 876 } else if (IsRuntimeEntry(rmode_) && | 876 } else if (IsRuntimeEntry(rmode_) && |
| 877 isolate->deoptimizer_data() != NULL) { | 877 isolate->deoptimizer_data() != NULL) { |
| 878 // Depotimization bailouts are stored as runtime entries. | 878 // Depotimization bailouts are stored as runtime entries. |
| 879 int id = Deoptimizer::GetDeoptimizationId( | 879 int id = Deoptimizer::GetDeoptimizationId( |
| 880 isolate, target_address(), Deoptimizer::EAGER); | 880 isolate, target_address(), Deoptimizer::EAGER); |
| 881 if (id != Deoptimizer::kNotDeoptimizationEntry) { | 881 if (id != Deoptimizer::kNotDeoptimizationEntry) { |
| 882 os << " (deoptimization bailout " << id << ")"; | 882 os << " (deoptimization bailout " << id << ")"; |
| 883 } | 883 } |
| 884 } else if (IsConstPool(rmode_)) { |
| 885 os << " (size " << static_cast<int>(data_) << ")"; |
| 884 } | 886 } |
| 885 | 887 |
| 886 os << "\n"; | 888 os << "\n"; |
| 887 } | 889 } |
| 888 #endif // ENABLE_DISASSEMBLER | 890 #endif // ENABLE_DISASSEMBLER |
| 889 | 891 |
| 890 | 892 |
| 891 #ifdef VERIFY_HEAP | 893 #ifdef VERIFY_HEAP |
| 892 void RelocInfo::Verify(Isolate* isolate) { | 894 void RelocInfo::Verify(Isolate* isolate) { |
| 893 switch (rmode_) { | 895 switch (rmode_) { |
| (...skipping 980 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1874 | 1876 |
| 1875 | 1877 |
| 1876 void Assembler::DataAlign(int m) { | 1878 void Assembler::DataAlign(int m) { |
| 1877 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1879 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
| 1878 while ((pc_offset() & (m - 1)) != 0) { | 1880 while ((pc_offset() & (m - 1)) != 0) { |
| 1879 db(0); | 1881 db(0); |
| 1880 } | 1882 } |
| 1881 } | 1883 } |
| 1882 } // namespace internal | 1884 } // namespace internal |
| 1883 } // namespace v8 | 1885 } // namespace v8 |
| OLD | NEW |