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

Unified Diff: runtime/vm/object_test.cc

Issue 619903002: Generalize bounds checks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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_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());
}

Powered by Google App Engine
This is Rietveld 408576698