Commit 06e82649 authored by rossberg@chromium.org's avatar rossberg@chromium.org

Moar prints

TBR=ulan@chromium.org
BUG=

Review URL: https://codereview.chromium.org/567363002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23941 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 65a18578
......@@ -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);
}
......
......@@ -409,8 +409,11 @@ struct Tests : Rep {
CHECK(this->IsBitset(T.Any));
CHECK(bitset(0) == this->AsBitset(T.None));
printf("[BitSet] %p (%p) == %p (%p)\n",
printf("[BitSet] value=%p enum=%p bitset=%p any=%p this=%p any=%p\n",
reinterpret_cast<void*>(bitset(0xfffffffeu)),
reinterpret_cast<void*>(bitset(HeapType::BitsetType::kAny)),
reinterpret_cast<void*>(
HeapTypeConfig::from_bitset(HeapType::BitsetType::kAny)),
reinterpret_cast<void*>(HeapType::Any()),
reinterpret_cast<void*>(this->AsBitset(T.Any)),
reinterpret_cast<void*>(*T.Any));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment