Index: runtime/vm/unit_test.cc |
=================================================================== |
--- runtime/vm/unit_test.cc (revision 4655) |
+++ runtime/vm/unit_test.cc (working copy) |
@@ -175,7 +175,7 @@ |
function_.SetCode(code); |
CodeIndexTable* code_index_table = isolate->code_index_table(); |
ASSERT(code_index_table != NULL); |
- code_index_table->AddFunction(function_); |
+ code_index_table->AddCode(code); |
retval = true; |
} else { |
retval = false; |