Index: runtime/vm/object_test.cc |
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc |
index 9f35ba0202818abc55d9f7afda74464befc5bff7..82efd99401da67a3981eddd91b641270e15cfa6d 100644 |
--- a/runtime/vm/object_test.cc |
+++ b/runtime/vm/object_test.cc |
@@ -4067,14 +4067,14 @@ TEST_CASE(FunctionWithBreakpointNotInlined) { |
vmlib.LookupClass(String::Handle(Symbols::New("A")))); |
const Function& func_b = |
Function::Handle(GetFunction(class_a, "b")); |
- EXPECT(func_b.IsInlineable()); |
+ EXPECT(func_b.CanBeInlined()); |
// After setting a breakpoint in a function A.b, it is no longer inlineable. |
SourceBreakpoint* bpt = |
Isolate::Current()->debugger()->SetBreakpointAtLine(name, |
kBreakpointLine); |
ASSERT(bpt != NULL); |
- EXPECT(!func_b.IsInlineable()); |
+ EXPECT(!func_b.CanBeInlined()); |
} |