Chromium Code Reviews

Unified Diff: src/crankshaft/hydrogen.h

Issue 1860123003: [compiler] Remove CompilationInfo::opt_count field. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/compiler.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/crankshaft/hydrogen.h
diff --git a/src/crankshaft/hydrogen.h b/src/crankshaft/hydrogen.h
index 10c0baa29d7737d497567e30aaa552158e268abf..1475374d83537dc04478215ec1e6c59d1e728651 100644
--- a/src/crankshaft/hydrogen.h
+++ b/src/crankshaft/hydrogen.h
@@ -392,13 +392,11 @@ class HGraph final : public ZoneObject {
}
int maximum_environment_size() { return maximum_environment_size_; }
- bool use_optimistic_licm() {
- return use_optimistic_licm_;
- }
+ bool allow_code_motion() const { return allow_code_motion_; }
+ void set_allow_code_motion(bool value) { allow_code_motion_ = value; }
- void set_use_optimistic_licm(bool value) {
- use_optimistic_licm_ = value;
- }
+ bool use_optimistic_licm() const { return use_optimistic_licm_; }
+ void set_use_optimistic_licm(bool value) { use_optimistic_licm_ = value; }
void MarkDependsOnEmptyArrayProtoElements() {
// Add map dependency if not already added.
@@ -480,6 +478,7 @@ class HGraph final : public ZoneObject {
CallInterfaceDescriptor descriptor_;
Zone* zone_;
+ bool allow_code_motion_;
bool use_optimistic_licm_;
bool depends_on_empty_array_proto_elements_;
int type_change_checksum_;
« no previous file with comments | « src/compiler.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine