Revert "Force OSR compilation on all compilations."
Change was temporary.
This reverts commit c2176669b4c8ee7622609d07ccca0524e6628471.
Change-Id: Iaa039c166827da983f757acc168e0c0f49daec4e
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc
index 768a6bf..4d846fa 100644
--- a/compiler/optimizing/inliner.cc
+++ b/compiler/optimizing/inliner.cc
@@ -171,8 +171,8 @@
// Tests prevent inlining by having $noinline$ in their method names.
if (callee_name.find("$noinline$") == std::string::npos) {
if (!TryInline(call)) {
-// bool should_have_inlined = (callee_name.find("$inline$") != std::string::npos);
-// CHECK(!should_have_inlined) << "Could not inline " << callee_name;
+ bool should_have_inlined = (callee_name.find("$inline$") != std::string::npos);
+ CHECK(!should_have_inlined) << "Could not inline " << callee_name;
}
}
} else {