Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 3535c4d18fd02ccb0fe5b5664607eefa70b5251a..d0f40f0440f422f3fac51698add42b6604d6a1c4 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -1281,16 +1281,16 @@ bool ToBooleanICStub::Types::UpdateStatus(Handle<Object> object) { |
return Smi::cast(*object)->value() != 0; |
} else if (object->IsJSReceiver()) { |
Add(SPEC_OBJECT); |
- return !object->IsUndetectableObject(); |
+ return !object->IsUndetectable(); |
} else if (object->IsString()) { |
- DCHECK(!object->IsUndetectableObject()); |
+ DCHECK(!object->IsUndetectable()); |
Add(STRING); |
return String::cast(*object)->length() != 0; |
} else if (object->IsSymbol()) { |
Add(SYMBOL); |
return true; |
} else if (object->IsHeapNumber()) { |
- DCHECK(!object->IsUndetectableObject()); |
+ DCHECK(!object->IsUndetectable()); |
Add(HEAP_NUMBER); |
double value = HeapNumber::cast(*object)->value(); |
return value != 0 && !std::isnan(value); |