| Index: runtime/vm/compiler.cc
|
| ===================================================================
|
| --- runtime/vm/compiler.cc (revision 34642)
|
| +++ runtime/vm/compiler.cc (working copy)
|
| @@ -566,7 +566,7 @@
|
| Code::Handle(function.unoptimized_code()).EntryPoint());
|
| }
|
| }
|
| - function.SetCode(code);
|
| + function.AttachCode(code);
|
|
|
| for (intptr_t i = 0;
|
| i < flow_graph->guarded_fields()->length();
|
| @@ -576,7 +576,7 @@
|
| }
|
| } else {
|
| function.set_unoptimized_code(code);
|
| - function.SetCode(code);
|
| + function.AttachCode(code);
|
| ASSERT(CodePatcher::CodeIsPatchable(code));
|
| }
|
| if (parsed_function->HasDeferredPrefixes()) {
|
|
|