Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 5c404bb9523036b5060bcd29df9ec5ef04a47b86..cbc88dde8a6ac17aa9ba590a8de716d3cafd6d58 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -1610,7 +1610,12 @@ void Logger::LogCodeObject(Object* object) { |
case Code::FUNCTION: |
case Code::OPTIMIZED_FUNCTION: |
return; // We log this later using LogCompiledFunctions. |
- case Code::BINARY_OP_IC: // fall through |
+ case Code::BINARY_OP_IC: { |
+ BinaryOpStub stub(code_object->extended_extra_ic_state()); |
+ description = stub.GetName().Detach(); |
+ tag = Logger::STUB_TAG; |
+ break; |
+ } |
case Code::COMPARE_IC: // fall through |
case Code::COMPARE_NIL_IC: // fall through |
case Code::TO_BOOLEAN_IC: // fall through |