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

Unified Diff: src/utils.h

Issue 1098863003: Import Reversed adapter from Chromium and use it in v8. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed feedback. Rebased. 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/compiler/x64/instruction-selector-x64.cc ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils.h
diff --git a/src/utils.h b/src/utils.h
index dd4712903126bd0e2f08917dae07df553309b212..5790d878b9a4b87d24f74466c831d35241d1d935 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -1101,21 +1101,6 @@ class BailoutId {
};
-template <class C>
-class ContainerPointerWrapper {
- public:
- typedef typename C::iterator iterator;
- typedef typename C::reverse_iterator reverse_iterator;
- explicit ContainerPointerWrapper(C* container) : container_(container) {}
- iterator begin() { return container_->begin(); }
- iterator end() { return container_->end(); }
- reverse_iterator rbegin() { return container_->rbegin(); }
- reverse_iterator rend() { return container_->rend(); }
- private:
- C* container_;
-};
-
-
// ----------------------------------------------------------------------------
// I/O support.
« no previous file with comments | « src/compiler/x64/instruction-selector-x64.cc ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698