| 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 | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are 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 2685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2696 void Assembler::dd(uint32_t data) { | 2696 void Assembler::dd(uint32_t data) { |
| 2697 EnsureSpace ensure_space(this); | 2697 EnsureSpace ensure_space(this); |
| 2698 emit(data); | 2698 emit(data); |
| 2699 } | 2699 } |
| 2700 | 2700 |
| 2701 | 2701 |
| 2702 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { | 2702 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { |
| 2703 ASSERT(!RelocInfo::IsNone(rmode)); | 2703 ASSERT(!RelocInfo::IsNone(rmode)); |
| 2704 // Don't record external references unless the heap will be serialized. | 2704 // Don't record external references unless the heap will be serialized. |
| 2705 if (rmode == RelocInfo::EXTERNAL_REFERENCE) { | 2705 if (rmode == RelocInfo::EXTERNAL_REFERENCE) { |
| 2706 if (!Serializer::enabled() && !emit_debug_code()) { | 2706 if (!Serializer::enabled(isolate()) && !emit_debug_code()) { |
| 2707 return; | 2707 return; |
| 2708 } | 2708 } |
| 2709 } | 2709 } |
| 2710 RelocInfo rinfo(pc_, rmode, data, NULL); | 2710 RelocInfo rinfo(pc_, rmode, data, NULL); |
| 2711 reloc_info_writer.Write(&rinfo); | 2711 reloc_info_writer.Write(&rinfo); |
| 2712 } | 2712 } |
| 2713 | 2713 |
| 2714 | 2714 |
| 2715 Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) { | 2715 Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) { |
| 2716 // No out-of-line constant pool support. | 2716 // No out-of-line constant pool support. |
| (...skipping 30 matching lines...) Expand all Loading... |
| 2747 fprintf(coverage_log, "%s\n", file_line); | 2747 fprintf(coverage_log, "%s\n", file_line); |
| 2748 fflush(coverage_log); | 2748 fflush(coverage_log); |
| 2749 } | 2749 } |
| 2750 } | 2750 } |
| 2751 | 2751 |
| 2752 #endif | 2752 #endif |
| 2753 | 2753 |
| 2754 } } // namespace v8::internal | 2754 } } // namespace v8::internal |
| 2755 | 2755 |
| 2756 #endif // V8_TARGET_ARCH_IA32 | 2756 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |