Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Unified Diff: runtime/vm/object.cc

Issue 2793163002: Do not embed is_auto_setup_scope into the compilation of native calls. (Closed)
Patch Set: . Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() &&

Powered by Google App Engine
This is Rietveld 408576698