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

Side by Side Diff: src/assembler.cc

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/assembler.h ('k') | src/heap/heap.h » ('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 are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 uint64_t b; 133 uint64_t b;
134 } double_negate_constant = {V8_UINT64_C(0x8000000000000000), 134 } double_negate_constant = {V8_UINT64_C(0x8000000000000000),
135 V8_UINT64_C(0x8000000000000000)}; 135 V8_UINT64_C(0x8000000000000000)};
136 136
137 const char* const RelocInfo::kFillerCommentString = "DEOPTIMIZATION PADDING"; 137 const char* const RelocInfo::kFillerCommentString = "DEOPTIMIZATION PADDING";
138 138
139 // ----------------------------------------------------------------------------- 139 // -----------------------------------------------------------------------------
140 // Implementation of AssemblerBase 140 // Implementation of AssemblerBase
141 141
142 AssemblerBase::IsolateData::IsolateData(Isolate* isolate) 142 AssemblerBase::IsolateData::IsolateData(Isolate* isolate)
143 : serializer_enabled_(isolate->serializer_enabled()) 143 : serializer_enabled_(isolate->serializer_enabled()),
144 #if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64
145 ,
146 max_old_generation_size_(isolate->heap()->MaxOldGenerationSize()) 144 max_old_generation_size_(isolate->heap()->MaxOldGenerationSize())
147 #endif
148 #if V8_TARGET_ARCH_X64 145 #if V8_TARGET_ARCH_X64
149 , 146 ,
150 code_range_start_( 147 code_range_start_(
151 isolate->heap()->memory_allocator()->code_range()->start()) 148 isolate->heap()->memory_allocator()->code_range()->start())
152 #endif 149 #endif
153 { 150 {
154 } 151 }
155 152
156 AssemblerBase::AssemblerBase(IsolateData isolate_data, void* buffer, 153 AssemblerBase::AssemblerBase(IsolateData isolate_data, void* buffer,
157 int buffer_size) 154 int buffer_size)
(...skipping 1807 matching lines...) Expand 10 before | Expand all | Expand 10 after
1965 1962
1966 1963
1967 void Assembler::DataAlign(int m) { 1964 void Assembler::DataAlign(int m) {
1968 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 1965 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
1969 while ((pc_offset() & (m - 1)) != 0) { 1966 while ((pc_offset() & (m - 1)) != 0) {
1970 db(0); 1967 db(0);
1971 } 1968 }
1972 } 1969 }
1973 } // namespace internal 1970 } // namespace internal
1974 } // namespace v8 1971 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698