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

Unified Diff: src/arm/assembler-arm.h

Issue 2842303003: [heap] Remove max executable size configuration. (Closed)
Patch Set: platform support Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/api.cc ('k') | src/arm/assembler-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/assembler-arm.h
diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h
index bc81f31729093de65556273654c4e65a625829ea..88ee1de65ccca89397a1989e1141d7d0bde99ff1 100644
--- a/src/arm/assembler-arm.h
+++ b/src/arm/assembler-arm.h
@@ -1723,6 +1723,9 @@ class Assembler : public AssemblerBase {
std::vector<ConstantPoolEntry> pending_64_bit_constants_;
private:
+ // Avoid overflows for displacements etc.
+ static const int kMaximalBufferSize = 512*MB;
ulan 2017/04/28 10:52:22 Nit: space around the operator: 512 * MB
Hannes Payer (out of office) 2017/04/28 11:08:58 Done.
+
int next_buffer_check_; // pc offset of next buffer check
// Constant pool generation
« 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