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

Unified Diff: src/types.h

Issue 567363002: Moar prints (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 | test/cctest/test-types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/types.h
diff --git a/src/types.h b/src/types.h
index b5bfbcfdf799bf6e2a5704b31f55e9e7a4b1b5d9..7d4f6d577ad2811e94b395979ec26fe2cc191a83 100644
--- a/src/types.h
+++ b/src/types.h
@@ -485,7 +485,7 @@ class TypeImpl : public Config::Base {
template<class Config>
class TypeImpl<Config>::BitsetType : public TypeImpl<Config> {
- protected:
+ public: // protected:
friend class TypeImpl<Config>;
enum {
@@ -497,9 +497,7 @@ class TypeImpl<Config>::BitsetType : public TypeImpl<Config> {
bitset Bitset() { return Config::as_bitset(this); }
- static TypeImpl* New(bitset bits) {
- return static_cast<BitsetType*>(Config::from_bitset(bits));
- }
+ static TypeImpl* New(bitset bits) { return Config::from_bitset(bits); }
static TypeHandle New(bitset bits, Region* region) {
return Config::from_bitset(bits, region);
}
« no previous file with comments | « no previous file | test/cctest/test-types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698