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

Unified Diff: src/scanner.h

Issue 1066933005: Use ExpressionClassifier for bindings. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasre + feedback = patch for landing Created 5 years, 8 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/preparser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scanner.h
diff --git a/src/scanner.h b/src/scanner.h
index 4d7411f54fdfde593d4b553874d7c78e98de4a2f..5162fbec12d0bfec37a7c8847e7a6400b84b58c0 100644
--- a/src/scanner.h
+++ b/src/scanner.h
@@ -355,14 +355,6 @@ class Scanner {
int beg_pos;
int end_pos;
-
- bool inline operator==(const Location& other) const {
- return beg_pos == other.beg_pos && end_pos == other.end_pos;
- }
-
- bool inline operator!=(const Location& other) const {
- return !(*this == other);
- }
};
// -1 is outside of the range of any real source code.
« no previous file with comments | « src/preparser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698