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

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

Issue 2842303003: [heap] Remove max executable size configuration. (Closed)
Patch Set: comment Created 3 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
« no previous file with comments | « src/api.cc ('k') | src/arm/assembler-arm.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 1705 matching lines...) Expand 10 before | Expand all | Expand 10 after
1716 // to the constant pool. These records are temporarily stored in a separate 1716 // to the constant pool. These records are temporarily stored in a separate
1717 // buffer until a constant pool is emitted. 1717 // buffer until a constant pool is emitted.
1718 // If every instruction in a long sequence is accessing the pool, we need one 1718 // If every instruction in a long sequence is accessing the pool, we need one
1719 // pending relocation entry per instruction. 1719 // pending relocation entry per instruction.
1720 1720
1721 // The buffers of pending constant pool entries. 1721 // The buffers of pending constant pool entries.
1722 std::vector<ConstantPoolEntry> pending_32_bit_constants_; 1722 std::vector<ConstantPoolEntry> pending_32_bit_constants_;
1723 std::vector<ConstantPoolEntry> pending_64_bit_constants_; 1723 std::vector<ConstantPoolEntry> pending_64_bit_constants_;
1724 1724
1725 private: 1725 private:
1726 // Avoid overflows for displacements etc.
1727 static const int kMaximalBufferSize = 512 * MB;
1728
1726 int next_buffer_check_; // pc offset of next buffer check 1729 int next_buffer_check_; // pc offset of next buffer check
1727 1730
1728 // Constant pool generation 1731 // Constant pool generation
1729 // Pools are emitted in the instruction stream, preferably after unconditional 1732 // Pools are emitted in the instruction stream, preferably after unconditional
1730 // jumps or after returns from functions (in dead code locations). 1733 // jumps or after returns from functions (in dead code locations).
1731 // If a long code sequence does not contain unconditional jumps, it is 1734 // If a long code sequence does not contain unconditional jumps, it is
1732 // necessary to emit the constant pool before the pool gets too far from the 1735 // necessary to emit the constant pool before the pool gets too far from the
1733 // location it is accessed from. In this case, we emit a jump over the emitted 1736 // location it is accessed from. In this case, we emit a jump over the emitted
1734 // constant pool. 1737 // constant pool.
1735 // Constants in the pool may be addresses of functions that gets relocated; 1738 // Constants in the pool may be addresses of functions that gets relocated;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
1802 1805
1803 void Emit(Address addr); 1806 void Emit(Address addr);
1804 void FlushICache(Isolate* isolate); 1807 void FlushICache(Isolate* isolate);
1805 }; 1808 };
1806 1809
1807 1810
1808 } // namespace internal 1811 } // namespace internal
1809 } // namespace v8 1812 } // namespace v8
1810 1813
1811 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1814 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/arm/assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698