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

Unified Diff: src/compiler/instruction.h

Issue 1242123006: [turbofan] Deferred block spilling heuristic - first step. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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/compiler/greedy-allocator.cc ('k') | src/compiler/move-optimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/instruction.h
diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h
index a87ef7dc9c469f865919aeef34a79fbaacb5e033..5096b3b5fb147220f4c527fc876285a9eac1dc5a 100644
--- a/src/compiler/instruction.h
+++ b/src/compiler/instruction.h
@@ -782,6 +782,10 @@ class RpoNumber final {
return this->index_ == other.index_;
}
+ bool operator<(RpoNumber other) const { return index_ < other.index_; }
+
+ bool operator>(RpoNumber other) const { return index_ > other.index_; }
+
private:
explicit RpoNumber(int32_t index) : index_(index) {}
int32_t index_;
« no previous file with comments | « src/compiler/greedy-allocator.cc ('k') | src/compiler/move-optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698