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

Side by Side Diff: src/assembler.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/arm64/assembler-arm64.cc ('k') | src/assembler.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 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 enum class CodeObjectRequired { kNo, kYes }; 62 enum class CodeObjectRequired { kNo, kYes };
63 63
64 64
65 class AssemblerBase: public Malloced { 65 class AssemblerBase: public Malloced {
66 public: 66 public:
67 struct IsolateData { 67 struct IsolateData {
68 explicit IsolateData(Isolate* isolate); 68 explicit IsolateData(Isolate* isolate);
69 IsolateData(const IsolateData&) = default; 69 IsolateData(const IsolateData&) = default;
70 70
71 bool serializer_enabled_; 71 bool serializer_enabled_;
72 #if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64
73 size_t max_old_generation_size_; 72 size_t max_old_generation_size_;
74 #endif
75 #if V8_TARGET_ARCH_X64 73 #if V8_TARGET_ARCH_X64
76 Address code_range_start_; 74 Address code_range_start_;
77 #endif 75 #endif
78 }; 76 };
79 77
80 AssemblerBase(IsolateData isolate_data, void* buffer, int buffer_size); 78 AssemblerBase(IsolateData isolate_data, void* buffer, int buffer_size);
81 virtual ~AssemblerBase(); 79 virtual ~AssemblerBase();
82 80
83 IsolateData isolate_data() const { return isolate_data_; } 81 IsolateData isolate_data() const { return isolate_data_; }
84 82
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 std::vector<ConstantPoolEntry> shared_entries; 1254 std::vector<ConstantPoolEntry> shared_entries;
1257 }; 1255 };
1258 1256
1259 Label emitted_label_; // Records pc_offset of emitted pool 1257 Label emitted_label_; // Records pc_offset of emitted pool
1260 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; 1258 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES];
1261 }; 1259 };
1262 1260
1263 } // namespace internal 1261 } // namespace internal
1264 } // namespace v8 1262 } // namespace v8
1265 #endif // V8_ASSEMBLER_H_ 1263 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm64/assembler-arm64.cc ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698