Version 2.11.0-217.0.dev
Merge commit 'd97dd024e5dfbf8fc0dcd59649ab9d287b7091b2' into 'dev'
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index bbbca69..d0de747 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -3038,20 +3038,6 @@
}
}
-void Class::RemoveFunction(const Function& function) const {
- ASSERT(Thread::Current()->IsMutatorThread());
- const Array& arr = Array::Handle(functions());
- StorePointer(&raw_ptr()->functions_, Object::empty_array().raw());
- StorePointer(&raw_ptr()->functions_hash_table_, Array::null());
- Function& entry = Function::Handle();
- for (intptr_t i = 0; i < arr.Length(); i++) {
- entry ^= arr.At(i);
- if (function.raw() != entry.raw()) {
- AddFunction(entry);
- }
- }
-}
-
FunctionPtr Class::FunctionFromIndex(intptr_t idx) const {
const Array& funcs = Array::Handle(functions());
if ((idx < 0) || (idx >= funcs.Length())) {
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 230312a..0fb457d 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -1295,7 +1295,6 @@
ArrayPtr functions() const { return raw_ptr()->functions_; }
void SetFunctions(const Array& value) const;
void AddFunction(const Function& function) const;
- void RemoveFunction(const Function& function) const;
FunctionPtr FunctionFromIndex(intptr_t idx) const;
intptr_t FindImplicitClosureFunctionIndex(const Function& needle) const;
FunctionPtr ImplicitClosureFunctionFromIndex(intptr_t idx) const;
diff --git a/tools/VERSION b/tools/VERSION
index 8436a26..b70f91b 100644
--- a/tools/VERSION
+++ b/tools/VERSION
@@ -27,5 +27,5 @@
MAJOR 2
MINOR 11
PATCH 0
-PRERELEASE 216
+PRERELEASE 217
PRERELEASE_PATCH 0
\ No newline at end of file