Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index c0b762471b5addc9a41c3d7862eb4597ddec9a61..2dc9742a95578fc8495f546aa982d5c97b039aff 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -514,11 +514,7 @@ Object* LoadIC::Load(State state, Handle<Object> object, Handle<String> name) { |
if (FLAG_strict || is_contextual()) { |
return ReferenceError("not_defined", name); |
} |
- String* class_name = object->IsJSObject() |
- ? Handle<JSObject>::cast(object)->class_name() |
- : Heap::empty_string(); |
- LOG(SuspectReadEvent(*name, class_name)); |
- USE(class_name); |
+ LOG(SuspectReadEvent(*name, *object)); |
} |
// Update inline cache and stub cache. |