Chromium Code Reviews| Index: runtime/vm/runtime_entry_test.cc |
| =================================================================== |
| --- runtime/vm/runtime_entry_test.cc (revision 4655) |
| +++ runtime/vm/runtime_entry_test.cc (working copy) |
| @@ -27,7 +27,7 @@ |
| function.SetCode(code); |
| CodeIndexTable* code_index_table = Isolate::Current()->code_index_table(); |
| ASSERT(code_index_table != NULL); |
| - code_index_table->AddFunction(function); |
| + code_index_table->AddCode(code); |
| return function; |
| } |