| 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 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 | 668 |
| 669 | 669 |
| 670 void JSGlobalPropertyCell::JSGlobalPropertyCellPrint() { | 670 void JSGlobalPropertyCell::JSGlobalPropertyCellPrint() { |
| 671 HeapObject::PrintHeader("JSGlobalPropertyCell"); | 671 HeapObject::PrintHeader("JSGlobalPropertyCell"); |
| 672 } | 672 } |
| 673 | 673 |
| 674 | 674 |
| 675 void Code::CodePrint() { | 675 void Code::CodePrint() { |
| 676 HeapObject::PrintHeader("Code"); | 676 HeapObject::PrintHeader("Code"); |
| 677 #ifdef ENABLE_DISASSEMBLER | 677 #ifdef ENABLE_DISASSEMBLER |
| 678 Disassemble(); | 678 Disassemble(NULL); |
| 679 #endif | 679 #endif |
| 680 } | 680 } |
| 681 | 681 |
| 682 | 682 |
| 683 void Code::CodeVerify() { | 683 void Code::CodeVerify() { |
| 684 CHECK(ic_flag() == IC_TARGET_IS_ADDRESS); | 684 CHECK(ic_flag() == IC_TARGET_IS_ADDRESS); |
| 685 CHECK(IsAligned(reinterpret_cast<intptr_t>(instruction_start()), | 685 CHECK(IsAligned(reinterpret_cast<intptr_t>(instruction_start()), |
| 686 static_cast<intptr_t>(kCodeAlignment))); | 686 static_cast<intptr_t>(kCodeAlignment))); |
| 687 Address last_gc_pc = NULL; | 687 Address last_gc_pc = NULL; |
| 688 for (RelocIterator it(this); !it.done(); it.next()) { | 688 for (RelocIterator it(this); !it.done(); it.next()) { |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1094 } | 1094 } |
| 1095 current = hash; | 1095 current = hash; |
| 1096 } | 1096 } |
| 1097 return true; | 1097 return true; |
| 1098 } | 1098 } |
| 1099 | 1099 |
| 1100 | 1100 |
| 1101 #endif // DEBUG | 1101 #endif // DEBUG |
| 1102 | 1102 |
| 1103 } } // namespace v8::internal | 1103 } } // namespace v8::internal |
| OLD | NEW |