Index: src/runtime/runtime.cc |
diff --git a/src/runtime/runtime.cc b/src/runtime/runtime.cc |
index 837f689c223d88d71e84316aff6a8668ccac2638..0860e96f7aae495dd3aa6ca2fc75bd197fb3da38 100644 |
--- a/src/runtime/runtime.cc |
+++ b/src/runtime/runtime.cc |
@@ -3318,5 +3318,11 @@ const Runtime::Function* Runtime::FunctionForEntry(Address entry) { |
const Runtime::Function* Runtime::FunctionForId(Runtime::FunctionId id) { |
return &(kIntrinsicFunctions[static_cast<int>(id)]); |
} |
+ |
+ |
+std::ostream& operator<<(std::ostream& os, Runtime::FunctionId id) { |
+ return os << Runtime::FunctionForId(id)->name; |
} |
-} // namespace v8::internal |
+ |
+} // namespace internal |
+} // namespace v8 |