Revert accidental change introduced in 000e188570.
Test: make test-art-host
Bug: 30550796
Change-Id: I1f4c7e4c2f6778b28d52bc3be419810d21d9378e
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 86464ab..77ec238 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -316,8 +316,7 @@
}
bool IsMethodHandlesEnabled() const {
- // return experimental_flags_ & ExperimentalFlags::kMethodHandles;
- return true;
+ return experimental_flags_ & ExperimentalFlags::kMethodHandles;
}
void DisallowNewSystemWeaks() REQUIRES_SHARED(Locks::mutator_lock_);