Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: src/ia32/assembler-ia32.cc

Issue 6499015: Make sure we always have room for patching the reloc info during lazy deoptim... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/ia32/deoptimizer-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2589 matching lines...) Expand 10 before | Expand all | Expand 10 after
2600 } 2600 }
2601 2601
2602 2602
2603 void Assembler::RecordDebugBreakSlot() { 2603 void Assembler::RecordDebugBreakSlot() {
2604 positions_recorder()->WriteRecordedPositions(); 2604 positions_recorder()->WriteRecordedPositions();
2605 EnsureSpace ensure_space(this); 2605 EnsureSpace ensure_space(this);
2606 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT); 2606 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT);
2607 } 2607 }
2608 2608
2609 2609
2610 void Assembler::RecordComment(const char* msg) { 2610 void Assembler::RecordComment(const char* msg, bool force) {
2611 if (FLAG_code_comments) { 2611 if (FLAG_code_comments || force) {
2612 EnsureSpace ensure_space(this); 2612 EnsureSpace ensure_space(this);
2613 RecordRelocInfo(RelocInfo::COMMENT, reinterpret_cast<intptr_t>(msg)); 2613 RecordRelocInfo(RelocInfo::COMMENT, reinterpret_cast<intptr_t>(msg));
2614 } 2614 }
2615 } 2615 }
2616 2616
2617 2617
2618 void Assembler::GrowBuffer() { 2618 void Assembler::GrowBuffer() {
2619 ASSERT(overflow()); 2619 ASSERT(overflow());
2620 if (!own_buffer_) FATAL("external code buffer is too small"); 2620 if (!own_buffer_) FATAL("external code buffer is too small");
2621 2621
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
2791 fprintf(coverage_log, "%s\n", file_line); 2791 fprintf(coverage_log, "%s\n", file_line);
2792 fflush(coverage_log); 2792 fflush(coverage_log);
2793 } 2793 }
2794 } 2794 }
2795 2795
2796 #endif 2796 #endif
2797 2797
2798 } } // namespace v8::internal 2798 } } // namespace v8::internal
2799 2799
2800 #endif // V8_TARGET_ARCH_IA32 2800 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/ia32/deoptimizer-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698