| 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 2625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2636 } | 2636 } |
| 2637 | 2637 |
| 2638 | 2638 |
| 2639 void Assembler::dd(uint32_t data) { | 2639 void Assembler::dd(uint32_t data) { |
| 2640 EnsureSpace ensure_space(this); | 2640 EnsureSpace ensure_space(this); |
| 2641 emit(data); | 2641 emit(data); |
| 2642 } | 2642 } |
| 2643 | 2643 |
| 2644 | 2644 |
| 2645 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { | 2645 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { |
| 2646 ASSERT(rmode != RelocInfo::NONE); | 2646 ASSERT(!RelocInfo::IsNone(rmode)); |
| 2647 // Don't record external references unless the heap will be serialized. | 2647 // Don't record external references unless the heap will be serialized. |
| 2648 if (rmode == RelocInfo::EXTERNAL_REFERENCE) { | 2648 if (rmode == RelocInfo::EXTERNAL_REFERENCE) { |
| 2649 #ifdef DEBUG | 2649 #ifdef DEBUG |
| 2650 if (!Serializer::enabled()) { | 2650 if (!Serializer::enabled()) { |
| 2651 Serializer::TooLateToEnableNow(); | 2651 Serializer::TooLateToEnableNow(); |
| 2652 } | 2652 } |
| 2653 #endif | 2653 #endif |
| 2654 if (!Serializer::enabled() && !emit_debug_code()) { | 2654 if (!Serializer::enabled() && !emit_debug_code()) { |
| 2655 return; | 2655 return; |
| 2656 } | 2656 } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 2681 fprintf(coverage_log, "%s\n", file_line); | 2681 fprintf(coverage_log, "%s\n", file_line); |
| 2682 fflush(coverage_log); | 2682 fflush(coverage_log); |
| 2683 } | 2683 } |
| 2684 } | 2684 } |
| 2685 | 2685 |
| 2686 #endif | 2686 #endif |
| 2687 | 2687 |
| 2688 } } // namespace v8::internal | 2688 } } // namespace v8::internal |
| 2689 | 2689 |
| 2690 #endif // V8_TARGET_ARCH_IA32 | 2690 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |