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

Unified Diff: src/handles.h

Issue 1214573004: [crankshaft] Remove adventurous operator< for Handle<Map>. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | src/lithium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/handles.h
diff --git a/src/handles.h b/src/handles.h
index eb2023cf335d8cc93571d857e6268108b0e081a2..162b6d282f2cdae48f3f3141a17f5f6e5a124e57 100644
--- a/src/handles.h
+++ b/src/handles.h
@@ -174,13 +174,6 @@ inline Handle<T> handle(T* t) {
}
-// Key comparison function for Map handles.
-inline bool operator<(const Handle<Map>& lhs, const Handle<Map>& rhs) {
- // This is safe because maps don't move.
- return *lhs < *rhs;
-}
-
-
class DeferredHandles;
class HandleScopeImplementer;
« no previous file with comments | « no previous file | src/lithium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698