Index: runtime/vm/stack_frame.cc |
=================================================================== |
--- runtime/vm/stack_frame.cc (revision 4655) |
+++ runtime/vm/stack_frame.cc (working copy) |
@@ -48,7 +48,7 @@ |
ASSERT(Isolate::Current() != NULL); |
CodeIndexTable* code_index_table = Isolate::Current()->code_index_table(); |
ASSERT(code_index_table != NULL); |
- return code_index_table->LookupFunction(pc()); |
+ return Code::Handle(code_index_table->LookupCode(pc())).function(); |
} |
@@ -97,7 +97,7 @@ |
ASSERT(Isolate::Current() != NULL); |
CodeIndexTable* code_index_table = Isolate::Current()->code_index_table(); |
ASSERT(code_index_table != NULL); |
- return code_index_table->LookupFunction(pc()) == Function::null(); |
+ return Code::Handle(code_index_table->LookupCode(pc())).IsNull(); |
} |