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

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

Issue 1787005: Avoid constant pool blocking for too long... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 7 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
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 1766 matching lines...) Expand 10 before | Expand all | Expand 10 after
1777 } 1777 }
1778 1778
1779 1779
1780 bool Assembler::ImmediateFitsAddrMode1Instruction(int32_t imm32) { 1780 bool Assembler::ImmediateFitsAddrMode1Instruction(int32_t imm32) {
1781 uint32_t dummy1; 1781 uint32_t dummy1;
1782 uint32_t dummy2; 1782 uint32_t dummy2;
1783 return fits_shifter(imm32, &dummy1, &dummy2, NULL); 1783 return fits_shifter(imm32, &dummy1, &dummy2, NULL);
1784 } 1784 }
1785 1785
1786 1786
1787 void Assembler::BlockConstPoolFor(int instructions) {
1788 BlockConstPoolBefore(pc_offset() + instructions * kInstrSize);
1789 }
1790
1791
1787 // Debugging. 1792 // Debugging.
1788 void Assembler::RecordJSReturn() { 1793 void Assembler::RecordJSReturn() {
1789 WriteRecordedPositions(); 1794 WriteRecordedPositions();
1790 CheckBuffer(); 1795 CheckBuffer();
1791 RecordRelocInfo(RelocInfo::JS_RETURN); 1796 RecordRelocInfo(RelocInfo::JS_RETURN);
1792 } 1797 }
1793 1798
1794 1799
1795 void Assembler::RecordComment(const char* msg) { 1800 void Assembler::RecordComment(const char* msg) {
1796 if (FLAG_debug_code) { 1801 if (FLAG_debug_code) {
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
2020 bind(&after_pool); 2025 bind(&after_pool);
2021 } 2026 }
2022 2027
2023 // Since a constant pool was just emitted, move the check offset forward by 2028 // Since a constant pool was just emitted, move the check offset forward by
2024 // the standard interval. 2029 // the standard interval.
2025 next_buffer_check_ = pc_offset() + kCheckConstInterval; 2030 next_buffer_check_ = pc_offset() + kCheckConstInterval;
2026 } 2031 }
2027 2032
2028 2033
2029 } } // namespace v8::internal 2034 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/arm/codegen-arm.cc » ('j') | src/arm/codegen-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698