Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 799e76b9bd813703bbc5eae0d170775dc426e3c2..3eca45aabd6929eadf2dfcb18d73aa7fee15d542 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -6090,11 +6090,6 @@ bool Function::IsOptimizable() const { |
} |
-bool Function::IsNativeAutoSetupScope() const { |
- return is_native() ? is_optimizable() : false; |
-} |
- |
- |
void Function::SetIsOptimizable(bool value) const { |
ASSERT(!is_native()); |
set_is_optimizable(value); |
@@ -6105,12 +6100,6 @@ void Function::SetIsOptimizable(bool value) const { |
} |
-void Function::SetIsNativeAutoSetupScope(bool value) const { |
- ASSERT(is_native()); |
- set_is_optimizable(value); |
-} |
- |
- |
bool Function::CanBeInlined() const { |
Thread* thread = Thread::Current(); |
return is_inlinable() && !is_external() && !is_generated_body() && |