Index: runtime/vm/compiler_test.cc |
=================================================================== |
--- runtime/vm/compiler_test.cc (revision 40711) |
+++ runtime/vm/compiler_test.cc (working copy) |
@@ -98,15 +98,15 @@ |
stub_code->GetAllocationStubForClass(cls)); |
Class& owner = Class::Handle(); |
owner ^= stub.owner(); |
- owner.SwitchAllocationStub(); |
+ owner.DisableAllocationStub(); |
result = Dart_Invoke(lib, NewString("main"), 0, NULL); |
EXPECT_VALID(result); |
- owner.SwitchAllocationStub(); |
+ owner.DisableAllocationStub(); |
result = Dart_Invoke(lib, NewString("main"), 0, NULL); |
EXPECT_VALID(result); |
- owner.SwitchAllocationStub(); |
+ owner.DisableAllocationStub(); |
result = Dart_Invoke(lib, NewString("main"), 0, NULL); |
EXPECT_VALID(result); |