Chromium Code Reviews| Index: runtime/vm/runtime_entry_test.cc |
| =================================================================== |
| --- runtime/vm/runtime_entry_test.cc (revision 34118) |
| +++ runtime/vm/runtime_entry_test.cc (working copy) |
| @@ -26,7 +26,7 @@ |
| owner_class.SetFunctions(functions); |
| Library& lib = Library::Handle(Library::CoreLibrary()); |
| lib.AddClass(owner_class); |
| - function.SetCode(code); |
| + function.AttachCode(code); |
| return function; |
| } |