Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 9faf98743e6d331cc60075ad09d2b0b306c006fc..52bca0043703832b17af3c012939c16e6e92031a 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -5174,6 +5174,11 @@ void PatchClass::set_script(const Script& value) const { |
} |
+intptr_t Function::Hash() const { |
+ return String::HashRawSymbol(name()); |
+} |
+ |
+ |
bool Function::HasBreakpoint() const { |
if (!FLAG_support_debugger) { |
return false; |