Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 92555b913688fe00cc61f1e4eae3d2fd7ac84307..0f36bfb8b30c86a0994270f954ad6b069648fb90 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 |