Index: src/types.cc |
diff --git a/src/types.cc b/src/types.cc |
index 5998fdcbad2b44283320cac9573924a3f34a209b..804ea5ece64d8a12941040014fb2300d5e59c2bd 100644 |
--- a/src/types.cc |
+++ b/src/types.cc |
@@ -249,13 +249,13 @@ int TypeImpl<Config>::GlbBitset() { |
// Most precise _current_ type of a value (usually its class). |
template<class Config> |
typename TypeImpl<Config>::TypeHandle TypeImpl<Config>::NowOf( |
- i::Handle<i::Object> value, Region* region) { |
+ i::Object* value, Region* region) { |
if (value->IsSmi() || |
- i::HeapObject::cast(*value)->map()->instance_type() == HEAP_NUMBER_TYPE || |
- i::HeapObject::cast(*value)->map()->instance_type() == ODDBALL_TYPE) { |
+ i::HeapObject::cast(value)->map()->instance_type() == HEAP_NUMBER_TYPE || |
+ i::HeapObject::cast(value)->map()->instance_type() == ODDBALL_TYPE) { |
return Of(value, region); |
} |
- return Class(i::handle(i::HeapObject::cast(*value)->map()), region); |
+ return Class(i::handle(i::HeapObject::cast(value)->map()), region); |
} |