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

Unified Diff: src/list.h

Issue 18089: Experimental: for forward CFG edges, generate the code to merge to an... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: Created 11 years, 11 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
Index: src/list.h
===================================================================
--- src/list.h (revision 1075)
+++ src/list.h (working copy)
@@ -57,10 +57,10 @@
ASSERT(0 <= i && i < length_);
return data_[i];
}
- inline T& at(int i) const { return this->operator[](i); }
- INLINE(const T& last() const) {
+ inline T& at(int i) const { return operator[](i); }
+ inline T& last() const {
ASSERT(!is_empty());
- return this->at(length_ - 1);
+ return at(length_ - 1);
}
INLINE(bool is_empty() const) { return length_ == 0; }

Powered by Google App Engine
This is Rietveld 408576698